pythonic pythonic - 3 months ago 21
C++ Question

How do I compile C++ with clang

I have installed clang by using apt-get in ubuntu and I can successfully compile C files using it. However, I have no idea how to compile C++ through it. What do I need to do to compile C++?

adl adl
Answer

The command clang is for C, and the command clang++ is for C++.

Comments