pythonic pythonic - 1 year ago 140
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 Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download