• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 10:37
CEST 16:37
KST 23:37
  • 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
[ASL21] Ro4 Preview: On Course0Code S Season 1 - RO8 Preview6[ASL21] Ro8 Preview Pt2: Progenitors8Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16
Community News
Maestros of The Game 2 announcement and schedule !7Weekly Cups (April 27-May 4): Clem takes triple0RSL Revival: Season 5 - Qualifiers and Main Event12Code S Season 1 (2026) - RO12 Results12026 GSL Season 1 Qualifiers25
StarCraft 2
General
Code S Season 1 - RO8 Preview Behind the Blue - Team Liquid History Book Weekly Cups (April 27-May 4): Clem takes triple Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Code S Season 1 (2026) - RO12 Results
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) Maestros of The Game 2 announcement and schedule ! GSL Code S Season 1 (2026) RSL Revival: Season 5 - Qualifiers and Main Event
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players
External Content
Mutation # 524 Death and Taxes The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base
Brood War
General
Quality of life changes in BW that you will like ? Why there arent any 256x256 pro maps? RepMastered™: replay sharing and analyzer site BGH Auto Balance -> http://bghmmr.eu/ [ASL21] Ro4 Preview: On Course
Tourneys
[ASL21] Ro8 Day 3 [Megathread] Daily Proleagues [ASL21] Ro8 Day 4 Escore Tournament StarCraft Season 2
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers Muta micro map competition What's the deal with APM & what's its true value
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread Daigo vs Menard Best of 10 OutLive 25 (RTS Game)
Dota 2
The Story of Wings Gaming
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread The Letting Off Steam Thread European Politico-economics QA Mega-thread UK Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
How EEG Data Can Predict Gam…
TrAiDoS
ramps on octagon
StaticNine
Funny Nicknames
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1876 users

C programming in windows

Blogs > deconduo
Post a Reply
1 2 Next All
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
Netherlands2751 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
5398 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.
1 2 Next All
Please log in or register to reply.
Live Events Refresh
WardiTV Invitational
12:00
Wardi Spring Cup
ByuN vs Rogue
Solar vs Ryung
Zoun vs Percival
Cure vs SHIN
WardiTV1279
IntoTheiNu 585
Ryung 314
TKL 302
IndyStarCraft 201
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Ryung 314
TKL 302
IndyStarCraft 201
Rex 166
Railgan 89
Vindicta 26
StarCraft: Brood War
EffOrt 1646
BeSt 779
ZerO 778
Mini 349
Rush 246
Mind 203
hero 196
Last 122
Pusan 66
Sea.KH 59
[ Show more ]
Nal_rA 55
ToSsGirL 46
Shinee 41
Movie 40
sorry 38
Rock 23
Shine 20
GoRush 16
IntoTheRainbow 15
yabsab 14
Noble 11
Dota 2
Gorgc6771
XcaliburYe148
monkeys_forever145
syndereN123
BananaSlamJamma105
Counter-Strike
fl0m1053
Heroes of the Storm
Khaldor338
Other Games
singsing2058
B2W.Neo1059
Liquid`RaSZi1051
Hui .238
KnowMe154
ArmadaUGS59
elazer42
ZerO(Twitch)24
Organizations
Counter-Strike
PGL40155
Other Games
gamesdonequick2887
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 16 non-featured ]
StarCraft 2
• Adnapsc2 30
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• FirePhoenix5
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis2098
• Jankos1863
• TFBlade987
Other Games
• WagamamaTV401
Upcoming Events
BSL
4h 24m
Dewalt vs DragOn
Aether vs Jimin
GSL
17h 24m
Afreeca Starleague
19h 24m
Soma vs Leta
Wardi Open
21h 24m
Monday Night Weeklies
1d 1h
OSC
1d 9h
CranKy Ducklings
1d 19h
Afreeca Starleague
1d 19h
Light vs Flash
Replay Cast
2 days
Replay Cast
3 days
[ Show More ]
The PondCast
3 days
Replay Cast
4 days
RSL Revival
4 days
Korean StarCraft League
5 days
RSL Revival
5 days
BSL
6 days
GSL
6 days
Cure vs TBD
TBD vs Maru
Liquipedia Results

Completed

Escore Tournament S2: W6
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
KK 2v2 League Season 1
BSL 22 Non-Korean Championship
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2

Upcoming

YSL S3
Escore Tournament S2: W7
Escore Tournament S2: W8
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
BLAST Bounty Summer 2026: Closed Qualifier
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 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.