PDA

View Full Version : Can gcc compile C++ programs?



DJKAOS
04-23-2001, 06:46 PM
Can I write c++ on linux? and compile it with gcc?
if so how?
I tried
gcc -o myprog myprog.cpp

but it doesn't seem to like .cpp

rts
04-23-2001, 10:15 PM
Use g++