• Advertisement
Sign in to follow this  

Needing help on how to "re-begin" on C++

This topic is 1438 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

If you're looking for free content, there's always wikibooks.org, online tutorials such as cplusplus.com tutorials.

If your intent is to buy a physical copy of a book, there's C++ Primer and C++ for Dummies (for a more introductory approach).

 

I use MinGW on all computer platforms.

 

E bem vindo ao fórum!

Edited by dejaime

Share this post


Link to post
Share on other sites

I don't have any suggestions about recent programming books. Mine go back quite a few years, I'm afraid.

 

However, with regard to compilers, you can download Visual Studio Express from Microsoft. It's free though you will have to register with Microsoft. Also, I don't know if you would qualify, but you may also want to look into Microsoft's student license or student discounts. Often you can get full versions of things like Visual Studio for free, or for a very low price. If you do decide on Visual Studio, there may be companion books available from Microsoft Press. The Windows SDK likely has sample applications from which you can learn.

 

In addition, Visual Studio and a lot of Microsoft software is supported pretty well here on gamedev if you have problems.

Edited by Buckeye

Share this post


Link to post
Share on other sites
Jumping into c++ and the cplusplus.com pdf are great (really good), i'm using them. For more advanced and still beginner-ish tutorial, try the programming practice and principles using c++ pdf (it is too complicated for me though).

Share this post


Link to post
Share on other sites

Well...Thanks for your support guys!

I've read some good stuff about the C++ Primer...So maybe I'll buy it...
I really like the cplusplus.com  website, I think I used to use it back when I was programming...
and I was checking some old stuff I have here and I found a Visual Studio 2010 Setup DVD...

guess I'll start soon ^^, thanks again for your help, guys!

Share this post


Link to post
Share on other sites

Hi Cuccate,

 

if you are starting with programming, try something easy... c++ is overwhelming for a new programmer... Its a lot of tech details and you will spend lots of time to understand the compiling, linking, using third party libraries and will loose your focus on programming techniques/logic....

 

If you already know programming logic/theory ( control instructions, compiling, complex algorithms, etc ) so, try to start with 'C' ( yes.. the simple C ). Its like c++ but a little easy to get in.... you may try to program something simple in C to get comfortable with Pointers, memory allocation and other language facets...so, when you became confident with C, you may jump in c++ world... it will be less painful... trust me... :)

 

I good tutorial to start: 

http://www.cprogramming.com/tutorial/c/lesson1.html

 

And you can find some good books on C in portuguese, ( translations to portuguese )  but you will spend R$100+ to get one... ( I am also from brazil, and this books are expensive here... )

 

Well... If you are ready to start codding in C or even in C++ I suggest you download the Visual Studio 2010 ( express/free edition ) from Microsoft site ( http://www.visualstudio.com/ ) and start codding.... if you use MAC OSx, use the XCode.. its a awesome tool... a bit hard to understand in the start.. but once you understand the workflow its very productive!

 

Hope it helps...

Share this post


Link to post
Share on other sites

Hey krinosx,

Well...That's actually the way I did when I started programming... I started with C and then I went to C++.
Since I'm trying to come back to programming now, I thought that starting from the beginning with a good book would be a nice way to refresh my memory and maybe learn something that I missed.

Thanks for that website, I'll use it for sure, making some codes in C is a good way to "restart" hehe biggrin.png

Edited by cuccate

Share this post


Link to post
Share on other sites

http://www.learncpp.com/

http://www.parashift.com/c++-faq/index.html

http://www.cplusplus.com/

 

Its not really a book or tutorial, but you will visit this place a lot: https://stackoverflow.com/questions/tagged/c%2B%2B

 

The best way would be probably to find a fun project and start working on it.

Edited by Aliii

Share this post


Link to post
Share on other sites

I can personally recommend several sites: learncpp.com(very beginner-friendly, with extremely good explanations), cplusplus.com(has loads of information on many aspects of programming), and cprogramming.com, which despite it's name, has many tutorials on C++ as well. Some good books are Beginning C++ Through Game Programming 3rd Edition, if you are looking to start over from the very basics, as well as C++ Primer. 

 

The most important thing to do is just learn something and get started on a project, as you will learn far more from actually doing something than you will ever learn than simply by reading from a book. Good luck!

Share this post


Link to post
Share on other sites

If you are already familiar with programming, and not a complete newcomer to C++, there is nothing better than the most recent (4th) edition of Stroustrup's "The C++ Programming Language."  It's information dense yet eminently readable, covers the entire language complete with rationale, and present design and implementation philosophies fundamental to effective use of the language. 

Share this post


Link to post
Share on other sites


I found a Visual Studio 2010 Setup DVD...

Why not get Visual Studio 2013 Express, it's free (http://www.microsoft.com/en-us/download/details.aspx?id=40787). It supports much more of the new C++11 features, although support is still incomplete (shame on you, Microsoft!).

Or get the Code::Blocks IDE (http://www.codeblocks.org/). The included GNU compiler is even more free and more standard compliant.

And, yes: C++11 matters

Share this post


Link to post
Share on other sites


C++ books as a whole have done a really piss poor job of updating to C++11. Many of the ones I checked out simply bolted C++ 11 features on as additional chapters, which is a very wrong headed approach to it.

This is true, but there is one good reason for keeping the C++11 stuff separated: Compiler support. If the examples in the book require some feature your compiler does not support, you're lost. If it's optional, you can skip that part for now.

Share this post


Link to post
Share on other sites

and I was checking some old stuff I have here

It is never a good idea to study a programming language on outdated resources and using outdated tools when you can avoid it. Specially now, that the language is evolving and we have so many good new features to experiment with and use.

 

Take a look at this link: http://cpprocks.com/c11-compiler-support-shootout-visual-studio-gcc-clang-intel/

 

So, you'll be good with g++, clang or microsoft compiler, given that you're using their last versions. Just try to avoid using 2010- resources, or you'll probably need to re-re-begin soon. Use the fact that you're refreshing the basics to include the new features, and start to wrap your head around them, as they'll be the standard some day.

Edited by dejaime

Share this post


Link to post
Share on other sites

Thanks a lot for all of your support, links and tips, guys!
You're helping me a lot! 
I'm now upgrading my old resources happy.png 
 

Share this post


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

  • Advertisement