Sign In
New User? Register
linux_chandigarh · Linux_Chandigarh_Chapter
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
You can search the group for older messages.

Messages

  Messages Help
Advanced
LINUXFor You   Message List  
Reply | Forward Message #95 of 927 |
Re: Compiling a C program

Hi there..
Before I write the solution to your problem, please note a few points.

Its better to start your own thread rather than starting from middle
of some other threads.

Also its advisable to give the thread a suitable subject title (such
as "How to compile a C program?" rather than a more general "Help"

Normally on a LUG one does not ask a particular person a problem but
rather submits it to the whole group . Looking at your mail..only
himanshu should be replying to it..but anyways here i am..
--------------------------------------------------------------------------

Solution

Suppose your file name is "abc.c"

then give command: "cc abc.c"

if no error is found then a file "a.out" will be created in the directory..
to execute it simly give the command: "./a.out"

That it..

Hitesh Gupta

> mail
>
> hi Himanshu,
>
> I do not know how to compile and run C, c++ programs on
>
> Linux. Pls mail me how can I compile and run C,C++ programs on Linux.
>
> Pls mail all the step by step method as I am a beginner.



Fri Nov 5, 2004 4:49 pm

mercurytoocool
Offline Offline
Send Email Send Email

Forward
Message #95 of 927 |
Expand Messages Author Sort by Date

[Commercial] Dear Linux enthusiasts, LINUXForYou: The Complete Magazine on Open Source. LINUXForYou's November issue is now on stands, it has a lot of content...
Niraj Sahay
teamlfy
Offline Send Email
Nov 3, 2004
11:54 am

Hi! Why dont you think about distributing a version that is totally dedicated to the developers. Thanks Regards --Hmanshu ... From: "Niraj Sahay"...
Himanshu Chauhan
digitalsecure
Offline Send Email
Nov 5, 2004
8:57 am

Himanshu Chauhan <digitalsecure@...> wrote:Hi! Why dont you think about distributing a version that is totally dedicated to the developers. Thanks ...
Yashpal Jain
mca_yash
Offline Send Email
Nov 5, 2004
1:29 pm

Hi there.. Before I write the solution to your problem, please note a few points. Its better to start your own thread rather than starting from middle of some...
Hitesh Gupta
mercurytoocool
Offline Send Email
Nov 5, 2004
5:16 pm

Hi! I was also prompted to say same thing that Hitesh already did. But with very well said about posting by Hitesh, I dont need to do so. As per your question,...
Himanshu Chauhan
digitalsecure
Offline Send Email
Nov 6, 2004
2:46 am

hello sir thanks for help ,sir i am just starting the linux,i install redhat enterprices sir suggest me which area i started linux i am fasiniated about...
Yashpal Jain
mca_yash
Offline Send Email
Nov 6, 2004
4:53 pm

Hi!! ... For kernel in-depths : Understanding the Linux Kernel by Cesati and Bovet. (This is about 2.4 tree, book about 2.6 series will be soon on the stands)....
Himanshu Chauhan
digitalsecure
Offline Send Email
Nov 7, 2004
4:45 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help