Programming Problem

Asked by ANIRUDDHA

I have installed 'Anjuta IDE' for C and C++ programming.But when i open it ,there come two available plugins-1)Scintilla Editor 2)GtkSourceView Editor. so what should i choose?..................
I had run the software choosing the 1st option and opened a new page to write the program.But the question is where should i save the program? i saved one in documents but it was showing an error in saving the program at compile time..
now what is its suggestion?
             PLEASE SUGGEST ME IN DETAIL.....

also tell me how could i be able to run a program in TERMINAL??

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu anjuta Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
amit (amit-ramjas) said :
#1

compiling program from command line:

hope you have gcc installed if not pop up the installation cd used to install ubuntu
and install -build essential package

navigate to folder containing the source files
now run

gcc (for c) or g++ for c++ as

gcc filename

this would make a.out (the executable) in the folder in which source file is present

now to run type

./a.out

this should solve your terminal related problem

please also refer to

http://www.linuxforums.org/forum/suse-linux-help/126813-compiling-simple-programs-gcc.html
this should help

Can you help with this problem?

Provide an answer of your own, or ask ANIRUDDHA for more information if necessary.

To post a message you must log in.