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
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
Use g++
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.