How to compile C files

Questions about programming languages and debugging
Post Reply
eppik
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 212
Joined: 26 Mar 2006, 16:00
18
Location: Infinite Loop
Contact:

How to compile C files

Post by eppik »

Lets say i got a file named whatever.c its a C script isnt it?

Now i was wondering how to compile it?

If this has been seen here already delete the post plz

alien100
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 693
Joined: 25 Sep 2006, 16:00
17
Location: Spartan HQ
Contact:

Post by alien100 »

dev-cpp best compiler I have it :lol:
[img]http://img127.imageshack.us/img127/9128/sig3copyyybq4.jpg[/img]

eppik
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 212
Joined: 26 Mar 2006, 16:00
18
Location: Infinite Loop
Contact:

Post by eppik »

How do i execute .c files after compiling? Do i need Drivers?

alien100
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 693
Joined: 25 Sep 2006, 16:00
17
Location: Spartan HQ
Contact:

Post by alien100 »

ones they are .exe your fine
[img]http://img127.imageshack.us/img127/9128/sig3copyyybq4.jpg[/img]

User avatar
floodhound2
∑lectronic counselor
∑lectronic counselor
Posts: 2117
Joined: 03 Sep 2006, 16:00
17
Location: 127.0.0.1
Contact:

Post by floodhound2 »

Usually you will need to execute the file in command terminal. Go to start and type command. In side the command terminal look for your compiled file and run it. Now if the compiled file is using windows library files to make a window then you might not have to run from command terminal.
₣£ΘΘĐĦΘŮŇĐ

User avatar
Gogeta70
^_^
^_^
Posts: 3275
Joined: 25 Jun 2005, 16:00
18

Post by Gogeta70 »

In dev-cpp, there's a button to compile it. Just hover over each button until you see "Compile".
¯\_(ツ)_/¯ It works on my machine...

Post Reply