10-12-2013, 07:02 PM | #1 |
Batch Manager
Game Manager, Song Release Coordinator
Join Date: Mar 2008
Location: USA
Age: 29
Posts: 14,860
|
C Compiler
Hey guys, I have MinGW but I can't seem to run a C project (by that I mean a folder with header files and c files), I can only compile one c file at a time and this causes problems with programs that require many header and c files.
Basically: - Is there a C compiler that's 1999 or later? I want to be able to use stdbool.h to be able to use the "bool" type - If any of you have used MinGW, how will I be able to run a program dependent on multiple header and c files? I can only run one .c file and I can't use any headers, there must be something that I don't know here |
10-12-2013, 07:03 PM | #2 |
Caelondia Represent
Join Date: Jul 2004
Location: A place of hearts and ghosts
Age: 31
Posts: 1,984
|
Re: C Compiler
Visual C++ Express Edition compiles C I'm pretty sure.
Also, any reason you're using C?
__________________
Какой идиот придумал Бутерброд с дикобраза? Он хулиган и бездельник. |
10-12-2013, 08:35 PM | #3 |
Batch Manager
Game Manager, Song Release Coordinator
Join Date: Mar 2008
Location: USA
Age: 29
Posts: 14,860
|
Re: C Compiler
It's for my programming class; my university starts with C, then moves on to C++ and Java.
Also I don't want to use visual basic; I would use NetBeans but it freaks out whenever I try building projects from my programming partner. He uses Linux and I user Windows so there are constant conflicts in trying to run our programs. |
10-12-2013, 09:00 PM | #4 | ||
no
Join Date: Jan 2004
Age: 33
Posts: 1,850
|
Re: C Compiler
Quote:
Quote:
your best bet would to be to use the same IDE or roll your own makefiles, but the latter option is most likely out of the scope of your ability, so just use the same IDE. EDIT: it's entirely possible to build an executable from multiple source files without makefiles by compiling each source to object files and then linking them into an executable, but that's really not something you want to be doing Last edited by Fission; 10-12-2013 at 09:12 PM.. |
||
10-21-2013, 04:56 PM | #5 |
Zageron E. Tazaterra
RRR Developer & DevOps Support
Join Date: Apr 2007
Location: BC
Age: 32
Posts: 6,586
|
Re: C Compiler
Have you figured this out yet Dossar?
|
10-21-2013, 06:10 PM | #6 |
Batch Manager
Game Manager, Song Release Coordinator
Join Date: Mar 2008
Location: USA
Age: 29
Posts: 14,860
|
Re: C Compiler
Yeah, my lab partner resolved the problem. He configured his repositories so now any changes I make to my code won't conflict with his operating system.
I can finally use NetBeans and compile/run a project with header files, thanks for asking |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|