• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 08:49
CEST 14:49
KST 21:49
  • 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
Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun11[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10Team Liquid Map Contest #22 - The Finalists21[ASL21] Ro16 Preview Pt1: Fresh Flow9
Community News
2026 GSL Season 1 Qualifiers25Maestros of the Game 2 announced92026 GSL Tour plans announced15Weekly Cups (April 6-12): herO doubles, "Villains" prevail1MaNa leaves Team Liquid25
StarCraft 2
General
Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun Team Liquid Map Contest #22 - The Finalists Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool MaNa leaves Team Liquid Maestros of the Game 2 announced
Tourneys
GSL Code S Season 1 (2026) SC2 INu's Battles#15 <BO.9 2Matches> WardiTV Spring Cup RSL Revival: Season 5 - Qualifiers and Main Event SEL Masters #6 - Solar vs Classic (SC: Evo)
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base Mutation # 521 Memorable Boss
Brood War
General
Data needed Pros React To: Leta vs Tulbo (ASL S21, Ro.8) ASL21 General Discussion [TOOL] Starcraft Chat Translator JaeDong's ASL S21 Ro16 Post-Review
Tourneys
Escore Tournament StarCraft Season 2 [ASL21] Ro8 Day 2 [ASL21] Ro8 Day 1 ASL Season 21 LIVESTREAM with English Commentary
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Daigo vs Menard Best of 10 Stormgate/Frost Giant Megathread Nintendo Switch Thread Dawn of War IV Diablo IV
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
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 European Politico-economics QA Mega-thread Russo-Ukrainian War Thread 3D technology/software discussion Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books Movie Discussion!
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
Sexual Health Of Gamers
TrAiDoS
lurker extra damage testi…
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2411 users

I want to learn to C

Blogs > Arnstein
Post a Reply
1 2 3 4 Next All
Arnstein
Profile Blog Joined May 2010
Norway3381 Posts
April 23 2012 14:09 GMT
#1
OK, now that we're done with that awful play on words(letter?), let me get straight to the point:

I want to learn to code in C! I have downloaded and installed Xcode on mac(it wouldn't complete though, what is that about? It said 2 minutes remaining for 12 hours, so I just turned the computer off, and when I started it again it was installed).

What I'm looking for is to get a better overview over the whole process(why the files and folders are where they are in a project), as well as just learning to code.

It would be awesome if anyone knew a site like http://www.codecademy.com/ but for C!


rsol in response to the dragoon voice being heard in SCII: dragoon ai reaches new lows: wanders into wrong game
TheToast
Profile Blog Joined August 2010
United States4808 Posts
April 23 2012 14:22 GMT
#2
Honestly, you're probably best off learning C#, learning a .Net language actually has some real world applications and can allow you to program software for anyone on an MS Windows platform. Microsoft has made it clear that's the direction they want to go with .Net, and the more complicated aspects of C++ such as writing to specific memory bits has been removed. MSDN has some really good tutorials and has a number of chapters of some good books on learning .Net languages for free.

If you're not interested in .Net, I would say 100% you should look to learn Java (not actually all that different from C++), that would actually be useful for programming apps and cross-platform software.
I like the way the walls go out. Gives you an open feeling. Firefly's a good design. People don't appreciate the substance of things. Objects in space. People miss out on what's solid.
Arnstein
Profile Blog Joined May 2010
Norway3381 Posts
April 23 2012 14:26 GMT
#3
I want to learn C because I will be using it later in my education. What is the difference between C++ and C#?
rsol in response to the dragoon voice being heard in SCII: dragoon ai reaches new lows: wanders into wrong game
emucxg
Profile Blog Joined May 2007
Finland4559 Posts
Last Edited: 2012-04-23 15:18:58
April 23 2012 15:17 GMT
#4
On April 23 2012 23:26 Arnstein wrote:
I want to learn C because I will be using it later in my education. What is the difference between C++ and C#?

C# is easier and for beginners, it has garbage collection just like java, so u dont need worry about memory leaks...

C is for advanced programmers, but C runs much faster than C# though

correct me if im wrong

edit. there are more difference between those, i just mentioned some most important.
Arnstein
Profile Blog Joined May 2010
Norway3381 Posts
April 23 2012 15:52 GMT
#5
Ah, ok. But I'll just start with C anyways
rsol in response to the dragoon voice being heard in SCII: dragoon ai reaches new lows: wanders into wrong game
virpi
Profile Blog Joined August 2009
Germany3599 Posts
April 23 2012 15:52 GMT
#6
Learning C++ is pretty hard, but also very rewarding. You can also easily transfer your knowledge to other languages, once you've mastered the "first levels". If you're entirely inexperienced with programming, I'd suggest that you might try one of the "easier" languages first (such as C#), because the sheer power of C++ is pretty intimidating sometimes.

Don't learn C, though, unless you're planning to study software engineering. C is used to design operating systems and other software that's "close to the hardware". (don't know how to put this in english sry)
first we make expand, then we defense it.
TheToast
Profile Blog Joined August 2010
United States4808 Posts
April 23 2012 16:12 GMT
#7
On April 24 2012 00:52 virpi wrote:
If you're entirely inexperienced with programming, I'd suggest that you might try one of the "easier" languages first (such as C#), because the sheer power of C++ is pretty intimidating sometimes.


Actually Visual Basic is probably one of the easiest languages to learn. I'm no CS major, and despite my short attention span even I was able to learn enough VB to make some simple desktop applications. It has some real world applications too, such as being able to write macros in MS Office. Plus many of the concepts transfer pretty easily to other .Net languages like C#.
I like the way the walls go out. Gives you an open feeling. Firefly's a good design. People don't appreciate the substance of things. Objects in space. People miss out on what's solid.
Arnstein
Profile Blog Joined May 2010
Norway3381 Posts
April 23 2012 16:14 GMT
#8
Well, I will study technical cybernetics, and will do a lot of C, so I just want to start a year early trying to get the hang of it
rsol in response to the dragoon voice being heard in SCII: dragoon ai reaches new lows: wanders into wrong game
JellowLight
Profile Blog Joined October 2011
60 Posts
April 23 2012 16:26 GMT
#9
I started learning c++ a year ago as my first programming language. Everything is going allright and I never found it intimidating or anything. IF you jsut start at the basics and slowly work your way upwards then it is doable.
Spikeke
Profile Joined October 2010
Canada106 Posts
Last Edited: 2012-04-23 16:36:46
April 23 2012 16:34 GMT
#10
I went to that codeacademy site, kinda dumb.
Just grab a programming book for noobs or google cprogramming and start coding. Don't know why you would want to learn old C first, but hey that's your choice. Even if you wanted to learn COBOL I wouldn't stop you. use google and your success is determined by your motivation and self-discipline. Good luck.
infey
Profile Joined August 2010
Canada64 Posts
April 23 2012 16:46 GMT
#11
If you have your heart set on C then my advice would be to grab a solid book on learning C for beginners and work through it from start to finish. C is closer to the metal than many languages and there is a lot of knowledge you'll need that can't be gleaned *easily* from reverse engineering existing programs such as memory management, memory structure layout, pointers, etc A good book will be able to introduce and explain in a way that you'll be able to pick it up more quickly.

Finding someone with a lot of experience in C that you can ask questions of would also be a big help.
palmerdabbelt
Profile Blog Joined October 2010
United States46 Posts
Last Edited: 2012-04-23 16:58:43
April 23 2012 16:58 GMT
#12
You definately want to learn C first (the book I link actually teaches you a simple RISC assembly, which I think is the best way to learn C), especially if you're just doing this as a hobby. While you won't be a productive as you would be learning a high-level language you'll understand a whole lot more.

The intro to programming class at my school used this

http://highered.mcgraw-hill.com/sites/0072467509/

and I highly recommend it. It's particularly useful if you're interested in learning programming just for fun, as it will teach you what's actually going on inside your computer.

Additionally, I would recommend learning to use a proper editor (I use emacs, but vim is fine too), make, gcc, and the command line. When you're learning how to program an IDE (like Xcode) can actually complicate things as it will hide a lot of what's going on. Learning to use a Unix-like operating system (I use Gentoo, a Linux distribution) is also a huge plus, but as your on Mac OS X you'll be alright (there's some Unix in OSX if you look hard enough ).

Good luck!
Snuggles
Profile Blog Joined May 2010
United States1865 Posts
April 23 2012 17:01 GMT
#13
I friggin bought an entire book to learn C. Only to learn that I have no talent whatsoever to do learn it, took me weeks just to learn how compile my simple lines of code.
Deleted User 61629
Profile Blog Joined March 2010
1664 Posts
Last Edited: 2012-04-23 17:47:51
April 23 2012 17:47 GMT
#14
--- Nuked ---
fire_brand
Profile Blog Joined October 2009
Canada1123 Posts
April 23 2012 17:48 GMT
#15
Don't start with C. It'll teach you the wrong stuff. You're better off learning something else that's actually useful. C actually will hinder your learning later on.
Random player, pixel enthusiast, crappy illustrator, offlane/support
Snuggles
Profile Blog Joined May 2010
United States1865 Posts
Last Edited: 2012-04-23 18:07:29
April 23 2012 18:05 GMT
#16
Rather than learning C or C++, how come you guys haven't suggest to just learn Java? I read that it's similar to C++ but better and more convenient. Correct if I'm wrong because I'm trying to learn too.

EDIT: just noticed that someone mentioned Java, can anyone further elaborate on it?
GogoKodo
Profile Blog Joined April 2003
Canada1785 Posts
April 23 2012 18:06 GMT
#17
On April 24 2012 02:47 Inori wrote:
Show nested quote +
On April 24 2012 02:01 Snuggles wrote:
I friggin bought an entire book to learn C. Only to learn that I have no talent whatsoever to do learn it, took me weeks just to learn how compile my simple lines of code.

There's no such thing as "no talent to learn it". You might not have genius skills to hack google at 15, but to learn how to code and eventually get senior dev position - anyone can achieve that. Literally, anyone.

I agree that anyone can do it, but there is definitely talent or a particular way of thinking that makes progress much faster for learning how to code.
twitter: @terrancem
Melchior
Profile Joined January 2011
United States112 Posts
April 23 2012 18:18 GMT
#18
From my experience, Java or C# is probably easier to pick up and is good for teaching abstraction, etc. C requires a little more bookkeeping from the programmer in terms of memory management/pointers, but can be written to run faster than Java. C++ is extremely powerful but quite a bit different than the other languages to learn -- what is properly written code in C will often work on C++, but will almost inevitably be a suboptimal implementation in C++.

Of course, the language you should start with depends on what you want to do with it...
GogoKodo
Profile Blog Joined April 2003
Canada1785 Posts
April 23 2012 18:23 GMT
#19
Nobody has mentioned it yet, but I'll even put in a vote for learning Objective-C if you happen to be on a Mac. Working with Objective-C and Cocoa is actually really nice and you can go from learning to making a real desktop/iOS application pretty quickly. Objective-C still lets you learn about object oriented programming, and you can also make use of C structures (and c++ but I would steer away from that if you're just learning) easily.

It might not be as valuable for employment, unless you're looking into iOS or Mac development. But once you've learned one language it's really not difficult to pick up more in the future.
twitter: @terrancem
GogoKodo
Profile Blog Joined April 2003
Canada1785 Posts
April 23 2012 18:25 GMT
#20
On April 24 2012 02:48 fire_brand wrote:
Don't start with C. It'll teach you the wrong stuff. You're better off learning something else that's actually useful. C actually will hinder your learning later on.

Learning C will not teach you the "wrong stuff", whatever that is, and C is definitely useful.
twitter: @terrancem
1 2 3 4 Next All
Please log in or register to reply.
Live Events Refresh
INu's Battles
11:00
INu's Battles#15
Classic vs ByuN
SHIN vs ByuN
IntoTheiNu 779
LiquipediaDiscussion
Escore
10:00
Week 5
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
trigger 132
StarCraft: Brood War
Britney 33760
Calm 4429
Sea 4171
Mini 1471
actioN 1118
firebathero 497
Shuttle 374
EffOrt 262
Hyuk 232
BeSt 223
[ Show more ]
Light 216
Leta 190
ggaemo 123
Snow 123
Killer 118
Zeus 106
Hyun 103
Rush 87
ZerO 78
Pusan 69
hero 66
ToSsGirL 65
Sharp 53
[sc1f]eonzerg 53
Backho 42
Hm[arnc] 42
Free 26
sorry 24
Sea.KH 23
Shine 23
yabsab 19
910 18
Shinee 18
Sexy 18
scan(afreeca) 16
Terrorterran 16
zelot 12
GoRush 12
IntoTheRainbow 10
JulyZerg 9
Sacsri 9
Barracks 8
Icarus 7
SilentControl 5
Dota 2
resolut1ontv 1344
monkeys_forever288
Other Games
singsing2332
B2W.Neo1046
Lowko412
hiko308
DeMusliM254
crisheroes222
MindelVK18
ZerO(Twitch)18
Organizations
Dota 2
PGL Dota 2 - Main Stream119
StarCraft: Brood War
lovetv 11
StarCraft 2
WardiTV8
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 16 non-featured ]
StarCraft 2
• StrangeGG 75
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• escodisco2767
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2102
• TFBlade1326
• Nemesis924
• Stunt458
Upcoming Events
OSC
11m
Big Brain Bouts
3h 11m
Replay Cast
11h 11m
Replay Cast
20h 11m
RSL Revival
21h 11m
Classic vs GgMaChine
Rogue vs Maru
WardiTV Invitational
22h 11m
IPSL
1d 3h
Ret vs Art_Of_Turtle
Radley vs TBD
BSL
1d 6h
Replay Cast
1d 11h
RSL Revival
1d 21h
herO vs TriGGeR
NightMare vs Solar
[ Show More ]
uThermal 2v2 Circuit
2 days
BSL
2 days
IPSL
2 days
eOnzErG vs TBD
G5 vs Nesh
Patches Events
2 days
Replay Cast
2 days
Wardi Open
2 days
Afreeca Starleague
2 days
Jaedong vs Light
Monday Night Weeklies
3 days
Replay Cast
3 days
Sparkling Tuna Cup
3 days
Afreeca Starleague
3 days
Snow vs Flash
WardiTV Invitational
3 days
GSL
4 days
Classic vs Cure
Maru vs Rogue
GSL
5 days
SHIN vs Zoun
ByuN vs herO
Replay Cast
6 days
Escore
6 days
The PondCast
6 days
WardiTV Invitational
6 days
Liquipedia Results

Completed

Proleague 2026-04-29
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
Escore Tournament S2: W5
KK 2v2 League Season 1
StarCraft2 Community Team League 2026 Spring
2026 GSL S1
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
PGL Cluj-Napoca 2026

Upcoming

Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
RSL Revival: Season 5
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 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.