Jul 27, 2008

Best Way To Learn C++?

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > C/C++ Programming
Pages: 1, 2

free web hosting

Best Way To Learn C++?

Silivar
I've been wanting to learn C++, but I'm not really sure where to get started. I was gonna look into online tutorials, but a friend told me I won't get anywhere without books. I don't really care about anything he says, though, so I figured it would be best to ask someone who knows.

Can I learn simply from online tutorials and reading, or should I actually buy books on C++? If so, what should I buy? I don't know what would be a good one to get started with.

Thanks.

Reply

sniperkiller
Well... it depends on what you are going to do with the c++ knowledge...
If you want to build your own programs or anything like that you should buy some books, but first start with the online tutorials.
The online tutorials only show you the very basic of programming a language.
But if you only want to experiment with c(++), you should find yourself a project which you interest, for my example: a game (modification).

Reply

osknockout
Lol. You probably should get some books. There's also the option of free books available
in pdf or html format out there. Here's a good starting link for that type of stuff.

However, if you were to actually go out there and buy/read a book, I'd suggest getting at least one primer book and one reference book. Because you'll be flipping through the first one a lot when you begin and some more when you're learning new techniques. And you'll be flipping through the second one fine-tuning them until you've almost memorized certain sections.

I myself used the Learn C++ in 21 Days series for a while as a primer. It's alright if you're used to their technique. But for a reference, I'd suggest
C++: The Complete Reference, Fourth Edition. Probably one of the best ones I've seen.

Reply

t3jem
It depends on how much you want to program in C++. I used a book, but it was a very old one from my dad and I couldn't use online tutorials because I was using dial-up at the time. I would suggest starting with online tutorials. Some tutorial sites can be very helpful. I learned OpenGL mostly from an online tutorial site. If you find the right website, you can learn everything you need. I would suggest going to http://gamedev.net/ because they have some affiliates that are very helpful and if you get good enough you can even participate in their contests.

Hope this helps

Reply

matak
What is the best FREE Windows compatible tool for (writing and) compiling C, or C++ (maybe even C# code)..

Reply

fffanatics
Use visual studio express to write c, c++ and c# code. It is a free version of vistual c++ and has everything you will need. Your other free option is to downliad the eclipse ide and install the C development package for it. Both are good solutions but visual studio express is a lot easier to use and install.

Reply

saga
You need a book. Online resources are needed too to develop your skills. Sample working programs that you can study and learn are abundant online. Try reading C++ codes so that you may learn some programming techniques.

One book is not enough if you are really serious about C++ programming.

The most important book you need is a reference book. C++ programming has a lot of standard classes that are useful and these classes has lots of methods and properties and it would be impossible for you to memorize all of it. Thats why you need a book of reference.

QUOTE
The C++ Programming Language
by Bjarne Stroustrup

is a good book in understanding the nature of C++ and it can also serve as a reference book becuase in this book the author (the developer of C++ itself) discusses the standard libraries of C++.

If you are into graphics you need to buy a different book for it, the same if you are into mathematical problems.

There is no one book that explains all the standard libraries in details since it will consume 10,000 pages or more.

THe best approach is buy a book that will teach you the basic of C++ and the basic of the concept of object oriented programming. After you have gained enough knowledge about the basic buy a reference book and some books that discusses advance C++ programming technique. From here on start creating small size programs (1000 lines) or read codes from programs found online and try to understand them. THis will help you develop your programming skills. Reading is one thing but practicing is another thing.

A good free tool for C++ programming is the Bloodshed Dev-C++ IDE with compiler. This package comes with a WIN32 API library which is use in Windows GUI programming. THere is also the NetBeans IDE with compiler which is primarily for Java but you can download an expansion pack that will enable the IDE to work in C, C++. THe expansion pack comes with a C, C++ compiler. But of course you need to install the latest version of Java to run NetBeans.

 

 

 


Reply

osknockout
Alternatively (or in combination I presume) , matak, you can use the mingw system for Windows. It's meant to emulate a unix development system in minimalist mode. I wouldn't suggest going for this straightaway, but if you feel you can handle trying a set which allows for cross-platform code development while handling its respective issues, go for it.

Reply

hitmanblood
In my humble oppinion you don;t need to buy boooks to learn C++. Instead of that use online resources available to everyone and there are good free books also at WIKIBOOKS which are free and most parts are nicely written.

But for the most part and the best way of learning computer language is with practice because practical knowledge cannot be compared with the practical knowledge most important thing for you is that you found yourself bunch of problems and try to solve them in C++. Alternatively if you found some problem which you cannot solve community here will help you for certain.

Best Luck In your learning

Also I would suggest learning JAVA if you don't need speed for your developed applications.

Reply

rize619
when u think u have command on looping skills then try this assignment out
make a program that print this on the screen using LOOPS

1.
*
**
***
****
*****

2.
*****
****
***
**
*

3.
*
**
***
****
*****
****
***
**
*

and so on ...

Reply

Latest Entries

shahrukhmalik3.142
I learnt my C++ from books.
Introduction to Object Oriented Programming with C++ by Robert Lafore is the easiest one (in my opinion).
It takes you to the OOP level very quickly. Unlike other books I have read, it made OOP really easy to understand and practice.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Recent Queries:-
  1. the best way to learn c - 12.77 hr back. (1)
  2. nature of c - 16.51 hr back. (2)
  3. best c complier to use to learn c - 48.11 hr back. (1)
  4. best book to learn c c for a php developer - 56.16 hr back. (1)
  5. best way to learn to program with c - 57.86 hr back. (1)
  6. best book to learn c - 58.74 hr back. (1)
  7. learn c different way - 74.46 hr back. (1)
  8. free download of c by robert lafore - 97.49 hr back. (2)
  9. best and easy to understand book of c - 98.10 hr back. (1)
  10. best book to learn html pdf - 111.89 hr back. (2)
  11. easiest way to learn c - 123.28 hr back. (1)
  12. best way to learn c - 128.09 hr back. (1)
  13. nature of c - 136.24 hr back. (1)
  14. learn c package - 141.91 hr back. (1)
Similar Topics

Keywords : learn, c,

  1. Perl Regular Expresions Regex
    Learn how to use regular expressions (2)
  2. A Prelude To Programming
    What to learn? How to learn? (9)
    I'm quite interested in learning programming. I want to know how us eager souls can go about
    doing that. I'm interested in both web and desktop programming. I already know XHTML & CSS. Any
    recommended books?....
  3. Learn Java Programming Language Online Step By Step
    (0)
    I had found this site >> http://learnjava.awardspace.com This website is for people who want
    to learn Java Programming Language step by step. This website also includes JAVA lessons from the
    beginning to advanced level. So this site appropriates for the beginner of Java programmer language
    or non-basic Java Programming Language. The lessons are easy to follow and understand starting
    from how to get your PC JAVA ready, the fundamental programming concept and creating the real
    application. Moreover, the working examples are also included. Please enjoy the les....
  4. Team Fortress 2 Professional Spy Guide
    I wrote this guide for people who want to learn how to play Spy (1)
    I quoted so I don't get free points QUOTE(AmirBorna) Best Spy Tips : Image not
    created by me. 1) You're a support class, so do some supporting: You're the only class
    that can get into the enemy ranks/base and do some damage in secret, so use that to your
    advantage, and make a mental list of everything the enemy has. Then use your abilities to take out
    each one, in order of importance. If there's a Sniper demolishing every teammate that comes
    near their team, find a good time to backstab him. If a heavy weapons is just flattening everyone....
  5. Learn Html, Css, C And C++ Online For Free
    Wanna learn to write programs and/or make websites? You can do it fre (12)
    Have you ever used an application or played a game and thought, "If you could only..." or "If I knew
    how I would add..." but didn't know where to start? I did and decided to do a lil research. I
    came across a site with great tutorials. There are many ranging from beginner all the way to
    advanced. After each tutorial there is a test to practice what you just learned. I dunno if I am
    allowed to post the url to these sites here due to spam filters but I will say that if you search
    for "c programming" in any major search engine it should be the first link (after the....
  6. Give Me A Little Space, Please! [denied]
    I like a free host for learn (3)
    I'm testing joomla CMS, so i neea a free php host for testing. I'm looking that. I found
    your site on google, and your speed is so good, so i register one nick at here, i wish you send to
    me a litte space on your host. Thank you! Best Regard!....
  7. Cool Site To Learn Languages
    Learn to speak in Native accent (4)
    http://www.livemocha.com/ Discovered this site months before. And also I took some classes. I
    should say this is really cool one. Try it. Learn new languages in a social way with LiveMocha.
    Livemocha is the first-of-its-kind online language-learning community. With fun and interactive
    lessons that move at the right pace for you. You can access their team of passionate language tutors
    and start track your progress to reach your goals. Learn, practice, and share. Learn these
    languages: English, French, Hindi, German, Spanish and Mandarin Chinese, among other....
  8. You Need To Be Bold To Be Unselfish
    Lets Learn from Abraham of the Bible (2)
    Abraham and Lot who started together separated from each other on their way due to a quarrel that
    erupted between their herdsmen. Even though Abraham was elder to Lot and had every right to choose
    first, he was so gracious to offer the choice to Lot. When Lot selected the best of the land,
    Abraham gladly consented. Doesn’t this show the magnanimity of Abraham? In another incident, we read
    that four great kings came against Sodom, the place where Lot lived, seized all the goods and the
    people living in it, including Lot and his possessions. When Abraham heard this he imm....
  9. Css- Review With Tutorial
    If u r learning CSS, learn it with me. (2)
    Are u still using html ? My friends, Html is not very effective tool for website page making. Iam
    webdeveloper. When I was new, I spend the whole day in website adjusting layouts, putting table tags
    and blank spacer images and large text images with exact font sizes. When a client suddenly changed
    his decision on the layout I change lot of webpages. It was really painful. If you decide to modify
    design layout of your pages there will also editing and reediting . Now I say bye-bye to html
    because iam using cascading style sheets (CSS). CSS is solution of all above pr....
  10. Tutorial On How To Compile Your Own Mangos World Of Warcraft Private Server.
    A great way to learn about how big MMORPGs work and are built. (2)
    ==================== | Disclaimer Please read | ==================== This is an
    educational project ONLY! It is NOT MENT TO BE RAN AS A PUBLIC SERVER! If you do run a
    public server it MAY be against Blizzard's (World of Warcraft's parent company) EULA and you
    will void any agreements including the right to play on their servers. They will DELETE YOUR ACCOUNT
    and possibly ban you from their servers all together. I am writing this to help you learn what goes
    into making a big time MMORPG and possibly get people into learning about video game prod....
  11. Fruity Loops Tutorials-arpiggeator
    learn to use an arpiggeator giving stunning mellodys to bland chords (0)
    Software/Fruity loops. Tutorial covering / arpiggeator VST Used / Nexus (you can use nearly all
    other VST plugins as most if not all of them have a built in arpiggeator) Tutorial level /
    Begginer-Intermedeate/ Files /arp piano+chord.mp3/arp alone.mp3/no arp piano+chord.mp3/arp piano
    low.mp3/no arp piano alone.mp3/arp tutorial midi.mid/ you can obtaine the midi file here
    --------------------------------------- you can obtaine the mp3 files here
    --------------------------------------- Welcome to my tutorial on the effect called arpiggeator.
    the arpiggeator/arp i....
  12. Where Is There A Good Site To Learn Web Html?
    (18)
    im a noob when it comes to web html to design web sites, can some one tell me where to find a good
    website that has good tutorials on how to use web html?....
  13. How Will She Ever Learn?
    spoiled rotten, and will never change (12)
    Ok so basically im sick and tired of my boyfriends younger sister shes 16 and gets her way on
    EVERYTHING. She told my boyfriend that he isn't her brother if he is with me. We have been
    together for 5 years believe me nothing will change that. He was nice enough to add her to our
    cellphone lines. Well she took advantage and ran us $500 into overage charges. We had been
    telling her for 3 months that she needed to straighten up and watch the minutes. Well running us
    into that much in overages was the last straw we called customer service and had her cellphone repor....
  14. Photoshop -- Double Stroke
    Learn to create a neat-o text effect (2)
    Lets do this! 1. Create a new photoshop document with the dimensions 88x31. If your lost
    already... quit. 2.Alright make some random background and then put some random black-colored
    (#000000) text on it. Kind of like the picture below. 3. Select the text layer you have just
    created and click on the little f symbol near the bottom of the layer window. A sub menu should pop
    up. Click on stroke. 4. Some editing window should appear. Change all the values to what you
    see in the following image, make sure the stroke color is white (#FFFFFF). After this tu....
  15. Php Random Titles
    Learn to create neat-o random titles! (11)
    PHP Random Titles Description Ever wondered how some websites (ex:spoono.com) have those cool-o
    random titles appearing in the title bar? Now you get to learn how to do it using PHP. We will be
    using our knowledge of Variables and Echos in this tutorial. Try It Out Creating the code itself
    is fairly easy. To start, lets create some of our different titles. Code CODE <?php
    $title[1] = "This will be more fun that that time - never mind...";
    $title[2] = "Another random title... neat eh?"; $title[3] = ....
  16. Asian Food Recipes
    Recipe to learn how to cook Asian food (3)
    Hi All, I would like to share my knowledge of cooking Thai and Burmese food. In the same way, I am
    interested to learn how to cook other Asian Food (Chinese Food, Japanese Food, Korean Food, Indian
    Food, Malaysian Food, Indonesian Food, etc) Therefore, if you have any recipe, I would like to
    request you to post in here and share others. /wink.gif" style="vertical-align:middle" emoid=";)"
    border="0" alt="wink.gif" /> I would like to start with my favorite one: Thai Tom Yum Soup. It is
    easy to cook and very tasty. MAIN INGREDIENTS: Lemon Grass, Galangal, Lime Leaves, ....
  17. Html Legend
    Learn how to create a handy legend with HTML! (9)
    I think this is pretty neat... good for those people who maybe aren't that great at designing
    things but still want something to look nice.. CODE <fieldset> <legend>Legend
    title</legend> Content </fieldset> try it in note pad.. it looks nice...good for
    forums, sign up forms.......
  18. History Of Eu Countries - What Shall Kids Learn In School?
    (9)
    As you probably know, European Union wants to introduce universal history handook for all students
    in countries that belong to EU. In may 2007 there was a big debate about it on some meeting and
    Polish minister of education as the only one, criticized the idea. He is some kind of nationalist
    but this is not the point. The point is - do you think that it is possible to create the same
    handbook for all European countries keeping in mind their completely different histories? Do you
    think that is is possible to make a list of most importan events in European history that cou....
  19. How Do I Learn Web Design?
    Not coding, i can code well already but how to make it look good? (48)
    Hi all. In my quest to become a website creator I have a big obstacle.. when it comes to design, eg
    making things look good i might as well be blind. Im useless! I can code to a decent standard
    in HTML PHP CSS MYSQL and JS but i am useless at making a nice design. So wha im after is advice on
    how to learn this, what i fear is a response of "you can *learn* how to design, you either can or
    you cant.". Its really important that im able to design a nice looking website because not many
    people have a concise set of drawings from which to code the website. Any advice ....
  20. Disabling Safe Boot On Windows Xp
    Learn how to do it (1)
    I know that there has been many at times, when for some reason or the other, people would want to
    disable the ability of Windows XP to boot into safe mode. Even though that this is not a very thing
    advisable thing to do, but still, people, due to some reasons best known to them would always want
    to do this. The other day, a friend of mine who works in (manages is the right word) a cyber cafe
    was heads over toes, trying to figure out to to disable the safe mode boot in Windows XP. His
    reason..... customers are hacking into their computers and browsing free of charge by b....
  21. Learn Html Quick And Easy
    HTML, javascript, and CSS (14)
    well eversince i got interested in web desighn i've looked for tutorials but they where not that
    helpfull and uderstanderble but there where two web sites that i liked 1. my favorite one was
    htmldog it had tutorials on HTML, CSS, and a little bit of javascript. they where very
    comprehenseve . and i read through all of them, understoode them, in about less than a week. also
    has full references for HTML, and CSS tags. 2.since html dog did not provide realy good javascript
    tutorial i looked to w3school for that while it wasnt very understandable too me, maybe it....
  22. Learn Russian
    Basic Stuff You Need To Know (7)
    Learning Russia Lesson 1 - Basic Words ~~~~~~ Hello - privyet (informal hello) Hello - zdrastye
    (formal hello) Bye - poka How are you - kak dila Good/Wll - horosho Ok/Normal - normalno Poor/Bad -
    Ploka ---More Words Yet To Come--- ---Study Makes Perfect--- I am going to make a quiz over this
    so you all better be ready =). I hope I inspire you to learn russian. Its a great language plus I am
    russian as a russian respects mother russia we respect all so I am sharing top language (not really
    top) to you. L = Lesson Quiz - Over L1 http://www.quizyourfriends.com/quizp....
  23. Learn To Fly
    Flight Simulator X acts as a potential teaching tool for wannabe pilot (12)
    QUOTE The biggest difference between a video game and a simulator? Realism. Video games are
    meant to entertain, after all. Simulators, on the other hand, are usually educational tools. A few
    games, however, manage to do a bit of both. Flight Simulator X is a good example: it’s not
    only fun, you just might learn something. The vast scope of this Microsoft game will overwhelm at
    first, especially if you’ve never played a flight simulator before. This latest version in
    the venerable 25-year-old franchise packs a dizzying array of features: there are mor....
  24. What Was Your First Computer, And How Did You Learn To Use It?
    After hours of searching which category this fits in, I couldn't f (44)
    Yeah... Me? I don't remember but I am interested to know about you. /tongue.gif"
    style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> I know it may seem a
    stupid question but it interests me. So... What was your first comp and how did you learn to use
    it?....
  25. Wappy's Php Snippets
    I will place here usefull php snippets and functions that i learn/use (13)
    Here is a function you can use to generate a simple random password for whatever use ;-) CODE
    <? function rand_pass($numchar){ $string = str_shuffle
    ("abcdefghijklmnopqrstuvwxyz1234567890"); $password = substr ($string,
    1, $numchar); return ($password); } //example echo
    rand_pass('8'); // will return an 8 character long random password of numbers and
    letters like c8k4ss42 ?> CODE tags added. Here is an extremly usefull search function
    that will search a directory and....
  26. Signature Tutorial
    Learn how to make a complete signature (23)
    Signature Tutorial Hello. A friend of mine made this tutorial for his site, and he
    allowed me to post it here as well. Click here for the original tutorial.
    ______________________________________________ The Background QUOTE 1. OK, lets start by
    creating a 320x100 document with white background in photoshop. Then Press "D" on your keyboard to
    have your colors reseted. 2. Go to "Filter/Render/Clouds". You will have something similiar
    to this: 3. Create a new layer. Then get the brush tool, and start brushing with black color on
    t....
  27. Learn The Ways Of Making Money Online
    This i sMy new Site, Hope it Helps (6)
    Hello Guys, I have made a New Site Enjoy it, hope it helps. My Site /laugh.gif'
    border='0' style='vertical-align:middle' alt='laugh.gif' /> Its Not Totaly Fnished ... merged
    posts. ....
  28. How Can I Learn Assembly
    where to Assembly Language Programming (14)
    Please help me in learning assembly ....
  29. Php Simple Login Tutorial
    Learn how to make a simple login! (63)
    I have been quite busy lately, trying to design and code my site (far from done XD). And after
    having learned how to make a simple login, I will try to write my own tutorial, for you
    /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> the tutorial Step 1
    : The first step in designing a member system is to plan out exactly what you need. A common impulse
    among programmers is to jump right in and start coding. I'll be honest and admit that I'm
    guilty of this more so than anyone. However, since I'm in control of this conversation (y....
  30. where did you learn html from?
    (84)
    HI, i am intresting in knowing where you began learning html of what inspired you to start learning
    html. which programs did you use or which progs dyu use?....

    1. Looking for learn, c,

Searching Video's for learn, c,
Similar
Perl Regular
Expresions
Regex -
Learn how to
use regular
expressions
A Prelude To
Programming
- What to
learn? How
to learn?
Learn Java
Programming
Language
Online Step
By Step
Team
Fortress 2
Professional
Spy Guide -
I wrote this
guide for
people who
want to
learn how to
play Spy
Learn Html,
Css, C And
C++ Online
For Free -
Wanna learn
to write
programs
and/or make
websites?
You can do
it fre
Give Me A
Little
Space,
Please!
[denied] - I
like a free
host for
learn
Cool Site To
Learn
Languages -
Learn to
speak in
Native
accent
You Need To
Be Bold To
Be Unselfish
- Lets Learn
from Abraham
of the Bible
Css- Review
With
Tutorial -
If u r
learning
CSS, learn
it with me.
Tutorial On
How To
Compile Your
Own Mangos
World Of
Warcraft
Private
Server. - A
great way to
learn about
how big
MMORPGs work
and are
built.
Fruity Loops
Tutorials-ar
piggeator -
learn to use
an
arpiggeator
giving
stunning
mellodys to
bland chords
Where Is
There A Good
Site To
Learn Web
Html?
How Will She
Ever Learn?
- spoiled
rotten, and
will never
change
Photoshop --
Double
Stroke -
Learn to
create a
neat-o text
effect
Php Random
Titles -
Learn to
create
neat-o
random
titles!
Asian Food
Recipes -
Recipe to
learn how to
cook Asian
food
Html Legend
- Learn how
to create a
handy legend
with
HTML!
History Of
Eu Countries
- What Shall
Kids Learn
In School?
How Do I
Learn Web
Design? -
Not coding,
i can code
well already
but how to
make it look
good?
Disabling
Safe Boot On
Windows Xp -
Learn how to
do it
Learn Html
Quick And
Easy - HTML,
javascript,
and CSS
Learn
Russian -
Basic Stuff
You Need To
Know
Learn To Fly
- Flight
Simulator X
acts as a
potential
teaching
tool for
wannabe
pilot
What Was
Your First
Computer,
And How Did
You Learn To
Use It? -
After hours
of searching
which
category
this fits
in, I
couldn't
f
Wappy's
Php Snippets
- I will
place here
usefull php
snippets and
functions
that i
learn/use
Signature
Tutorial -
Learn how to
make a
complete
signature
Learn The
Ways Of
Making Money
Online -
This i sMy
new Site,
Hope it
Helps
How Can I
Learn
Assembly -
where to
Assembly
Language
Programming
Php Simple
Login
Tutorial -
Learn how to
make a
simple
login!
where did
you learn
html from?
advertisement



Best Way To Learn C++?



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE