• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 08:54
CET 14:54
KST 22:54
  • 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
RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13
Community News
[TLMC] Fall/Winter 2025 Ladder Map Rotation13Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA8StarCraft, SC2, HotS, WC3, Returning to Blizzcon!45$5,000+ WardiTV 2025 Championship7
StarCraft 2
General
Zerg is losing its identity in StarCraft 2 [TLMC] Fall/Winter 2025 Ladder Map Rotation Mech is the composition that needs teleportation t RotterdaM "Serral is the GOAT, and it's not close" RSL Season 3 - RO16 Groups C & D Preview
Tourneys
RSL Revival: Season 3 Sparkling Tuna Cup - Weekly Open Tournament Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle BGH Auto Balance -> http://bghmmr.eu/ What happened to TvZ on Retro? SnOw's ASL S20 Finals Review BW General Discussion
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] RO32 Group D - Sunday 21:00 CET [BSL21] RO32 Group C - Saturday 21:00 CET
Strategy
PvZ map balance Current Meta Simple Questions, Simple Answers How to stay on top of macro?
Other Games
General Games
Clair Obscur - Expedition 33 Should offensive tower rushing be viable in RTS games? Path of Exile Stormgate/Frost Giant Megathread 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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread Artificial Intelligence Thread Canadian Politics Mega-thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Dyadica Gospel – a Pulp No…
Hildegard
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2239 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
5391 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
WardiTV Korean Royale
12:00
Group Stage 1 - Group A
WardiTV559
LiquipediaDiscussion
Kung Fu Cup
12:00
2025 Monthly #3: Day 5
Cure vs herOLIVE!
Reynor vs TBD
RotterdaM693
TKL 366
IndyStarCraft 269
SteadfastSC122
IntoTheiNu 43
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 617
TKL 352
Tasteless 324
Reynor 276
IndyStarCraft 269
Rex 147
SteadfastSC 113
Railgan 25
MindelVK 21
StarCraft: Brood War
Britney 36790
Rain 8932
Sea 4139
firebathero 4096
BeSt 1748
Horang2 1687
GuemChi 939
Soma 605
EffOrt 552
Stork 500
[ Show more ]
Mini 456
actioN 283
Rush 225
Killer 174
Last 146
Hyun 144
scan(afreeca) 136
hero 133
Bonyth 99
Mind 90
Barracks 61
Sharp 51
zelot 50
yabsab 49
Sea.KH 45
sorry 42
Snow 39
sas.Sziky 24
Shinee 18
Hm[arnc] 15
NaDa 8
Bale 6
Dota 2
singsing3070
qojqva1678
Dendi1083
Gorgc737
XcaliburYe301
Counter-Strike
byalli539
x6flipin531
Heroes of the Storm
Khaldor238
Liquid`Hasu193
Other Games
FrodaN4939
B2W.Neo1844
Pyrionflax359
Fuzer 256
KnowMe216
DeMusliM40
Organizations
Dota 2
PGL Dota 2 - Main Stream14873
PGL Dota 2 - Secondary Stream1808
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Adnapsc2 8
• Dystopia_ 6
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV606
• Ler66
Upcoming Events
BSL 21
6h 6m
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
6h 6m
Dewalt vs WolFix
eOnzErG vs Bonyth
Replay Cast
9h 6m
Wardi Open
22h 6m
Monday Night Weeklies
1d 3h
Replay Cast
1d 9h
WardiTV Korean Royale
1d 22h
BSL: GosuLeague
2 days
The PondCast
2 days
Replay Cast
3 days
[ Show More ]
RSL Revival
3 days
BSL: GosuLeague
4 days
RSL Revival
4 days
WardiTV Korean Royale
4 days
RSL Revival
5 days
WardiTV Korean Royale
5 days
IPSL
6 days
Julia vs Artosis
JDConan vs DragOn
RSL Revival
6 days
Liquipedia Results

Completed

Proleague 2025-11-14
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
RSL Revival: Season 3
META Madness #9
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
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 © 2025 TLnet. All Rights Reserved.