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 |
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 |
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.
|
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 |
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.
|
reading man pages is an art, tutorials are usually better. . .
|
All times are GMT -5. The time now is 07:30 AM. |