• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 00:52
CET 06:52
KST 14:52
  • 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 Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
ComeBackTV's documentary on Byun's Career !9Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
Micro Lags When Playing SC2? ComeBackTV's documentary on Byun's Career ! When will we find out if there are more tournament Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win RSL Revival - 2025 Season Finals Preview
Tourneys
$100 Prize Pool - Winter Warp Gate Masters Showdow $5,000+ WardiTV 2025 Championship Winter Warp Gate Amateur Showdown #1 Sparkling Tuna Cup - Weekly Open Tournament RSL Offline Finals Info - Dec 13 and 14!
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
Klaucher discontinued / in-game color settings Anyone remember me from 2000s Bnet EAST server? BGH Auto Balance -> http://bghmmr.eu/ How Rain Became ProGamer in Just 3 Months FlaSh on: Biggest Problem With SnOw's Playstyle
Tourneys
[BSL21] LB QuarterFinals - Sunday 21:00 CET Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] WB SEMIFINALS - Saturday 21:00 CET
Strategy
Simple Questions, Simple Answers Game Theory for Starcraft Current Meta Fighting Spirit mining rates
Other Games
General Games
Stormgate/Frost Giant Megathread General RTS Discussion Thread Nintendo Switch Thread Mechabellum PC Games Sales 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 Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI YouTube Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
The (Hidden) Drug Problem in…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1899 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
5392 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
Ladder Legends
19:00
WWG Amateur Showdown
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft625
RuFF_SC2 217
Nina 102
StarCraft: Brood War
Larva 575
Shuttle 478
Leta 273
Mong 18
Noble 15
Sea 0
Dota 2
NeuroSwarm64
LuMiX1
League of Legends
JimRising 638
Heroes of the Storm
Khaldor144
Other Games
summit1g9877
Mew2King120
ViBE54
Models2
Organizations
Other Games
gamesdonequick835
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• Berry_CruncH207
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Other Games
• Scarra1628
Upcoming Events
Sparkling Tuna Cup
4h 8m
Ladder Legends
11h 8m
BSL 21
14h 8m
StRyKeR vs TBD
Bonyth vs TBD
Replay Cast
1d 3h
Wardi Open
1d 6h
Monday Night Weeklies
1d 11h
WardiTV Invitational
3 days
Replay Cast
4 days
WardiTV Invitational
4 days
ByuN vs Solar
Clem vs Classic
Cure vs herO
Reynor vs MaxPax
Replay Cast
5 days
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 1
WardiTV 2025
META Madness #9
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

CSL Season 19: Qualifier 2
CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
Nations Cup 2026
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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.