The following CL command line specifies that TEST1.c, TEST2.cxx, TEST3.huh,
and TEST4.o are compiled as C++ files, and TEST5.z is compiled as a C file.
CL TEST1.C TEST2.CXX TEST3.HUH TEST4.O /Tc TEST5.Z /TPJust how to do this in
the dev env depends on version."AR John" <ar********@yahoo.com> wrote in
message news:c0**************************@posting.google.c om...
Hello everyone,
Can anybody help me how can I compile of my *.c files as c++? I see
that by default MS Visual Studio compiles the *.c files assuming C
source. How can I instruct the compiler to compile it as C++ source?
Thanks in advance
AR