• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 07:14
CET 13:14
KST 21:14
  • 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 BW General Discussion What happened to TvZ on Retro? Brood War web app to calculate unit interactions [ASL20] Ask the mapmakers — Drop your questions
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
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread Clair Obscur - Expedition 33 Beyond All Reason
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
[Manga] One Piece Anime Discussion Thread Movie Discussion! 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: 2222 users

I want to learn to C - Page 2

Blogs > Arnstein
Post a Reply
Prev 1 2 3 4 Next All
Arnstein
Profile Blog Joined May 2010
Norway3381 Posts
April 23 2012 18:29 GMT
#21
Thanks everyone!

And palmerdabbelt, thanks a lot, will definitely check that book out! (hopefully I can find it free online)
rsol in response to the dragoon voice being heard in SCII: dragoon ai reaches new lows: wanders into wrong game
Marradron
Profile Blog Joined January 2009
Netherlands1586 Posts
April 23 2012 19:01 GMT
#22
Visual basic and C# are both quite nice to learn. Knowing the basic functions and capabilitys of c/c++ would give you a good idea of what kind of things you can do. Don't go to deeply into C though. Once you know the basic building blocks move on to C# or VB. The forms, threading, lists will make you never want to go back.
palmerdabbelt
Profile Blog Joined October 2010
United States46 Posts
April 23 2012 19:18 GMT
#23
On April 24 2012 03:29 Arnstein wrote:
Thanks everyone!

And palmerdabbelt, thanks a lot, will definitely check that book out! (hopefully I can find it free online)


If there's anything else I can do to help feel free to send me a PM.
hoot00
Profile Blog Joined October 2010
United States77 Posts
April 23 2012 20:21 GMT
#24
So let's say I'm a future genius who wants to hack google.

Which one should I learn?
LEGENDS NEVER GG
blade55555
Profile Blog Joined March 2009
United States17423 Posts
April 23 2012 20:40 GMT
#25
On April 24 2012 03:25 GogoKodo wrote:
Show nested quote +
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.


From what I read when I was teaching myself programming most people agreed that learning C first would give you bad habbits that will cause many problems in c+ and what not.
When I think of something else, something will go here
sieksdekciw
Profile Joined April 2012
240 Posts
Last Edited: 2012-04-23 20:45:05
April 23 2012 20:43 GMT
#26
On April 23 2012 23:22 TheToast wrote:
1. Honestly, you're probably best off learning C#,

2. Java (not actually all that different from C++), that would actually be useful for programming apps and cross-platform software.

What is this, I don't even??!

C and C++ don't have any ACTUAL applications nowadays?
A quick look here :http://www.thewindowsclub.com/what-is-android-operating-system-a-beginners-read

A beginners read on this article shows that:
`Android OS consists of over 12 million lines of code written in C / C++ / Java and XML.`

`Java is not that different from C++`

Have you ever seen Java code and have you ever seen C# code. That is right, they look alike

Hello world in C#:

class Hello
{
static public void Main()
{
System.Console.WriteLine("Hello World");
}
}


Hello world in Java:

class Hello {
public static void main(String[]args) {
Systen.out.println("Hello World");
}
}



Hello world in C++

#include <iostream>

int main()
{
std::cout << "Hello World!" << std::endl;
return 0;
}


You better go to school, kids, cause if you don't you will end up saying in forums that Java is (not that different from C++, actually). Shame on you for being outright stupid.
divito
Profile Blog Joined January 2011
Canada1213 Posts
April 23 2012 20:48 GMT
#27
If you're looking to learn C, C++, or C# (or anything really), I have a ton of eBooks if you're interested. That goes for the OP or anyone.
Skype: divito7
olabaz
Profile Blog Joined April 2009
United States298 Posts
April 23 2012 21:11 GMT
#28
So I also recently decided to learn C and have been learning for a couple of days now. The book recommended by MIT as well as a bunch of other legitimate sources seems to be C Programming Language. I looked into this book and did not really like that they didn't give the main function a return value. I then found out about another book that is widely accepted called C Programming: A Modern Approach and I really like the way it is written and laid out so far, and it is what I'll be using. A larger list of books can be found here.

I was told by a lot of people not to learn C but I feel like it'll be a fun exciting language that will help me in the my future studies of physics. Haters gonna hate!
TheToast
Profile Blog Joined August 2010
United States4808 Posts
Last Edited: 2012-04-23 21:20:58
April 23 2012 21:20 GMT
#29
On April 24 2012 05:43 sieksdekciw wrote:
Show nested quote +
On April 23 2012 23:22 TheToast wrote:
1. Honestly, you're probably best off learning C#,

2. Java (not actually all that different from C++), that would actually be useful for programming apps and cross-platform software.

What is this, I don't even??!

C and C++ don't have any ACTUAL applications nowadays?


Okay, you're just putting words in my mouth. I never said C++ didn't have applications. I was implying that C didn't have that many real world applications in terms of development of desktop applications. You do know he was talking about C and not C++ right?


You better go to school, kids, cause if you don't you will end up saying in forums that Java is (not that different from C++, actually). Shame on you for being outright stupid.


They're both object oriented programming languages, just because the syntax isn't the same doesn't mean they are drastically different. And if you want to discuss this further, try it without the attitude maybe?
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.
sieksdekciw
Profile Joined April 2012
240 Posts
April 23 2012 21:26 GMT
#30
On April 24 2012 06:20 TheToast wrote:
Show nested quote +
On April 24 2012 05:43 sieksdekciw wrote:
On April 23 2012 23:22 TheToast wrote:
1. Honestly, you're probably best off learning C#,

2. Java (not actually all that different from C++), that would actually be useful for programming apps and cross-platform software.

What is this, I don't even??!

C and C++ don't have any ACTUAL applications nowadays?


Okay, you're just putting words in my mouth. I never said C++ didn't have applications. I was implying that C didn't have that many real world applications in terms of development of desktop applications. You do know he was talking about C and not C++ right?

Show nested quote +

You better go to school, kids, cause if you don't you will end up saying in forums that Java is (not that different from C++, actually). Shame on you for being outright stupid.


They're both object oriented programming languages, just because the syntax isn't the same doesn't mean they are drastically different. And if you want to discuss this further, try it without the attitude maybe?


C++ is a OO language and java is also. Nice similarity. It's like saying an elephant is similar to a fish since they both are animals.

C# is far closer as idea and syntax and level of abstraction to Java than C++ is to any of them.
freelander
Profile Blog Joined December 2004
Hungary4707 Posts
April 23 2012 21:53 GMT
#31
Well I don't recommend java first if you want to learn programming more seriously in the future.
It's a badly designed language, in my opinion. Though for sure it has libraries for everything.

C first is nice.
And all is illuminated.
Melchior
Profile Joined January 2011
United States112 Posts
April 23 2012 22:59 GMT
#32
On April 24 2012 06:20 TheToast wrote:
I was implying that C didn't have that many real world applications in terms of development of desktop applications. You do know he was talking about C and not C++ right?

[Java and C++ are] both object oriented programming languages, just because the syntax isn't the same doesn't mean they are drastically different. And if you want to discuss this further, try it without the attitude maybe?

As far as I'm aware, plain C is still used for a lot of high performance computing applications. Desktop applications or web services? Yeah, go with C# or Java. But C's still around to stay.

Also, Bjarne Stroustrup (the original creator of C++) would disagree with your characterization of C++ as an object-oriented programming language. C++ supports object-oriented programming, but is also capable of much more. I had a pretty easy time learning Java after C, but learning proper C++ was an entirely different beast.
darmousseh
Profile Blog Joined May 2010
United States3437 Posts
April 24 2012 02:20 GMT
#33
On April 24 2012 05:43 sieksdekciw wrote:
Show nested quote +
On April 23 2012 23:22 TheToast wrote:
1. Honestly, you're probably best off learning C#,

2. Java (not actually all that different from C++), that would actually be useful for programming apps and cross-platform software.

What is this, I don't even??!

C and C++ don't have any ACTUAL applications nowadays?
A quick look here :http://www.thewindowsclub.com/what-is-android-operating-system-a-beginners-read

A beginners read on this article shows that:
`Android OS consists of over 12 million lines of code written in C / C++ / Java and XML.`

`Java is not that different from C++`

Have you ever seen Java code and have you ever seen C# code. That is right, they look alike

Hello world in C#:

Show nested quote +
class Hello
{
static public void Main()
{
System.Console.WriteLine("Hello World");
}
}


Hello world in Java:

Show nested quote +
class Hello {
public static void main(String[]args) {
Systen.out.println("Hello World");
}
}



Hello world in C++

Show nested quote +
#include <iostream>

int main()
{
std::cout << "Hello World!" << std::endl;
return 0;
}


You better go to school, kids, cause if you don't you will end up saying in forums that Java is (not that different from C++, actually). Shame on you for being outright stupid.



Have you seen it in ruby?


print "Hello World"



What are your goals? Choosing a language for learning is pretty important as it will shape your thinking process. I would reccomend choosing a language which is commonly used in areas you wish you utilize. For an all purpose language, I would say java is the way to go. If you want to do video games, go with c/c++/c#. If you want to do web stuff, php and ruby are the right choice.

If you have any questions, pm me.
Developer for http://mtgfiddle.com
NinjoOb
Profile Blog Joined November 2009
Canada128 Posts
April 24 2012 02:31 GMT
#34
Learning C as your first language might be more difficult than Java for example, mainly (at least for me) because you have to manage memory yourself and the use of pointers. If you have no programming experience, you might want to start with Java (in netbeans or something) then go to C. Alternatively, you could just jump right in C and deal with a slightly steeper learning curve.
Xyik
Profile Blog Joined November 2009
Canada728 Posts
April 24 2012 02:55 GMT
#35
Learning C is great if you ever want to do low-level stuff like writing an OS or doing any embedded programming / compiler stuff because it offers a lot of flexibility in manual memory management that can allow you to write some really efficient code. Some people aren't interested in that stuff with the web-craze nowadays brought on by google, facebook, twitter etc but that just means that there will be fewer people with that kind of skill. Don't turn away from C just because its an older language that appears to have fewer options in the real-world, it's a good place to start and will let you appreciate other languages that much more later on. It really depends on your motivation for programming and what you want to create.
VManOfMana
Profile Blog Joined December 2008
United States764 Posts
April 24 2012 03:04 GMT
#36
Since you have a Mac and you are installing X-Code, go all the way and get started on Objective C.

http://www.bignerdranch.com/book/objective-c_programming_the_big_nerd_ranch_guide

The Big Nerd Ranch guide will not teach you all of C, but the basics to get started before you start diving in to Objective C (Apple's prefered language for development). The book is very good for people who want to learn on their own pace, and prefer a more practical approach. For example, the book won't teach you every detail of vodoo black magic needed to master pointers and memory management, but just what you meed to understand and work with references in Objective C.

You can then proceed with the Cocoa (Apple's development libraries) books, that introduce you more into OSX and/or iOS programming.

Also, a very good motivator is to have a project you want to work on. Doesn't need to be very sophisticated, just something you can find useful and cook.



Personally I really appreciate programs that are small, but with a lot of attention to detail
Woo Jung Ho, FIGHTING! | "With the death of BW comes the death of an idea. And that idea, held by many BW fans, was that a computer game could actually outlive the Next New Game cycle. And to some extent it did." -Falling
Athos
Profile Blog Joined February 2008
United States2484 Posts
April 24 2012 03:21 GMT
#37
I've known java for a while, and I had a homework assignment given to me which was to write a quine in C. C really isn't that different from Java (besides the obvious difference of allocating memory through pointers and the different syntax, C being lower level, etc). Honestly, once you learn one language, picking up the rest of them is easy, as the stuff you build, and the skills you learn from 1 language give you a foundation for learning the others. So my advice is to start with java (what I did) but honestly if your heart is set on C, then go for it!
Anacletus
Profile Blog Joined April 2012
United States733 Posts
April 24 2012 03:57 GMT
#38
I'm a relatively new programming student just like you. I have minimal experience in C. However, I do have a lot of experience in C++ and am teaching myself Ruby right now. I don't think that there is any single best language to start with as you must learn to program before you learn any language in depth. That being said if you have Skype I think that I could help you out tremendously by just walking you through some basics and answering any questions you might have. You might even be able to help me with a cute little rocket ship game that I am working on.

If you (or anyone else) is interested or has any questions I have a fair amount of free time so send me a message on TL and I can send you my Skype info (not posting here).

Good luck with your quest for knowledge!
http://talk-to-stimey-please.1324083.n2.nabble.com/
Arnstein
Profile Blog Joined May 2010
Norway3381 Posts
April 25 2012 20:51 GMT
#39
Thanks everyone! Will add you Skype-folk when I have the time to start the C-learning!
rsol in response to the dragoon voice being heard in SCII: dragoon ai reaches new lows: wanders into wrong game
adwodon
Profile Blog Joined September 2010
United Kingdom592 Posts
April 25 2012 21:11 GMT
#40
On April 24 2012 06:11 olabaz wrote:
So I also recently decided to learn C and have been learning for a couple of days now. The book recommended by MIT as well as a bunch of other legitimate sources seems to be C Programming Language. I looked into this book and did not really like that they didn't give the main function a return value. I then found out about another book that is widely accepted called C Programming: A Modern Approach and I really like the way it is written and laid out so far, and it is what I'll be using. A larger list of books can be found here.

I was told by a lot of people not to learn C but I feel like it'll be a fun exciting language that will help me in the my future studies of physics. Haters gonna hate!


I was one of the better programmers when I did my MSc in particle physics, not that I could have a valid opinion...

C will not help you in physics, it will probably just hinder you, but you've obviously been told this and think you know better. Most physicists stuck with FORTRAN for the most part, they're switching over to C++ with a lot of the larger collaborations (event generators etc) because OO is too useful.

If you're serious about physics over programming you'll not need to go in depth with anything, just learn Java then C++ and some scripting languages, as well as how to use Unix and you'll be fine, you'll learn what you need when you need. As people have said, C is for low level things, learning it will serve no purpose in the physics world and you'll simply have to erase bad habits when you learn a more appropriate language.
Prev 1 2 3 4 Next All
Please log in or register to reply.
Live Events Refresh
Kung Fu Cup
12:00
2025 Monthly #3: Day 4
Cure vs Reynor
Classic vs herO
RotterdaM385
IntoTheiNu 46
SteadfastSC18
IndyStarCraft 0
Liquipedia
RSL Revival
10:00
Group C
SHIN vs ByuN
Crank 1212
Tasteless862
ComeBackTV 797
Rex125
3DClanTV 66
Liquipedia
CranKy Ducklings
10:00
Master Swan Open #98
CranKy Ducklings41
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Crank 1212
Tasteless 862
RotterdaM 385
Rex 125
Reynor 117
Railgan 37
SteadfastSC 18
IndyStarCraft 0
StarCraft: Brood War
Britney 35036
Rain 3915
Horang2 1416
Hyuk 1361
firebathero 1294
Jaedong 836
Shuttle 589
Mini 431
Stork 338
BeSt 328
[ Show more ]
Last 223
PianO 177
Hm[arnc] 161
Leta 160
EffOrt 149
Shine 123
Pusan 120
Mong 92
Hyun 83
sorry 70
Shinee 67
Barracks 64
ggaemo 54
JYJ43
JulyZerg 32
soO 27
Movie 17
Bale 16
Noble 15
HiyA 12
ajuk12(nOOB) 8
Dota 2
Gorgc4605
singsing2226
XaKoH 424
XcaliburYe240
Dendi126
Counter-Strike
fl0m3292
zeus359
Other Games
FrodaN4576
B2W.Neo1686
KnowMe209
Fuzer 174
Lowko100
Mew2King57
MindelVK9
Organizations
Dota 2
PGL Dota 2 - Main Stream7428
PGL Dota 2 - Secondary Stream1548
Other Games
gamesdonequick592
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH141
• Adnapsc2 6
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 957
League of Legends
• Stunt1261
Upcoming Events
IPSL
4h 46m
ZZZero vs rasowy
Napoleon vs KameZerg
OSC
6h 46m
BSL 21
7h 46m
Tarson vs Julia
Doodle vs OldBoy
eOnzErG vs WolFix
StRyKeR vs Aeternum
Sparkling Tuna Cup
21h 46m
RSL Revival
21h 46m
Reynor vs sOs
Maru vs Ryung
Kung Fu Cup
23h 46m
WardiTV Korean Royale
23h 46m
BSL 21
1d 7h
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
1d 7h
Dewalt vs WolFix
eOnzErG vs Bonyth
Replay Cast
1d 10h
[ Show More ]
Wardi Open
1d 23h
Monday Night Weeklies
2 days
WardiTV Korean Royale
2 days
BSL: GosuLeague
3 days
The PondCast
3 days
Replay Cast
4 days
RSL Revival
4 days
BSL: GosuLeague
5 days
RSL Revival
5 days
WardiTV Korean Royale
5 days
RSL Revival
6 days
WardiTV Korean Royale
6 days
Liquipedia Results

Completed

Proleague 2025-11-07
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...

Disclosure: This page contains affiliate marketing links that support TLnet.

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.