attack rabbit
07-25-2001, 03:50 PM
heya! i was wondering if anybody could help me out. i just installed mandrake7.1 a few days ago...and in the install i saw that it installed all these compliers. where are they?! anybody know the command to compile? even better would be a GUI programming environment since im probably the newbiest programmer on this whole board.
well...thanks for your time!
:D
to compile a program, you can just type "g++ -o outfile_name filename.cpp" (for C++ use 'gcc' instead of 'g++' for C code)... once compiled, type ./outfile_name (the './' says the program is in '.', the current directory).
If you use KDE, you can use kdevelop, which should get installed w/ it, and is pretty cool (but YOU SHOULDN'T! YOU SHOULD USE VIM!! er.. excuse me.. sorry about that. There are a few tutorials for using vim in the NHF's section. It'll take a little (very little) effort on your part to learn it, but it'll be worthwhile. I suppose you could uh.. ahem.. uh, well, choose to learn emacs if you uh, really wanted to...)
If you have any more questions, just ask! :D