Jump to content
  • Advertisement
Sign in to follow this  
buttnakedhippie

How did you learn C++?

This topic is 2066 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement

I started a implement a FE-solver + UI in c++ as my first c++ project ( 2001 with MFC, not the best choise as a first project I have to say ).

 

So I had a target, motivation and a hard timeline. Then I looked into the concepts provided by c++ which seem to be the best approach and played around with it until it worked.

 

In my experience it is much easier to learn a new language with a real project than just reading a book. You can transfer the stuff you read into a real solution which solves a real problem. And you can lear how the toolchain works. 

 

Hope that helps ...

 

Kim

Share this post


Link to post
Share on other sites

C++ is not that hard in dos time. When I learn pascal and then move to C++, it's not that different. Because in Pascal u still can use OOP...

But things get so headache when windows release! To write a hello world app (with form) , it need 100-200 code line...No internet, only thick book, that really scare me. Sometime I just type 1-> 2 page of code then run to see what it really does. 

 

Now it's a lot more easy, we have tons of sample, tutorial on net, that no need to type anything at all, just build and see what happen ! 

Share this post


Link to post
Share on other sites

I bought Sam's Teach Yourself C++ in 24 hours. Probably it wasnt the best book..... (It was the only available book in the shop).

With it and xoax.net (video tutorials), I was finaly able to compile and run my applications.

 

I used the lessons to learn how to program and then I would apply my new knowledge by building something small. 

As I got more confident, I started making my own text based games. The book became a reference when I got stuck.

 

Like Kimmi said, its much better to learn something by appling the knowledge to a project.

Start small with console based applications to concentrate more on the standard library and the languange.

Share this post


Link to post
Share on other sites

I haven't learend C++ yet, but I first read accelerated C++ about 10 years ago.. After that I've read lots of C++ and programming books, got a computer science degree and have been working with C++ for 4 years now.. I'm also reading lots of articles.. Thats the great thing about it, always something new to learn :)

Share this post


Link to post
Share on other sites

Now it's a lot more easy, we have tons of sample, tutorial on net, that no need to type anything at all, just build and see what happen !

this is equivalent to i've learnt how to read, highlight text, browse the net and use ctrl+c and ctrl+v very well!

C++ is not that hard . . .

it may not be hard but it can get confusing.

Share this post


Link to post
Share on other sites

At university I bought Visual C++ 1.0; must have been 1993. By that time, several printed manuals (10 or more) were included, one of them containing a very well written introduction to C++ (from C to C++).

Share this post


Link to post
Share on other sites

I learned the language by reading tutorials, articles and editing examples from the internet. Also trying out some small things is a good idea from time to time. But I think the way of learning greatly depends on the person. But I think learning how to learn using the internet can be a very useful skill, even if it may take longer.

Share this post


Link to post
Share on other sites
I tried to learn C++ on my own twice in the 90s and I failed miserably. Then I got a job where C++ was used and I learned it relatively quickly. One thing that helped a lot was having access to a C++ guru down the hall. Oh, and nobody cared that I didn't know C++ in my job interview: My interviewers were satisfied because I could solve problems and I could program in C.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!