Computer ForumsComputers  

Go Back   Computer Forums > Programmers Lounge > Programming Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 09-09-2005, 02:57 AM   #1 (permalink)
Stiks
Newb Techie
 
Join Date: Sep 2005
Posts: 17
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, 07:49 AM   #2 (permalink)
gab00n
Super Techie
 
Join Date: Jan 2005
Posts: 295
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, 12:46 PM   #3 (permalink)
yeohhs
Newb Techie
 
Join Date: Apr 2005
Posts: 12
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, 01:31 PM   #4 (permalink)
Stiks
Newb Techie
 
Join Date: Sep 2005
Posts: 17
Default

Cool thanks man.
Stiks is offline   Reply With Quote
Old 09-11-2005, 02:49 AM   #5 (permalink)
furtivefelon
Super Techie
 
Join Date: May 2005
Posts: 479
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



All times are GMT. The time now is 03:24 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8