• 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: 1528 users

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

Blogs > stalife
Post a Reply
Prev 1 2 3 All
gumbum8
Profile Blog Joined December 2008
United States721 Posts
January 21 2010 19:44 GMT
#41
Well, I don't know if these last few responses were directed towards me or the OP, but to clarify a little bit, I just want to start learning a simple language. I Would then consider branching outwards, learning how to adjust syntax and perform different actions in languages. So basically what I'm saying is, I'm looking for the best language to begin my quest, that would be simple and user-friendly enough for me to understand with a "for dummies" book.
but really, has anyone REALLY been far even as decided to use even go want to do look more like?
Mastermind
Profile Blog Joined April 2008
Canada7096 Posts
January 21 2010 20:10 GMT
#42
On January 22 2010 04:44 gumbum8 wrote:
Well, I don't know if these last few responses were directed towards me or the OP, but to clarify a little bit, I just want to start learning a simple language. I Would then consider branching outwards, learning how to adjust syntax and perform different actions in languages. So basically what I'm saying is, I'm looking for the best language to begin my quest, that would be simple and user-friendly enough for me to understand with a "for dummies" book.

if you want something simple and user friendly then dont learn C or C++. I would recommend Python. Python is really easy for beginners.
DeathSpank
Profile Blog Joined February 2009
United States1029 Posts
January 21 2010 20:29 GMT
#43
start with c++ and if you feel the need to go to a lower level language go to c. As for books you don't really need one if you understand the fundamentals of programming, like that other guy said www.cplusplus.com or whatever it was; that site is an amazing tool.
yes.
Slithe
Profile Blog Joined February 2007
United States985 Posts
Last Edited: 2010-01-21 20:50:08
January 21 2010 20:38 GMT
#44
Yea as Mastermind said, python's a very good starting choice for a simple, easy to understand language.

On January 22 2010 04:39 spinesheath wrote:
Show nested quote +
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.


Yea I do agree actually that C shouldn't be the first language. To clarify, I was talking about other concepts that are more relevant from a low level perspective, like memory management and data representation. The big picture just makes more sense when you understand what's going on under the hood, and it'll make you a better programmer to be mindful of such things.

Edit: Also, my personal opinion is that c++ is a heinous language for beginners to use, because there's just so much potential for writing terribly flawed code. Also, I hate reading c++ code.
Phrujbaz
Profile Blog Joined September 2008
Netherlands512 Posts
January 21 2010 20:49 GMT
#45
CTStalker is right. C++ has been amazingly useful since it's conception but, as time goes on, it's becoming more and more outdated.

If you start learning how to program now, I wouldn't learn C++. I would learn D.

http://www.digitalmars.com/d/

D is C++ modernized. It's both easier to learn and more powerful, while remaining extremely similar to C++.

Here's a beginner guide http://compsci.ca/v3/viewtopic.php?t=9518
Caution! Future approaching rapidly at a rate of about 60 seconds per minute.
nemomike
Profile Joined March 2005
61 Posts
January 21 2010 20:57 GMT
#46
Well I personally would recommend starting with C, not the other way around.
Best book for beginners imo: http://www.amazon.com/Primer-Plus-5th-Stephen-Prata/dp/0672326965/ref=sr_1_8?ie=UTF8&s=books&qid=1264107017&sr=1-8
And besides K&R: http://www.amazon.com/Reference-Manual-Samuel-P-Harbison/dp/013089592X/ref=sr_1_13?ie=UTF8&s=books&qid=1264107047&sr=1-13
Also, if you want to test yourself and learn something about algorithms and such, try http://www.spoj.pl/ (you can solve problems with many languages).
prOxi.swAMi
Profile Blog Joined November 2004
Australia3091 Posts
January 21 2010 22:48 GMT
#47
I would recommend you try C#.... it is just such a delight to use...
Oh no
coltrane
Profile Blog Joined June 2008
Chile988 Posts
January 21 2010 23:00 GMT
#48
Dont waste your time with c or c#

One is too old, and the other is platform dependant.


learn C++, just because after that almost anything should be easy.
Jävla skit
ygor
Profile Blog Joined April 2004
Slovakia246 Posts
January 21 2010 23:12 GMT
#49
I am in the software development for 5,5years now. My advice is to learn C# or Java.
fabiano
Profile Blog Joined August 2009
Brazil4644 Posts
January 21 2010 23:35 GMT
#50
i do recommend C++, C# and Java. I once wrote a tetris clone in C# that was runnable on PC and XBOX, too bad i didnt have a xbox to test it with the controllers. I used xna game studio 2.0 if i recall correctly, but lost it when my notebook went down.

after learning the language, i strongly recommend you to search for Design Patterns. They are wonderful and will help you to think how to code your systems correctly. Im reading 'head first design patterns' rightnow and it is awesome, very light weight read and fun.

+ Show Spoiler +
LEARN DESIGN PATTERNS!!!! this is fucking awesome.
"When the geyser died, a probe came out" - SirJolt
kli6891
Profile Blog Joined October 2008
United States143 Posts
January 22 2010 00:08 GMT
#51
Would recommend going straight for C++, since it's a superset of C anyway.
Pawsom
Profile Blog Joined February 2009
United States928 Posts
January 22 2010 00:39 GMT
#52
On January 21 2010 23:26 SilverSkyLark wrote:
You can do a whole lot more stuff with C++ as compared to C.


I've never come across a task that could be done in C++ but not C.
swat
Profile Blog Joined January 2008
Australia142 Posts
January 22 2010 00:51 GMT
#53
On January 22 2010 08:12 ygor wrote:
I am in the software development for 5,5years now. My advice is to learn C# or Java.


Listen to this man.
I just graduated and most jobs I am going for want me to have experience mostly in Java, then either c# or .NET then c++.

If you are looking at a job in programming then I seriously suggest you also get a feel for a relational database system (oracle, DB2, sybase etc) and SQL.
coltrane
Profile Blog Joined June 2008
Chile988 Posts
January 22 2010 02:00 GMT
#54
On January 22 2010 09:39 Pawsom wrote:
Show nested quote +
On January 21 2010 23:26 SilverSkyLark wrote:
You can do a whole lot more stuff with C++ as compared to C.


I've never come across a task that could be done in C++ but not C.



there is always a c way to do it. Usually it is way more tricky, long and hard.


Seriously, dont lear c#, learn c++. C# is platform dependant and that is a huge fail.
Jävla skit
iaretehnoob
Profile Joined June 2004
Sweden741 Posts
January 22 2010 11:03 GMT
#55
Multiplatform (most likely) does not matter to somebody just learning to program.
Writing and maintaining a multiplatform program in C++ is not easy.
C# works on Windows, Linux, Mac OS, the Xbox 360 and even some phones and stuff (even if java is probably the better choice there), so yes it's "platform dependant" as it needs a CLR, but it's still not Microsoft-only as most people think when they say "platform dependant".

Once you've used C# you don't want to go back to C++. Sadly there are still situations where using C++ is necessary, but it takes sooo much more work to get anything done.

Java is not a bad choice, even if it has a few things that annoy me and make me prefer C#.
Python really is another great choice, I think you could be even more productive with Python.
Both C# and Python also allow a slow introduction of functional concepts later, which is great since Lisp and friends have a rather steep early learning curve imo, especially if you're learning on your own.
CTStalker
Profile Blog Joined November 2004
Canada9720 Posts
January 22 2010 12:38 GMT
#56
iaretehnoob is right. but once you do learn Lisp, you'll never go back
By the way, my name is Funk. I am not of your world
raylu
Profile Joined August 2006
United States6 Posts
January 24 2010 23:30 GMT
#57
On January 22 2010 20:03 iaretehnoob wrote:
Multiplatform (most likely) does not matter to somebody just learning to program.
Writing and maintaining a multiplatform program in C++ is not easy.
C# works on Windows, Linux, Mac OS, the Xbox 360 and even some phones and stuff (even if java is probably the better choice there), so yes it's "platform dependant" as it needs a CLR, but it's still not Microsoft-only as most people think when they say "platform dependant".


Mono only supports 2.0 and some of 3.0. The .NET framework is at 3.5.
o.0?
Prev 1 2 3 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...

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.