• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 11:19
CET 17:19
KST 01:19
  • 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 Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
ComeBackTV's documentary on Byun's Career !1Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win1Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
ComeBackTV's documentary on Byun's Career ! Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win Did they add GM to 2v2? RSL Revival - 2025 Season Finals Preview Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship StarCraft2.fi 15th Anniversary Cup RSL Offline Finals Info - Dec 13 and 14! Tenacious Turtle Tussle
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
How Rain Became ProGamer in Just 3 Months FlaSh on: Biggest Problem With SnOw's Playstyle [BSL21] RO8 Bracket & Prediction Contest BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion
Tourneys
[Megathread] Daily Proleagues [BSL21] RO8 - Day 2 - Sunday 21:00 CET [ASL20] Grand Finals [BSL21] RO8 - Day 1 - Saturday 21:00 CET
Strategy
Simple Questions, Simple Answers Current Meta Game Theory for Starcraft Fighting Spirit mining rates
Other Games
General Games
Nintendo Switch Thread PC Games Sales Thread Stormgate/Frost Giant Megathread Path of Exile Dawn of War IV
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
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread European Politico-economics QA Mega-thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
ゼントレーダーについて
Tech Support
Employee Retention in Behavioral Health: Building Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
How Sleep Deprivation Affect…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1534 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 States2802 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
Croatia9527 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
WardiTV 2025
12:00
Playoffs
Reynor vs ClemLIVE!
uThermal vs Shameless
Nice vs YoungYakov
WardiTV1409
ComeBackTV 656
TaKeTV 359
IndyStarCraft 226
Rex130
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko453
IndyStarCraft 226
ProTech133
Rex 130
trigger 38
DivinesiaTV 22
StarCraft: Brood War
Jaedong 2162
Rain 1760
Bisu 1637
Larva 1027
Soma 838
Light 440
actioN 350
BeSt 316
Stork 290
Snow 267
[ Show more ]
Mini 253
EffOrt 196
hero 157
Zeus 146
firebathero 122
Hyun 66
LaStScan 66
Sea.KH 46
Killer 44
Mind 37
sas.Sziky 34
JYJ 31
sorry 31
yabsab 28
Aegong 22
Shine 20
Terrorterran 17
Mong 13
NaDa 6
Dota 2
Gorgc6485
qojqva3389
Dendi521
syndereN397
BananaSlamJamma291
420jenkins271
XcaliburYe136
Counter-Strike
byalli404
markeloff146
Other Games
B2W.Neo1985
FrodaN1287
hiko613
Fuzer 302
DeMusliM275
ArmadaUGS167
QueenE86
Trikslyr47
Beastyqt34
Organizations
StarCraft: Brood War
lovetv 5
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• poizon28 15
• Hinosc 2
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• HerbMon 20
• blackmanpl 13
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV786
• Noizen53
League of Legends
• Jankos3101
• TFBlade1367
Upcoming Events
PiGosaur Cup
8h 41m
WardiTV 2025
19h 41m
MaNa vs Gerald
TBD vs MaxPax
ByuN vs TBD
TBD vs ShoWTimE
OSC
22h 41m
YoungYakov vs Mixu
ForJumy vs TBD
Percival vs TBD
Shameless vs TBD
The PondCast
1d 17h
WardiTV 2025
1d 20h
Cure vs Creator
TBD vs Solar
WardiTV 2025
2 days
OSC
2 days
CranKy Ducklings
3 days
SC Evo League
3 days
Ladder Legends
4 days
[ Show More ]
BSL 21
4 days
Sparkling Tuna Cup
4 days
Ladder Legends
5 days
BSL 21
5 days
Replay Cast
5 days
Monday Night Weeklies
6 days
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
WardiTV 2025
META Madness #9
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 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...

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.