• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 10:40
CEST 16:40
KST 23:40
  • 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
[ASL20] Ro24 Preview Pt1: Runway122v2 & SC: Evo Complete: Weekend Double Feature3Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18Serral wins EWC 202549
Community News
Weekly Cups (Aug 11-17): MaxPax triples again!10Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195Weekly Cups (Jul 28-Aug 3): herO doubles up6LiuLi Cup - August 2025 Tournaments7
StarCraft 2
General
Maestros of the Game #1: Maru - Greatest Players of All Time RSL Revival patreon money discussion thread Is it ok to advertise SC EVO Mod streaming here? 2v2 & SC: Evo Complete: Weekend Double Feature
Tourneys
Master Swan Open (Global Bronze-Master 2) $5,100+ SEL Season 2 Championship (SC: Evo) Sparkling Tuna Cup - Weekly Open Tournament RSL: Revival, a new crowdfunded tournament series LiuLi Cup - August 2025 Tournaments
Strategy
Custom Maps
External Content
Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below Mutation # 484 Magnetic Pull
Brood War
General
[ASL20] Ro24 Preview Pt1: Runway BW General Discussion Flash Announces (and Retracts) Hiatus From ASL ASL 20 HYPE VIDEO! New season has just come in ladder
Tourneys
[ASL20] Ro24 Group C [ASL20] Ro24 Group B [Megathread] Daily Proleagues [ASL20] Ro24 Group A
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting Muta micro map competition
Other Games
General Games
General RTS Discussion Thread Beyond All Reason Stormgate/Frost Giant Megathread Nintendo Switch Thread Total Annihilation Server - TAForever
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread The Games Industry And ATVI
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
High temperatures on bridge(s) Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment"
TL Community
TeamLiquid Team Shirt On Sale The Automated Ban List
Blogs
The Biochemical Cost of Gami…
TrAiDoS
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
ASL S20 English Commentary…
namkraft
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1736 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
Germany3598 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
WardiTV Summer Champion…
11:00
Group Stage 2 - Group B
Clem vs goblin
ByuN vs SHIN
WardiTV1102
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 334
Hui .177
Rex 151
ProTech61
Codebar 19
EnDerr 8
StarCraft: Brood War
Britney 52138
Calm 11385
Bisu 3958
Jaedong 1797
EffOrt 809
firebathero 738
Stork 500
BeSt 487
ggaemo 428
Light 425
[ Show more ]
ZerO 392
Mind 186
hero 164
Last 162
Barracks 129
Rush 116
Movie 112
Soulkey 111
Snow 102
Hyun 85
TY 81
Aegong 53
Backho 47
Nal_rA 38
sorry 31
scan(afreeca) 30
Terrorterran 24
Yoon 22
Sacsri 16
Rock 12
JYJ9
IntoTheRainbow 8
HiyA 4
actioN 0
Dota 2
Gorgc8123
qojqva2987
XcaliburYe273
syndereN238
LuMiX0
League of Legends
Dendi872
Reynor71
Counter-Strike
hiko900
zeus540
edward66
Super Smash Bros
Mew2King71
amsayoshi51
Other Games
singsing2016
B2W.Neo1538
FrodaN973
crisheroes474
XaKoH 136
ArmadaUGS126
KnowMe58
QueenE42
Trikslyr29
ZerO(Twitch)11
Organizations
StarCraft: Brood War
Kim Chul Min (afreeca) 5
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• poizon28 15
• davetesta12
• LaughNgamezSOOP
• AfreecaTV YouTube
• sooper7s
• intothetv
• Migwel
• Kozan
• IndyKCrew
StarCraft: Brood War
• HerbMon 32
• Azhi_Dahaki10
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 2045
• WagamamaTV494
League of Legends
• Nemesis4051
• Jankos1293
Upcoming Events
Online Event
9h 20m
The PondCast
19h 20m
WardiTV Summer Champion…
20h 20m
Zoun vs Bunny
herO vs Solar
Replay Cast
1d 9h
LiuLi Cup
1d 20h
BSL Team Wars
2 days
Team Hawk vs Team Dewalt
Korean StarCraft League
2 days
CranKy Ducklings
2 days
SC Evo League
2 days
WardiTV Summer Champion…
2 days
Classic vs Percival
Spirit vs NightMare
[ Show More ]
CSO Cup
3 days
[BSL 2025] Weekly
3 days
Sparkling Tuna Cup
3 days
SC Evo League
3 days
BSL Team Wars
4 days
Team Bonyth vs Team Sziky
Afreeca Starleague
4 days
Queen vs HyuN
EffOrt vs Calm
Wardi Open
4 days
Replay Cast
5 days
Afreeca Starleague
5 days
Rush vs TBD
Jaedong vs Mong
Afreeca Starleague
6 days
herO vs TBD
Royal vs Barracks
Liquipedia Results

Completed

Jiahua Invitational
uThermal 2v2 Main Event
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
CSL Season 18: Qualifier 1
SEL Season 2 Championship
WardiTV Summer 2025
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSLAN 3
CSL Season 18: Qualifier 2
CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
RSL Revival: Season 2
Maestros of the Game
EC S1
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall 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.