• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 17:28
CET 23:28
KST 07:28
  • 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 Rotation12Weekly 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
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 [TLMC] Fall/Winter 2025 Ladder Map Rotation TL.net Map Contest #21: Winners
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 What happened to TvZ on Retro? SnOw's ASL S20 Finals Review BW General Discussion Brood War web app to calculate unit interactions
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
Should offensive tower rushing be viable in RTS games? Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread Clair Obscur - Expedition 33
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 Russo-Ukrainian War Thread US Politics Mega-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: 2120 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
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.
1 2 Next All
Please log in or register to reply.
Live Events Refresh
The PiG Daily
20:30
Best Games of SC
Serral vs Clem
Solar vs Cure
Serral vs Clem
Reynor vs GuMiho
herO vs Cure
PiGStarcraft322
LiquipediaDiscussion
BSL 21
20:00
ProLeague - RO32 Group C
Tarson vs Julia
Doodle vs OldBoy
eOnzErG vs WolFix
StRyKeR vs Aeternum
ZZZero.O323
LiquipediaDiscussion
OSC
19:00
Masters Cup #150: Group B
davetesta56
Liquipedia
PSISTORM Gaming Misc
15:55
FSL teamleague CNvsASH, ASHvRR
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft322
Nathanias 119
ProTech70
StarCraft: Brood War
Shuttle 935
ZZZero.O 323
NaDa 58
Dota 2
LuMiX1
Counter-Strike
fl0m1107
Super Smash Bros
AZ_Axe111
Other Games
tarik_tv6434
Grubby5300
summit1g4453
gofns4093
DeMusliM420
Pyrionflax195
Fuzer 191
Dewaltoss14
ViBE11
Organizations
Other Games
EGCTV935
gamesdonequick798
StarCraft 2
angryscii 33
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• StrangeGG 58
• musti20045 19
• Dystopia_ 3
• IndyKCrew
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• LaughNgamezSOOP
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota2715
• Ler80
Other Games
• imaqtpie1667
• WagamamaTV495
• Shiphtur261
• tFFMrPink 13
Upcoming Events
Sparkling Tuna Cup
11h 33m
RSL Revival
11h 33m
Reynor vs sOs
Maru vs Ryung
Kung Fu Cup
13h 33m
Cure vs herO
Reynor vs TBD
WardiTV Korean Royale
13h 33m
BSL 21
21h 33m
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
21h 33m
Dewalt vs WolFix
eOnzErG vs Bonyth
Replay Cast
1d
Wardi Open
1d 13h
Monday Night Weeklies
1d 18h
WardiTV Korean Royale
2 days
[ Show More ]
BSL: GosuLeague
2 days
The PondCast
3 days
Replay Cast
4 days
RSL Revival
4 days
BSL: GosuLeague
4 days
RSL Revival
5 days
WardiTV Korean Royale
5 days
RSL Revival
6 days
WardiTV Korean Royale
6 days
IPSL
6 days
Julia vs Artosis
JDConan vs DragOn
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.