Computer Forums

Search Tech-Forums.net

Member Login

Remember Me? Sign Up! | Forgot Password
 
 
Reply
Old 09-08-2005, 09:57 PM   #1 (permalink)
 
Newb Techie
Join Date: Sep 2005
Posts: 17
Stiks
Default Programming in C

I have started programming in C at my University; however, I have only used Linux to do it. I have written 2 simple programs, but I dont know how to run them in Windows. I feel stupid for asking this but I need to know.
Stiks is offline   Reply With Quote
Old 09-09-2005, 02:49 AM   #2 (permalink)
 
Super Techie
Join Date: Jan 2005
Posts: 295
gab00n
Default

Get a compiler, bloodshed.net has a good free one called dev-C++, it runs C code.
__________________
\"Today\'s scientists have substituted mathematics for experiments, and they wander off through equation after equation, and eventually build a structure which has no relation to reality.\" Nikola Tesla
gab00n is offline   Reply With Quote
Old 09-09-2005, 07:46 AM   #3 (permalink)
 
Newb Techie
Join Date: Apr 2005
Posts: 12
yeohhs
Send a message via Yahoo to yeohhs
Default Re: Programming in C

Quote:
Originally posted by Stiks
I have started programming in C at my University; however, I have only used Linux to do it. I have written 2 simple programs, but I dont know how to run them in Windows. I feel stupid for asking this but I need to know.
You might want to check out MinGW at http://www.mingw.org/

Quote:
MinGW: A collection of freely available and freely distributable Windows specific header files and import libraries combined with GNU toolsets that allow one to produce native Windows programs that do not rely on any 3rd-party C runtime DLLs.

MSYS: A Minimal SYStem to provide POSIX/Bourne configure scripts the ability to execute and create a Makefile used by make.
Coming from Linux, you will find it just as easy to compile and run Windows programs when you use msys.

Best Regards,
Yeoh
--
yeohhs is offline   Reply With Quote
Old 09-09-2005, 08:31 AM   #4 (permalink)
 
Newb Techie
Join Date: Sep 2005
Posts: 17
Stiks
Default

Cool thanks man.
Stiks is offline   Reply With Quote
Old 09-10-2005, 09:49 PM   #5 (permalink)
 
Super Techie
Join Date: May 2005
Posts: 479
furtivefelon
Default

huh? i thought GCC works with windows?
__________________
lisp hacker
running: FreeBSD 5.4 - still learning
develop with: SBCL + emacs for lisp, Anjuta IDE +gcc for c, SPE for python..
browse with: opera
furtivefelon is offline   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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On