• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 06:52
CEST 12:52
KST 19:52
  • 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
Flash Announces Hiatus From ASL50Weekly Cups (June 23-29): Reynor in world title form?12FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
How does the number of casters affect your enjoyment of esports? The GOAT ranking of GOAT rankings The SCII GOAT: A statistical Evaluation Statistics for vetoed/disliked maps Esports World Cup 2025 - Final Player Roster
Tourneys
https://www.facebook.com/MiracleSheetsOnline/ RSL: Revival, a new crowdfunded tournament series [GSL 2025] Code S: Season 2 - Semi Finals & Finals $5,100+ SEL Season 2 Championship (SC: Evo) FEL Cracov 2025 (July 27) - $8000 live event
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Player “Jedi” cheat on CSL Unit and Spell Similarities Help: rep cant save Flash Announces Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET 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 Nintendo Switch Thread Path of Exile 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 Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Trading/Investing Thread The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread NBA General Discussion Formula 1 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: 659 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
RSL Revival
10:00
Season 1: Playoffs Day 2
herO vs SHIN
Reynor vs Cure
Tasteless776
3DClanTV 90
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Crank 1470
Tasteless 776
Harstem 155
IndyStarCraft 134
Rex 120
StarCraft: Brood War
Calm 9425
firebathero 6453
Rain 4906
Horang2 1572
Jaedong 1467
Larva 584
Pusan 484
actioN 394
BeSt 299
Leta 275
[ Show more ]
EffOrt 170
Light 145
Mini 142
ToSsGirL 130
Rush 122
Hyun 108
PianO 80
Mong 55
JulyZerg 42
Mind 41
JYJ39
Killer 37
Backho 24
NaDa 22
HiyA 21
sSak 17
Sharp 17
Sacsri 13
zelot 12
Shinee 11
Snow 9
Movie 7
IntoTheRainbow 7
SilentControl 5
Bale 4
hero 4
Barracks 3
Dota 2
XcaliburYe760
XaKoH 408
420jenkins305
League of Legends
JimRising 337
Counter-Strike
shoxiejesuss872
Stewie2K558
allub254
Other Games
DeMusliM412
Pyrionflax242
ArmadaUGS93
rGuardiaN53
Lowko34
Organizations
StarCraft 2
ComeBackTV 548
IntoTheiNu 37
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH265
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 1
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt468
Upcoming Events
OSC
2h 8m
WardiTV European League
5h 8m
Scarlett vs Percival
Jumy vs ArT
YoungYakov vs Shameless
uThermal vs Fjant
Nicoract vs goblin
Harstem vs Gerald
FEL
5h 8m
Big Brain Bouts
5h 8m
Korean StarCraft League
16h 8m
CranKy Ducklings
23h 8m
RSL Revival
23h 8m
FEL
1d 5h
RSL Revival
1d 23h
FEL
2 days
[ Show More ]
BSL: ProLeague
2 days
Dewalt vs Bonyth
Replay Cast
3 days
Sparkling Tuna Cup
3 days
The PondCast
4 days
Replay Cast
5 days
RSL Revival
5 days
Replay Cast
6 days
RSL Revival
6 days
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
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
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...

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.