There is a easy method to bulid "C" & "C ++ " programming:
There are three methods to bulid "C" & "C++" programming in RHL 9.0 & FC .by using GNOME desktop & another in KDE .
There are mainly two editor in GNOME , viz. vi- editor & another is emacs editor.I will discuss both here.
using VI-editor:
1. open terminal .
2. type for C programming
vi <filename>.c
for C++
vi <filename>.cpp
e.g:
vi hello.c { for C}
vi hello. cpp { for C++}
3. then type " i" ( i= insert)
4. then write source code . for details www.howstuffworks.com how to works "C" programming?
5. then press
esc : wq
it is save now.
6. now for comile the programme type,
cc <filename>
7. then for execute type
(dot)/a.out ( dot = . )
8. then it will see your screen.
USING EMACS EDITOR:
1.type emacs<file name> on terminal.
3. then type " i" ( i= insert)
4. then write source code . for details www.howstuffworks.com how to works "C" programming?
5. then press
esc : wq
it is save now.
6. now for comile the programme type,
cc <filename>
7. then for execute type
(dot)/a.out ( dot = . )
8. then it will see your screen.
USING KWRITE IN ( GNOME OR KDE DESKTOP)
1. Open terminal & type kwrite
2. then write source code
3. then click file .
4. then clck save as
5. save the file wtth extension .c/.cpp
now for comile the programme type,
cc <filename>
7. then for execute type
(dot)/a.out ( dot = . )
I hope it will helpful .
If you face any diffuculty u can email me
partha_26786794123@yahoo.com , ( for alert reply here)
partha