PDA

View Full Version : Ajunta ~ Help. I can't learn to program without knowing how to compile&run .cc



medicineman24
May 26th, 2007, 05:49 AM
Ok so I have Ajunta IDE 1.2.4a. I have the simplest program (Hello World) in a .cc file. How do I make this executable?

ankursethi
May 26th, 2007, 06:47 AM
I don't know about how to do it from within the IDE (because I haven't used it) but to do it manually using the compiler from the command line, do :

gcc path/to/file.c -o output-file-name
Then, to execute the file :

./path/to/output-file

medicineman24
May 26th, 2007, 06:52 AM
Ok thanks. I guess I probably wont use ajunta right now. I'll use gedit and its shortcuts to compile and run.;)

samjh
May 26th, 2007, 07:14 AM
Ok thanks. I guess I probably wont use ajunta right now. I'll use gedit and its shortcuts to compile and run.;)Great choice, sir. :)