LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   C++ Linux Tutorials (https://www.linuxquestions.org/questions/programming-9/c-linux-tutorials-252585/)

percent20 11-08-2004 06:43 PM

C++ Linux Tutorials
 
Hello I am a fairly new to linux i can run it pretty good but i cant seem to do much on the programming side of things. In windows I can do it just fine. I was wondering if there are some good tutorials on using command line to wrote code and compile code for C++ not C. I have done several searchs on the site and cant seem to find the information that i need. Any help would be great.

Thanx
percent20

Tinkster 11-08-2004 07:46 PM

Well ... do you need to learn how to drive the compiler,
how to program C++ outside a windowed environment
or what? What have you used/done in Windows?


Cheers,
Tink

percent20 11-08-2004 10:57 PM

Well i have microsoft visual c++ for my programming things. But i was wanting to use emacs and compile from commandline useing gcc. I was wanting to see some tutorials on how to use gcc and compile c++ files while in command line cuz i am not useing x at all.

Tinkster 11-09-2004 02:32 AM

Have you read the man-page for gcc?
There isn't really much to it, for more complex
usage have a look at make-files of other projects.

The most basic use would be:
g++ <c++-file> -o <out-put-file>



Cheers,
Tink

percent20 11-09-2004 05:18 PM

thanks i feel stupid now i didnt look at the man page i usually do but dont really understand what it is saying so maybe that is why i didnt this time. Thanks again.

karlan 11-10-2004 12:22 AM

reading man pages is an art, tutorials are usually better. . .


All times are GMT -5. The time now is 07:30 AM.