• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 06:37
CEST 12:37
KST 19:37
  • 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
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Weekly Cups (June 30 - July 6): Classic Doubles0[BSL20] Non-Korean Championship 4x BSL + 4x China7Flash Announces Hiatus From ASL63Weekly Cups (June 23-29): Reynor in world title form?13FEL Cracov 2025 (July 27) - $8000 live event22
StarCraft 2
General
Weekly Cups (June 30 - July 6): Classic Doubles Program: SC2 / XSplit / OBS Scene Switcher The SCII GOAT: A statistical Evaluation Statistics for vetoed/disliked maps Weekly Cups (June 23-29): Reynor in world title form?
Tourneys
RSL: Revival, a new crowdfunded tournament series FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays Korean Starcraft League Week 77
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
ASL20 Preliminary Maps SC uni coach streams logging into betting site Player “Jedi” cheat on CSL Flash Announces Hiatus From ASL BW General Discussion
Tourneys
[BSL20] Grand Finals - Sunday 20:00 CET [BSL20] Non-Korean Championship 4x BSL + 4x China CSL Xiamen International Invitational The Casual Games of the Week Thread
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread What do you want from future RTS games? 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
US Politics Mega-thread Stop Killing Games - European Citizens Initiative Summer Games Done Quick 2024! Summer Games Done Quick 2025! Russo-Ukrainian War Thread
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 686 users

Learning C/C++ from beginning? - Page 2

Blogs > stalife
Post a Reply
Prev 1 2 3 Next All
Cloud
Profile Blog Joined November 2004
Sexico5880 Posts
Last Edited: 2010-01-21 14:36:10
January 21 2010 14:19 GMT
#21
c/c++ how to program by deitel&deitel.

Imo. Don't waste your time in C

Just like, if you were starting with engineering and wanted some background. Don't start with html, learn c++ or java or algorithms at least. Leave html for the tools.
BlueLaguna on West, msg for game.
EsX_Raptor
Profile Blog Joined February 2008
United States2801 Posts
January 21 2010 14:25 GMT
#22
"A Book on C : Programming in C", 4/e, A. Kelley & I. Pohl, 1998

There's no better book than that one to learn C.
SilverSkyLark
Profile Blog Joined April 2008
Philippines8437 Posts
January 21 2010 14:26 GMT
#23
Go start with C++ - that's depending on your skill of course.

You can do a whole lot more stuff with C++ as compared to C.

"If i lost an arm, I would play w3." -IntoTheWow || "Member of Hyuk Hyuk Hyuk cafe. He's the next Jaedong, baby!"
CTStalker
Profile Blog Joined November 2004
Canada9720 Posts
January 21 2010 14:56 GMT
#24
how is learning C first a waste of time? lol. if you learn C you'll have no problem picking up java, python, javascript, actionscript, ruby, etc etc. and if you learn lisp, you'll actually be able to take advantage of the functional features of those languages, like closures and other first-class jazz.

learning C++ is a waste, because it's such a terribly designed language. the feature set is massive, and having to manually allocate memory in a language that deals with high-level concepts like polymorphism is really stupid.

that's my incredible bias, anyway. i know google uses c++ a lot, and if you want to work with directx or opengl, you'll need it. but if you want to program for the web: it's a waste of time.

and proom, jokes like that stopped being funny like 8 years ago. gc and the jvm have come a long way
By the way, my name is Funk. I am not of your world
spitball
Profile Blog Joined August 2008
Australia81 Posts
January 21 2010 15:08 GMT
#25
On January 21 2010 23:56 CTStalker wrote:
how is learning C first a waste of time? lol. if you learn C you'll have no problem picking up java, python, javascript, actionscript, ruby, etc etc. and if you learn lisp, you'll actually be able to take advantage of the functional features of those languages, like closures and other first-class jazz.


I think what they mean is if you plan on learning C++ then you shouldn't think of C as some kind of stepping stone.

Anyway, if you don't end up going with C++ then I would recommend either Python or Ruby. I think both are good languages to start with.
Cambium
Profile Blog Joined June 2004
United States16368 Posts
January 21 2010 15:53 GMT
#26
Thinking in C++
Effective C++

Hands down.
When you want something, all the universe conspires in helping you to achieve it.
Adeny
Profile Blog Joined January 2009
Norway1233 Posts
January 21 2010 16:11 GMT
#27
On January 21 2010 23:56 CTStalker wrote:
how is learning C first a waste of time? lol. if you learn C you'll have no problem picking up java, python, javascript, actionscript, ruby, etc etc. and if you learn lisp, you'll actually be able to take advantage of the functional features of those languages, like closures and other first-class jazz.

learning C++ is a waste, because it's such a terribly designed language. the feature set is massive, and having to manually allocate memory in a language that deals with high-level concepts like polymorphism is really stupid.

that's my incredible bias, anyway. i know google uses c++ a lot, and if you want to work with directx or opengl, you'll need it. but if you want to program for the web: it's a waste of time.

and proom, jokes like that stopped being funny like 8 years ago. gc and the jvm have come a long way


C will teach you java better than C++? What are you drinking son, first of all the syntaxes are relatively similar and won't give you any problems. Second of all, OOP. Nowadays I see no reason to learn C unless you're dead set on building OSes, in which case, learn C++ first anyways then downgrade to C. Until you get to learning OOP in C++, you're pretty much learning the exact same thing as you would be learning in C anyways. Just learn the basics of C++ and then take it from there.
2Pacalypse-
Profile Joined October 2006
Croatia9497 Posts
January 21 2010 16:26 GMT
#28
These C bashers reminds me so much of this article.

Moderator"We're a community of geniuses because we've found how to extract 95% of the feeling of doing something amazing without actually doing anything." - Chill
CTStalker
Profile Blog Joined November 2004
Canada9720 Posts
Last Edited: 2010-01-21 16:38:12
January 21 2010 16:32 GMT
#29
the guy already knows java. learning C will solidify his knowledge of C-like languages. he already (presumably) has a grasp on OOP -- he certainly doesn't need the cluster-fuck that is C++ to teach him that. C is simple, C is straight-forward. and it will help you wherever you program imperatively

edit: actually i re-read the OP, and it sounds like he's just interested in learning programming as a hobby? if that's the case, object-oriented programming won't mean a dang to him anyway
By the way, my name is Funk. I am not of your world
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
January 21 2010 17:08 GMT
#30
I am currently reading the C++ Programming language by Stroustrup. I have been using C++ for years now, with my most important source being the internet (cplusplus is a good reference site indeed, but I doubt it'll help you with learning how to write good code).

The book by Stroustrup probably is a bit hard if you are just starting, but depending on how much Java you actually know it could be enough.

I strongly advise against learning C before C++. At least don't spend more than a month on it. You WILL pick up bad habits and it'll be hard to get rid of the C mentality and into object orientation. You will write bad C++ code if you start with C. I'm talking out of my own experience and know several people who had/have that problem. Because the languages are so similar syntactically you will have a hard time switching your progamming mentality.
C++ is not harder to learn than C. Any decent C++ book/tutorial will still teach you how to do imperative programming (like C) but it won't go into detail as much as a C book would. There is not too much to gain from purely imperative programming anyways (large imperative projects are almost unmanageable).

After some time I found the c++-faq-lite which imo is a really great source if you got a decent understanding of the syntax and want to get a proper C++ mentality. All the reference sites are nice and all, but after reading this faq my C++ immediately became MUCH more clean and efficient. Read it.

C++ isn't very useful if you don't have to worry about performance. Pick any of the garbage collected and well portable languages if you don't need performance.
If you have a good reason to disagree with the above, please tell me. Thank you.
celeste
Profile Joined January 2010
England45 Posts
January 21 2010 17:18 GMT
#31
I completely back cpluscplus.com and the Accelerated C++ book

learncpp.com is also a really nice site for learning, the author answers virtually every question made in the comments

I really hope this thread doesn't degenerate into an argument over which language to learn
dinmsab
Profile Blog Joined January 2008
Malaysia2246 Posts
January 21 2010 17:19 GMT
#32
On January 21 2010 23:19 Cloud wrote:
c/c++ how to program by deitel&deitel.

Imo. Don't waste your time in C

Just like, if you were starting with engineering and wanted some background. Don't start with html, learn c++ or java or algorithms at least. Leave html for the tools.


I've learned c++, java and c with Deitel books. Would totally recommend those.
..
raylu
Profile Joined August 2006
United States6 Posts
January 21 2010 18:08 GMT
#33
On January 21 2010 19:02 Marradron wrote:
For what purpose ?

You might as well learn c# or something like that. seems a bit more advanced than c++

What are you talking about? C# is certainly newer, but not more advanced.

I second the recommendation for K&R for C. That said, if you're only interested in programming as a hobby and are only interested in developing on Windows, C# is probably a better choice than either C or C++.
o.0?
JiYan
Profile Blog Joined February 2009
United States3668 Posts
January 21 2010 18:15 GMT
#34
xD i thought this was about starcraft
QuickSandSlowly
Profile Blog Joined January 2008
China95 Posts
January 21 2010 18:25 GMT
#35
Google Karel, also C++ for everyone.
jijibulei ggplay
gumbum8
Profile Blog Joined December 2008
United States721 Posts
January 21 2010 19:12 GMT
#36
I have a question while we're on the subject...
Say I'm a programming n00b. The best I've ever done is making a guessing game with numbers 1-20 in python.
My goal is to make fun or useful programs with programming, not necessarily full fledged games, but just useful programs that could serve some general purpose on my computer.
Anyone have a language recommendation?
but really, has anyone REALLY been far even as decided to use even go want to do look more like?
Slithe
Profile Blog Joined February 2007
United States985 Posts
January 21 2010 19:20 GMT
#37
I think learning C is much better for gaining good fundamentals and understanding basic principles of programming.

C++ is far too bulky and cluttered for a beginner in my opinion. I don't think you'll gain much by learning C++ unless you have a specific purpose or reason for using it.

If learning through books isn't your cup of tea, the lectures for the introductory CS courses at UC Berkeley are available via youtube. The first few lectures of CS61C go over basic C concepts.

Also, as a Berkeley grad I'm obligated to recommend learning Lisp/Scheme first, in which case you should go through the CS61a series of lectures.

Aim Here
Profile Blog Joined December 2009
Scotland672 Posts
January 21 2010 19:23 GMT
#38
Python is actually a good choice for a general programming language. It's a very nice language
with clean syntax, and because it's popular among developers, there are now plenty of libraries that allow you to do almost anything you like in python, including some fairly popular programs - most bittorrent clients I've ever used have been written in it, for example, and civ4 used it as the main scripting language.

It doesn't hurt to learn a few other languages, anyways, to see how the rest of the world lives, but you've started off well!

uberMatt
Profile Joined May 2004
Canada659 Posts
January 21 2010 19:23 GMT
#39
k&r for c
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
January 21 2010 19:39 GMT
#40
On January 22 2010 04:20 Slithe wrote:
I think learning C is much better for gaining good fundamentals and understanding basic principles of programming.

C++ is far too bulky and cluttered for a beginner in my opinion. I don't think you'll gain much by learning C++ unless you have a specific purpose or reason for using it.


I would suggest a hgher-level language than C if all you want is a good understanding of basic principles. Java, Python and the likes probably would be good choices. With C, you'll most likely just end up doing tons of low level stuff, which doesn't teach you a lot of important concepts. Getting good at pointer arithmetics and typecasting is all nice, but it's no basic principle of progamming.

If you start C++ properly and make extensive use of the Standard Library, it isn't bulky/cluttered imo. If you mix imperative and OO programming it indeed is messy.
If you have a good reason to disagree with the above, please tell me. Thank you.
Prev 1 2 3 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 23m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Creator 98
Rex 14
StarCraft: Brood War
Hyuk 629
Soma 494
Pusan 472
Jaedong 363
Stork 330
Sharp 176
Larva 171
Soulkey 144
ZerO 135
sorry 128
[ Show more ]
sSak 82
Shine 56
yabsab 54
Snow 47
JulyZerg 33
Aegong 31
Mind 27
Free 24
zelot 24
Movie 9
IntoTheRainbow 9
ivOry 2
Dota 2
XcaliburYe606
XaKoH 493
syndereN183
League of Legends
singsing278
rGuardiaN47
Counter-Strike
x6flipin397
allub135
Super Smash Bros
Mew2King250
Other Games
Pyrionflax324
crisheroes278
SortOf156
ZerO(Twitch)21
Organizations
Other Games
gamesdonequick29158
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota2232
League of Legends
• HappyZerGling98
Other Games
• WagamamaTV169
Upcoming Events
Wardi Open
23m
Replay Cast
13h 23m
Sparkling Tuna Cup
23h 23m
WardiTV European League
1d 5h
MaNa vs sebesdes
Mixu vs Fjant
ByuN vs HeRoMaRinE
ShoWTimE vs goblin
Gerald vs Babymarine
Krystianer vs YoungYakov
PiGosaur Monday
1d 13h
The PondCast
1d 23h
WardiTV European League
2 days
Jumy vs NightPhoenix
Percival vs Nicoract
ArT vs HiGhDrA
MaxPax vs Harstem
Scarlett vs Shameless
SKillous vs uThermal
uThermal 2v2 Circuit
2 days
Replay Cast
2 days
RSL Revival
2 days
ByuN vs SHIN
Clem vs Reynor
[ Show More ]
Replay Cast
3 days
RSL Revival
3 days
Classic vs Cure
FEL
4 days
RSL Revival
4 days
FEL
5 days
FEL
5 days
Sparkling Tuna Cup
5 days
RSL Revival
5 days
FEL
6 days
Liquipedia Results

Completed

BSL Season 20
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
CSL Xiamen Invitational
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.