Question:
Gimp users or Computer Gurus. What do i do with C file .c?
?
2011-02-04 07:13:53 UTC
Heard of C++ but I didn't think I would ever see anything resembling it. Then again I don't even know what it looks like but anyways I have a regular file .c . What am i supposed to do with a .c file. Is it a plugin or a script or what exactly is it and how do i install it?. I'm used to dealing with .py .scm .gbr .abr and more but .c is a new one. HELP please .
Four answers:
Nathan F
2011-02-04 07:18:28 UTC
It's the actual c code. So in C there are header files ".h" that are basically lists of functions that are going to be defined in the .c file. SO you need both the .c and the .h file.



I'm not sure how you randomly ended up with a .c file... these things don't just pop out of thin air.



Anyway, there isn't just one button you can press for it to work- you have to invoke something called the gcc compiler.



Go here to get a better idea of how to use gcc.

http://www.cs.caltech.edu/courses/cs11/material/c/mike/misc/compiling_c.html
cosimo
2011-02-04 15:19:10 UTC
Normally a .c file is source code written in the C language. You would normally use a compiler to compile it in to object code (and possibly an exectuable).



Why do you have one and what are you trying to do with it?
anonymous
2011-02-04 16:03:32 UTC
.c file is c language program than enable us to write program to run program in c software



as you have .c file you have to install c language in your pc to run that file



http://search.brothersoft.com/?act=search.index&keyword=turbo+c&stype=windows&sug_q_pre=turbo&sug_q_sel=turbo+c



just go to that site and download c software i.e turbo c 3
anonymous
2011-02-04 15:20:27 UTC
could open it and read it

can sometimes compile

can cmake sometimes


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...