Computing.Net > Forums > Programming > C++ programming in linux

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

C++ programming in linux

Reply to Message Icon

Name: MIKE
Date: November 9, 2002 at 15:38:33 Pacific
OS: LYCORIS LINUX
CPU/Ram: 256.1.5GH
Comment:

HELLO ROOM. I NEED SOME HELP HERE. I JUST INSTALLED LYCORIS LINUX AND I AM VERY NEW TO LINUX. I NEED TO KNOW HOW TO PROGRAM IN c++ AND WHAT COMPILER TO USE. HOW DO I ACCES THE BUILT IN COMPILER IN LINUX?SHOULD I GET AN OUTSIDE COMPILER? PLEASSE HELP... THANKS ALOT TO YOU ALL.




Sponsored Link
Ads by Google

Response Number 1
Name: Don Arnett
Date: November 9, 2002 at 15:56:02 Pacific
Reply:

Whatcha SHOUTING for???

When you installed, if you used the default installation or told it to install the 'development' packages, you probably have the GNU compilers.

gcc is for C and g++ is for C++

If you are used to compiling on UNIX systems, then gcc and g++ should work pretty much the same.

I would expect that you can do "man g++" to see some documentation.


0

Response Number 2
Name: MIKE
Date: November 9, 2002 at 16:30:48 Pacific
Reply:

Ive tried to invoke the g++ compiler in lycoris linux but nothing happens
it says command not found
im not even sure if its install


0

Response Number 3
Name: Jeff J
Date: November 9, 2002 at 17:08:27 Pacific
Reply:

I am not familiar with the Lycoris/Redmond distro, but if you cannot invoke gcc or 'locate gcc', then it seems likely the gnu stuff was not installed. If Lycoris is rpm or deb based, try invoking the relevant utility and add the development packages.


0

Response Number 4
Name: ZLY
Date: November 12, 2002 at 06:22:44 Pacific
Reply:

Greetings

As Don said g++ will work just fine, but if you like working in GUI enviroment I suggest you should try KDevelop, comes with most of linux distros, or Kylix which is Borland's C++ Builder for linux. Need to try it soon.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: C++ programming in linux

C# in Linux, DOS, or any others?? www.computing.net/answers/programming/c-in-linux-dos-or-any-others/11614.html

Starting C Programing... www.computing.net/answers/programming/starting-c-programing/10564.html

C++ programming in Linux using G++ www.computing.net/answers/programming/c-programming-in-linux-using-g/4470.html