Hello, i use gcc <file_name>.c to compile in C...using ubuntu. How i can compile in c++? thanks a lot...
This is a discussion on How to compile in C++? within the C++ Programming forums, part of the General Programming Boards category; Hello, i use gcc <file_name>.c to compile in C...using ubuntu. How i can compile in c++? thanks a lot......
Hello, i use gcc <file_name>.c to compile in C...using ubuntu. How i can compile in c++? thanks a lot...
Depends on your compiler/IDE. Any specific one you're using?
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
GNOME Terminal 2.29.6
more information?
That does not actually answer the question, but based on the context that you provided: use g++ instead of gcc. Also, change to a more C++ kind of file extension, e.g., .cpp.
C + C++ Compiler: MinGW port of GCC
Version Control System: Bazaar
Look up a C++ Reference and learn How To Ask Questions The Smart Way
That is not a compiler/IDE.
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
doesn' t working (g++)....what do you mean "IDE"...where can i find it?
SourceForge.net: Integrated Development Environment - cpwiki
Not working is not a very good error description. Too vague. Can't help you if you don't provide details.
What COMPILER or IDE are you using? If you get an error, what is the error?
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
Then install it.Originally Posted by brack
C + C++ Compiler: MinGW port of GCC
Version Control System: Bazaar
Look up a C++ Reference and learn How To Ask Questions The Smart Way
Done...thank you laserlight...
but do you know what is compiler/IDE ?