• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:29
CEST 18:29
KST 01:29
  • 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: Runway132v2 & 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
Maestros of The Game—$20k event w/ live finals in Paris10Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195Weekly Cups (Jul 28-Aug 3): herO doubles up6
StarCraft 2
General
Geoff 'iNcontroL' Robinson has passed away RSL Revival patreon money discussion thread Weekly Cups (Aug 11-17): MaxPax triples again! What mix of new and old maps do you want in the next 1v1 ladder pool? (SC2) : I made a 5.0.12/5.0.13 replay fix
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris 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
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
Maps with Neutral Command Centers Flash Announces (and Retracts) Hiatus From ASL [ASL20] Ro24 Preview Pt1: Runway How do the new Battle.net ranks translate? Victoria gamers
Tourneys
[Megathread] Daily Proleagues The Casual Games of the Week Thread [ASL20] Ro24 Group C [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 Stormgate/Frost Giant Megathread Path of Exile Dawn of War IV 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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-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
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
Breaking the Meta: Non-Stand…
TrAiDoS
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
ASL S20 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2912 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
Next event in 7h 31m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko633
SpeCial 202
ProTech34
MindelVK 31
JuggernautJason5
StarCraft: Brood War
Calm 5197
Bisu 3332
Shuttle 1923
Flash 1357
Rain 1309
Jaedong 1231
firebathero 773
EffOrt 671
ZerO 414
Soulkey 387
[ Show more ]
BeSt 270
ggaemo 240
Rush 196
hero 140
Hyuk 113
Barracks 87
Mind 87
Snow 78
Nal_rA 70
sorry 68
Hyun 63
[sc1f]eonzerg 51
JYJ41
TY 36
zelot 33
Aegong 32
Sacsri 21
scan(afreeca) 18
Terrorterran 17
HiyA 11
ajuk12(nOOB) 9
IntoTheRainbow 7
Dota 2
Gorgc11116
syndereN536
XcaliburYe289
Counter-Strike
flusha180
Super Smash Bros
Westballz34
Other Games
gofns8271
FrodaN1120
hiko688
Mlord484
Beastyqt294
RotterdaM211
KnowMe181
Liquid`VortiX143
ArmadaUGS107
Trikslyr50
ZerO(Twitch)15
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• iHatsuTV 6
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV548
League of Legends
• Nemesis2898
• Jankos1133
• TFBlade473
Counter-Strike
• Shiphtur10
Upcoming Events
Replay Cast
7h 31m
LiuLi Cup
18h 31m
BSL Team Wars
1d 2h
Team Hawk vs Team Dewalt
Korean StarCraft League
1d 10h
CranKy Ducklings
1d 17h
SC Evo League
1d 19h
WardiTV Summer Champion…
1d 20h
Classic vs Percival
Spirit vs NightMare
CSO Cup
1d 23h
[BSL 2025] Weekly
2 days
Sparkling Tuna Cup
2 days
[ Show More ]
SC Evo League
2 days
BSL Team Wars
3 days
Team Bonyth vs Team Sziky
Afreeca Starleague
3 days
Queen vs HyuN
EffOrt vs Calm
Wardi Open
3 days
RotterdaM Event
3 days
Replay Cast
4 days
Afreeca Starleague
4 days
Rush vs TBD
Jaedong vs Mong
Afreeca Starleague
5 days
herO vs TBD
Royal vs Barracks
The PondCast
6 days
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
Sisters' Call Cup
IEM Chengdu 2025
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...

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.