Unix Technical Forum

programing c with fedora core 3

This is a discussion on programing c with fedora core 3 within the Linux Operating System forums, part of the Unix Operating Systems category; --> hi partners! i have fedora core 3 installed in my pc and i study language cso i need a ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 09:11 AM
leahcim
 
Posts: n/a
Default programing c with fedora core 3



hi partners!

i have fedora core 3 installed in my pc and i study language cso i need
a program to programing c in fedora core 3, does somebody could tell me
wich program can i use and how to install it?

thank you for helping me

thanks alot
michael

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 09:11 AM
Peter T. Breuer
 
Posts: n/a
Default Re: programing c with fedora core 3

leahcim <michaelandrade11@hotmail.com> wrote:
> i have fedora core 3 installed in my pc and i study language cso i need
> a program to programing c in fedora core 3, does somebody could tell me
> wich program can i use and how to install it?


Yess. It's very simple. To programming in c the program to program in c
to program in c with is the program that you to c in program with the
program to program in c with.

I study language too!

And what is it about your c compiler that does not work for you?

Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 09:11 AM
No_One
 
Posts: n/a
Default Re: programing c with fedora core 3

On 2005-08-04, leahcim <michaelandrade11@hotmail.com> wrote:
>
>
> hi partners!
>
> i have fedora core 3 installed in my pc and i study language cso i need
> a program to programing c in fedora core 3, does somebody could tell me
> wich program can i use and how to install it?
>
> thank you for helping me
>
> thanks alot
> michael
>


I'm assuming you want an ide like program, maybe kdevelop, also a console
program called motor, also others.....

go to google.com/linux/

run search

ide "c programming"

First hit has something about fedora 3 and c programming.

Should be able to find rpms for most programs or

just use a plain old text editor.

ken
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 09:11 AM
Bill Davidsen
 
Posts: n/a
Default Re: programing c with fedora core 3

leahcim wrote:
>
> hi partners!
>
> i have fedora core 3 installed in my pc and i study language cso i need
> a program to programing c in fedora core 3, does somebody could tell me
> wich program can i use and how to install it?


The C compiler is "cc"

Ex: cc -o foo myprog.c

Creates the file "foo" from source "myprog.c" without any special
options. Do a "man gcc" and look at the options, the one's you usually
use are -O (optimize), -o (define the output file), and maybe -g
(prepare to use the debugger on the program). That last is useful for
learning ;-)

--
bill davidsen
SBC/Prodigy Yorktown Heights NY data center
http://newsgroups.news.prodigy.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 09:11 AM
Jean-David Beyer
 
Posts: n/a
Default Re: programing c with fedora core 3

leahcim wrote:
>
> hi partners!
>
> i have fedora core 3 installed in my pc and i study language c
> so i need
> a program to programing c in fedora core 3,


If I understand you correctly, and I am not sure that I do, you need a text
editor of some kind (I prefer emacs, but many prefer vi or one of its
dialects) to enter your program. Normally you would call the file with the
program something.c . Then you compile and link-edit it with something like
gcc. This produces an executable program named a.out unless you arrange to
give it another name.

> does somebody could tell me
> wich program can i use and how to install it?


If you installed fedora core 3 in a normal way, you probably already have
the compilation system and development libraries. Try executing commands such as

whereis gcc vi grep

>
> thank you for helping me
>
> thanks alot
> michael
>



--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 17:25:00 up 50 days, 11:18, 3 users, load average: 1.46, 3.00, 3.63
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-18-2008, 09:11 AM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: programing c with fedora core 3


"Bill Davidsen" <davidsen@deathstar.prodigy.com> wrote in message
news:OauIe.1367$SE3.596@newssvr30.news.prodigy.com ...
> leahcim wrote:
>>
>> hi partners!
>>
>> i have fedora core 3 installed in my pc and i study language cso i need
>> a program to programing c in fedora core 3, does somebody could tell me
>> wich program can i use and how to install it?

>
> The C compiler is "cc"
>
> Ex: cc -o foo myprog.c
>
> Creates the file "foo" from source "myprog.c" without any special options.
> Do a "man gcc" and look at the options, the one's you usually use are -O
> (optimize), -o (define the output file), and maybe -g (prepare to use the
> debugger on the program). That last is useful for learning ;-)


And buy a copy of the Kernighan and Ritchie book on programming C to learn
how it's done. I'd also recommend getting a good book on "make", because
you're going to want to bundle this stuff up.

That default compiler name of "cc" is actually a link to "gcc", the GNU C
Compiler. It's freeware, completely open source, and is one of the most
popular and portable compilers in the world.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:52 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com