Quote:
Originally Posted by Rabia
Hey i am new wibe here and for the very first time using the linux operating system (Fedora core 2).
i wanted to know where should we type our source code and wiv which extension we have to sav em in which directory and also tell me how to install the gcc compiler and the compiling executing commands too.
|
You type your source code into a text editor and the extension is irrelevent.
It is traditional to save C code with a .c extension and C++ code with a .cpp extension. There is no special extension for executables.
The gcc compiler comes with the fedora core 2 DVD.
Some tips to help you get better responces:
1. You have already been told about upgrading your OS to something recent. If you like fedora - suggest fedora 9 or 10 (when it is out). What you are using is equivalent to using (I'm guessing) Win95. There is no support for it.
See.
www.fedorafaq.org
2. Please edit your profile to show your location (and distro - saves typing) as this helps us give you better replies.
See.
http://www.linuxquestions.org/questi...do=editprofile
3. Please write properly. People who deliberately write sloppily as you have are often sloppy in other ways as well. You don't want to be confused wih those people.
See.
http://www.catb.org/~esr/faqs/smart-...html#writewell
4. The operating system is called GNU - Linux is one of it's kernels. "fedora" is the brand name of the distribution. Most of us get into sloppy habits and forget that newcomers don't always realize these distinctions.
See.
http://www.gnu.org/gnu/why-gnu-linux.html
Don't worry - we were all new once.