Go Back   Flash Flash Revolution > General Discussion > Technology
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
Old 10-12-2013, 07:02 PM   #1
DossarLX ODI
Batch Manager
Game Manager, Song Release Coordinator
Game ManagerSimfile JudgeFFR Simfile AuthorD7 Elite KeysmasherFFR Veteran
 
DossarLX ODI's Avatar
 
Join Date: Mar 2008
Location: USA
Age: 29
Posts: 14,860
Default 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
__________________
Quote:
Originally Posted by hi19hi19 View Post
oh boy, it's STIFF, I'll stretch before I sit down at the computer so not I'm not as STIFF next time I step a file
DossarLX ODI is offline   Reply With Quote
Old 10-12-2013, 07:03 PM   #2
Kibblre
Caelondia Represent
FFR Veteran
 
Kibblre's Avatar
 
Join Date: Jul 2004
Location: A place of hearts and ghosts
Age: 31
Posts: 1,984
Default Re: C Compiler

Visual C++ Express Edition compiles C I'm pretty sure.

Also, any reason you're using C?
__________________
Какой идиот придумал Бутерброд с дикобраза? Он хулиган и бездельник.
Kibblre is offline   Reply With Quote
Old 10-12-2013, 08:35 PM   #3
DossarLX ODI
Batch Manager
Game Manager, Song Release Coordinator
Game ManagerSimfile JudgeFFR Simfile AuthorD7 Elite KeysmasherFFR Veteran
 
DossarLX ODI's Avatar
 
Join Date: Mar 2008
Location: USA
Age: 29
Posts: 14,860
Default 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.
__________________
Quote:
Originally Posted by hi19hi19 View Post
oh boy, it's STIFF, I'll stretch before I sit down at the computer so not I'm not as STIFF next time I step a file
DossarLX ODI is offline   Reply With Quote
Old 10-12-2013, 09:00 PM   #4
Fission
no
Simfile JudgeFFR Simfile AuthorFFR Veteran
 
Fission's Avatar
 
Join Date: Jan 2004
Age: 33
Posts: 1,850
Default Re: C Compiler

Quote:
Originally Posted by DossarLX ODI View Post
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
use gcc from MinGW

Quote:
Originally Posted by DossarLX ODI View Post
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
you need to use makefiles when you are trying to compile multiple source files. each IDE uses their own brand of makefile, so they aren't compatible with each other if you use different IDEs.

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..
Fission is offline   Reply With Quote
Old 10-21-2013, 04:56 PM   #5
Zageron
Zageron E. Tazaterra
RRR Developer & DevOps Support
AdministratorDeveloperFFR Veteran
 
Zageron's Avatar
 
Join Date: Apr 2007
Location: BC
Age: 32
Posts: 6,586
Default Re: C Compiler

Have you figured this out yet Dossar?
Zageron is offline   Reply With Quote
Old 10-21-2013, 06:10 PM   #6
DossarLX ODI
Batch Manager
Game Manager, Song Release Coordinator
Game ManagerSimfile JudgeFFR Simfile AuthorD7 Elite KeysmasherFFR Veteran
 
DossarLX ODI's Avatar
 
Join Date: Mar 2008
Location: USA
Age: 29
Posts: 14,860
Default 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
__________________
Quote:
Originally Posted by hi19hi19 View Post
oh boy, it's STIFF, I'll stretch before I sit down at the computer so not I'm not as STIFF next time I step a file
DossarLX ODI is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 08:57 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution