• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 23:59
CEST 05:59
KST 12:59
  • 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 Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18
Community News
Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris34Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195
StarCraft 2
General
A Eulogy for the Six Pool BoxeR's Wings Episode 2 - Fan Translation Greatest Players of All Time: 2025 Update #1: Maru - Greatest Players of All Time Geoff 'iNcontroL' Robinson has passed away
Tourneys
$5,000 WardiTV Summer Championship 2025 Maestros of The Game—$20k event w/ live finals in Paris $5,100+ SEL Season 2 Championship (SC: Evo) Esports World Cup 2025 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
External Content
Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below
Brood War
General
Post ASL20 Ro24 discussion. BGH Auto Balance -> http://bghmmr.eu/ No Rain in ASL20? How do I speak directly to Coinbase?1-(888)-419-97 Recent recommended BW games
Tourneys
[ASL20] Ro24 Group F [IPSL] CSLAN Review and CSLPRO Reimagined! [ASL20] Ro24 Group D [ASL20] Ro24 Group E
Strategy
Muta micro map competition Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread General RTS Discussion Thread Nintendo Switch Thread Dawn of War IV Path of Exile
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 Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread The year 2050 European Politico-economics QA Mega-thread
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 Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s) Gtx660 graphics card replacement
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
How Culture and Conflict Imp…
TrAiDoS
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2500 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
Replay Cast
00:00
SEL S2 Championship: Ro16
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 151
RuFF_SC2 134
ProTech98
StarCraft: Brood War
sSak 161
NaDa 75
Aegong 47
Icarus 13
Dota 2
monkeys_forever619
League of Legends
JimRising 696
Counter-Strike
Stewie2K437
Other Games
summit1g9442
shahzam1072
C9.Mang0459
WinterStarcraft406
ViBE126
Hui .102
singsing62
NeuroSwarm59
Mew2King48
Organizations
Counter-Strike
PGL1437
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• practicex 24
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 1
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo822
Upcoming Events
LiuLi Cup
7h 1m
MaxPax vs TriGGeR
ByuN vs herO
Cure vs Rogue
Classic vs HeRoMaRinE
Cosmonarchy
12h 1m
OyAji vs Sziky
Sziky vs WolFix
WolFix vs OyAji
Big Brain Bouts
12h 1m
Iba vs GgMaChine
TriGGeR vs Bunny
Reynor vs Classic
Serral vs Clem
BSL Team Wars
15h 1m
Team Hawk vs Team Dewalt
BSL Team Wars
15h 1m
Team Hawk vs Team Bonyth
Code For Giants Cup
18h 31m
SC Evo League
1d 8h
TaeJa vs Cure
Rogue vs threepoint
ByuN vs Creator
MaNa vs Classic
Maestros of the Game
1d 12h
ShoWTimE vs Cham
GuMiho vs Ryung
Zoun vs Spirit
Rogue vs MaNa
[BSL 2025] Weekly
1d 14h
SC Evo League
2 days
[ Show More ]
Maestros of the Game
2 days
SHIN vs Creator
Astrea vs Lambo
Bunny vs SKillous
HeRoMaRinE vs TriGGeR
BSL Team Wars
2 days
Team Bonyth vs Team Sziky
BSL Team Wars
2 days
Team Dewalt vs Team Sziky
Monday Night Weeklies
3 days
Replay Cast
3 days
Sparkling Tuna Cup
4 days
LiuLi Cup
5 days
Replay Cast
5 days
The PondCast
6 days
RSL Revival
6 days
Maru vs SHIN
MaNa vs MaxPax
Liquipedia Results

Completed

CSL Season 18: Qualifier 1
WardiTV Summer 2025
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
Acropolis #4 - TS1
CSL Season 18: Qualifier 2
SEL Season 2 Championship
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

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
Skyesports Masters 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 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.