• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 22:09
CET 04:09
KST 12:09
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Behind the Blue - Team Liquid History Book1Clem wins HomeStory Cup 287HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info3herO wins SC2 All-Star Invitational14
Community News
Weekly Cups (Jan 26-Feb 1): herO, Clem, ByuN, Classic win2RSL Season 4 announced for March-April7Weekly Cups (Jan 19-25): Bunny, Trigger, MaxPax win3Weekly Cups (Jan 12-18): herO, MaxPax, Solar win0BSL Season 2025 - Full Overview and Conclusion8
StarCraft 2
General
Behind the Blue - Team Liquid History Book Clem wins HomeStory Cup 28 How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? HomeStory Cup 28 - Info & Preview Stellar Fest "01" Jersey Charity Auction
Tourneys
HomeStory Cup 28 $5,000 WardiTV Winter Championship 2026 RSL Season 4 announced for March-April PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) StarCraft Evolution League (SC Evo Biweekly)
Strategy
Custom Maps
[A] Starcraft Sound Mod
External Content
Mutation # 511 Temple of Rebirth The PondCast: SC2 News & Results Mutation # 510 Safety Violation Mutation # 509 Doomsday Report
Brood War
General
[ASL21] Potential Map Candidates Gypsy to Korea StarCraft player reflex TE scores Can someone share very abbreviated BW cliffnotes? 2024 BoxeR's birthday message
Tourneys
[Megathread] Daily Proleagues Escore Tournament StarCraft Season 1 Small VOD Thread 2.0 KCM Race Survival 2026 Season 1
Strategy
Zealot bombing is no longer popular? Simple Questions, Simple Answers Current Meta Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Opel 1.7 DTI Y17DT Engine Diablo 2 thread Battle Aces/David Kim RTS Megathread EVE Corporation Nintendo Switch Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread YouTube Thread The Games Industry And ATVI Things Aren’t Peaceful in Palestine
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
Play, Watch, Drink: Esports …
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1324 users

C programming in windows

Blogs > deconduo
Post a Reply
Normal
deconduo
Profile Blog Joined January 2008
Ireland4122 Posts
April 29 2009 15:20 GMT
#1
So as part of my course we have to learn some C, and do some basic programs in them (Minimisation problems, non-linear pendulum and other maths/physics stuff) So thats grand when I'm in college because I can work away with the linux thats installed on the computers. However I just have plain old windows on my laptop at home, and I've no idea what the best software to compile/run my programs is. Any suggestions?

Thanks in advance.

Jyvblamo
Profile Blog Joined June 2006
Canada13788 Posts
April 29 2009 15:26 GMT
#2
Try running gcc with cygwin.
freelander
Profile Blog Joined December 2004
Hungary4707 Posts
April 29 2009 15:28 GMT
#3
or codeblocs maybe ?
And all is illuminated.
fusionsdf
Profile Blog Joined June 2006
Canada15390 Posts
April 29 2009 15:33 GMT
#4
On April 30 2009 00:26 Jyvblamo wrote:
Try running gcc with cygwin.


yeah that should work. Also some colleges have a linux server set up for you to telnet to. Make sure thats not what you are expected to do (but if you've been to every class and they havent mentioned it, thats probably not the case)
SKT_Best: "I actually chose Protoss because it was so hard for me to defeat Protoss as a Terran. When I first started Brood War, my main race was Terran."
pachi
Profile Joined October 2006
Melbourne5338 Posts
April 29 2009 15:33 GMT
#5
also check if your college has the option to putty in and use their computers or something
Moderatorpachi fanclub http://goto.tl/6DI9 。◕‿◕。
Jin
Profile Blog Joined March 2003
Canada439 Posts
Last Edited: 2009-04-29 15:39:31
April 29 2009 15:38 GMT
#6
if you can't ssh/telnet to a school machine, try cygwin + mingw

u can also use a virtual machine
such as vmware workstation + linux
^-^v
Navane
Profile Blog Joined February 2007
Netherlands2749 Posts
April 29 2009 15:43 GMT
#7
Or if you want to work locally on windows: borland has a free commandline compiler.

http://www.wikihow.com/Set-up-Borland's-Free-C-Compiler-for-Windows
Myrmidon
Profile Blog Joined December 2004
United States9452 Posts
April 29 2009 15:51 GMT
#8
I wouldn't recommend setting up Cygwin/MinGW or a Windows compiler or IDE for this one class unless you absolutely have to. By far the best bet is to remotely use a school computer, since you're already familiar with working on those. Also, what with the slightly different versions of C and C compilers on various machines, you won't run into possible compatibility issues (shouldn't happen, but who knows...) compiling on your setup as opposed to the school's setup.
deconduo
Profile Blog Joined January 2008
Ireland4122 Posts
April 29 2009 15:58 GMT
#9
On April 30 2009 00:26 Jyvblamo wrote:
Try running gcc with cygwin.

I had a look at that, seems to be a good idea. I'm downloading cygwin now and that seems easy enough. Had a look at the gcc download stuff and I'm completely lost. Keep in mind I'm only competent with windows stuff, so anything outside of setup.exe is way over my head. Any advice on what exactly I need to do to get it running would be great

On April 30 2009 00:51 Myrmidon wrote:
I wouldn't recommend setting up Cygwin/MinGW or a Windows compiler or IDE for this one class unless you absolutely have to. By far the best bet is to remotely use a school computer, since you're already familiar with working on those. Also, what with the slightly different versions of C and C compilers on various machines, you won't run into possible compatibility issues (shouldn't happen, but who knows...) compiling on your setup as opposed to the school's setup.

Remotely connecting isn't an option unfortunately. The computers we're doing the labs on are separate from the rest of the college system. Can't even access external web pages from them. Also I'll be doing a lot more C next year, so I might as well have stuff working on my laptop now rather than later.
GHOSTCLAW
Profile Blog Joined February 2008
United States17042 Posts
April 29 2009 16:03 GMT
#10
if you're going to get serious about it, i think that linux is going to be the way to go. You can dual boot, so that you don't need to give up windows at all, and then you can use linux as your coding environment. If you don't want to learn as much, and just want to get your school assignments done, then I wouldn't suggest installing linux.
PhotographerLiquipedia. Drop me a pm if you've got questions/need help.
Murkyith14
Profile Joined January 2008
United States111 Posts
April 29 2009 16:14 GMT
#11
For windows, download the free version of Visual Studio from the Microsoft website. I use it for C++, it's pretty nice, and you can set it up to use C instead I'm pretty sure.

http://www.microsoft.com/express/vc/
pheer
Profile Blog Joined July 2004
5396 Posts
April 29 2009 16:41 GMT
#12
I have no idea what everyone in this thread is thinking, but Dev C++ is the easiest program to get the standard C compiler up and running without having to install cygwin yourself, or jump through a bunch of hoops messing with environment variables.

Also it's not a bloated microsoft piece of crap.

If you just need to work on source code, Dev C++ is good for C.
However if you need to COMPILE AND SEND your program to use in real environments, go with one of the other options above, because Dev C++ will not include the proper libraries to run the compiled binary file outside the Dev C++ environment.
Moderator
unknown.sam
Profile Joined May 2007
Philippines2701 Posts
April 29 2009 16:41 GMT
#13
well if you wanna go with heavy duty software you could always download visual studio...but that might take a while so you might wanna give this a go:

Dev-C
very lite software and easy to use. i used it back in college as a substitute for linux C
"Thanks for the kind words, but if SS is the most interesting book you've ever read, you must have just started reading a couple of weeks ago." - Mark Rippetoe
CTStalker
Profile Blog Joined November 2004
Canada9720 Posts
April 29 2009 17:18 GMT
#14
eclipse with cdt. you're good to go
By the way, my name is Funk. I am not of your world
b3h47pte
Profile Blog Joined May 2007
United States1317 Posts
April 29 2009 18:09 GMT
#15
On April 30 2009 01:41 pheer wrote:
I have no idea what everyone in this thread is thinking, but Dev C++ is the easiest program to get the standard C compiler up and running without having to install cygwin yourself, or jump through a bunch of hoops messing with environment variables.

Also it's not a bloated microsoft piece of crap.

If you just need to work on source code, Dev C++ is good for C.
However if you need to COMPILE AND SEND your program to use in real environments, go with one of the other options above, because Dev C++ will not include the proper libraries to run the compiled binary file outside the Dev C++ environment.


Bloated? You mean like 'bloated' because of the couple hundred megabytes of .NET and MSDN and what not? I don't think that can be considered 'bloated' beacause those are actually useful features one can use...

If you're just going to do some small apps then just use Dev C++ or some other small IDE that won't take you far.

However if you decide to further professionaly, I would recommend Visual Studios. Taking an hour or two to learn a more 'complex' IDE is well worth it in the long run.
imDerek
Profile Blog Joined August 2007
United States1944 Posts
April 29 2009 18:38 GMT
#16
2nding cygwin + gcc
Least favorite progamers: Leta, Zero, Mind, Shine, free, really <-- newly added
DeathSpank
Profile Blog Joined February 2009
United States1029 Posts
April 29 2009 18:45 GMT
#17
any compiler + dos editor=win
yes.
deconduo
Profile Blog Joined January 2008
Ireland4122 Posts
April 29 2009 19:01 GMT
#18
I got cygwin and gcc working, thanks guys. Its pretty much what I wanted as gcc is what we use in college anyway. Thanks for the help.
Cambium
Profile Blog Joined June 2004
United States16368 Posts
April 29 2009 21:51 GMT
#19
if you use putty a lot, consider this:

http://lifehacker.com/5195999/portable-ubuntu-runs-ubuntu-inside-windows
When you want something, all the universe conspires in helping you to achieve it.
GHOSTCLAW
Profile Blog Joined February 2008
United States17042 Posts
April 29 2009 22:20 GMT
#20
On April 30 2009 06:51 Cambium wrote:
if you use putty a lot, consider this:

http://lifehacker.com/5195999/portable-ubuntu-runs-ubuntu-inside-windows


it's kind of slow compared to native ubuntu...but i guess I kind of expected it to be slow anyway.
PhotographerLiquipedia. Drop me a pm if you've got questions/need help.
omgbnetsux
Profile Blog Joined April 2004
United States3749 Posts
April 30 2009 03:43 GMT
#21
On April 30 2009 00:26 Jyvblamo wrote:
Try running gcc with cygwin.

This is how I code my C without *nix shell access. Cygwin is just nice to have on a Windows machine anyways (I cannot survive without tab completion).
Normal
Please log in or register to reply.
Live Events Refresh
Replay Cast
00:00
PiGosaur Cup #63
CranKy Ducklings139
Liquipedia
The PiG Daily
20:50
Best Games
Maru vs Solar
Reynor vs TriGGeR
herO vs Solar
Clem vs TriGGeR
Maru vs TBD
PiGStarcraft606
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft606
RuFF_SC2 179
NeuroSwarm 126
Nina 77
PiLiPiLi 2
StarCraft: Brood War
Shuttle 216
NaDa 65
Hyuk 40
Icarus 9
Dota 2
monkeys_forever386
League of Legends
C9.Mang0408
Counter-Strike
m0e_tv475
Foxcn241
Super Smash Bros
hungrybox452
Mew2King100
Other Games
tarik_tv9533
summit1g7266
JimRising 679
ViBE138
Maynarde129
WinterStarcraft106
KnowMe72
ZombieGrub24
Organizations
Other Games
gamesdonequick1984
BasetradeTV118
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• davetesta58
• iHatsuTV 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• RayReign 28
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota22228
League of Legends
• Doublelift5047
• Scarra1843
Upcoming Events
RongYI Cup
7h 51m
herO vs Maru
Replay Cast
20h 51m
uThermal 2v2 Circuit
1d 8h
OSC
1d 20h
Replay Cast
2 days
Wardi Open
2 days
Monday Night Weeklies
2 days
Sparkling Tuna Cup
3 days
The PondCast
5 days
Liquipedia Results

Completed

Acropolis #4 - TS4
HSC XXVIII
Underdog Cup #3

Ongoing

CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
Rongyi Cup S3
Nations Cup 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8

Upcoming

Escore Tournament S1: W8
Acropolis #4
IPSL Spring 2026
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
WardiTV Winter 2026
LiuLi Cup: 2025 Grand Finals
FISSURE Playground #3
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.