C++

Arch4ngel

Well-known member
Joined
Mar 22, 2004
Messages
940
Location
Montreal, QC
Ok... you might think... "Hey ! its in the wrong section!"

Well... no... not really.

I want to learn C++. The .NET one will be easier to learn (I know C#, VB6, VB.NET,etc...) if I know the good old C++.

What I want is good tutorial for C++.
C++ .NET tutorial might suit also but I really want to learn the good old C++.

Any proposition ? Any good experience on how to learn this ?
Any reason why I shall pass directly to C++ .NET ?
 
Arch4ngel said:
What I want is good tutorial for C++.
C++ .NET tutorial might suit also but I really want to learn the good old C++.

Any proposition ? Any good experience on how to learn this ?
Any reason why I shall pass directly to C++ .NET ?

I know a little C++.

When learning something that broad, Id hesitate to look to any free online source. The chances of finding a complete tutorial (or set of them) that goes from A-Z in the correct order without jumping around and without leaving gaps is near impossible. Normally tutorials teach a focused topic in a given language... just to get the basics, ie, loops, variables, logic and various compilation specific deals, you could run through 3-5+ tutorials and still get gaps... just in the basics.

Personally Id just plop down 10 bucks for a good used "Learn C++ In 30 days/While You Sleep/Before Your Boss Kills You/Whatever" book. You know the fundamentals already. You dont need to be told what a loop is, just how its done in C++. Really, a year old book you can get on Amazon for cheap. C++ has books that have been around for 5+ years.

As for C++.Net, Id say not to really bother based on the logic of it. C++.Net is basically C++ that uses .Net code. You already know .Net, if you learn C++, youre like 98% (or more) towards C++.Net.

I think everyone should know at least a little something of C/C++. Its more powerful than .Net at lower levels and doesnt require the framework, but also more complex.

Id like to learn more C++... But Id also want to learn C# and Java as well. What a wishlist :rolleyes:
 
Thanks Denaes!

Some have link to good tutorials that dont have too many gaps or have some good book that they tried and found useful ?
 
As for C++.Net, Id say not to really bother based on the logic of it. C++.Net is basically C++ that uses .Net code. You already know .Net, if you learn C++, youre like 98% (or more) towards C++.Net.
i sorta disagree - IMO its VERY different to program using .net as opposed to unmanaged.. i mean you cant even cout<< in managed(at least i dont think you can),
you gotta console.writeline..

imo C++.NET is a little bit skewed, it takes longer to load than C#.net or VB.net,
for that matter i suggest use C#.NET or vb.net if youre using C++.net (but ur language is ur choice so whatever)

its a big step down to learning Unmanaged C++.. no memory management either :p
(if you forget ot release a pointer you might get a memory leak ..etc), and lots of _s and caps(DIRECT3D_PRESENT_PARAMS).. not very user friendly(or should i say, programmer friendly:))

pent
 
I maked programs in Delphi 5. Memory management is not a problem. I got a lot of experience behind. C++ might be harder but I have good basic. And by the way... I already know C# and VB.NET. But learning C++ is a must to a programmer so I MUST learn it.
 
wow thats a .. big..... must.... :)

btw im not discouraging you to learn C++ ;) so dont get mad, i was just trying to point out the differences between managed/unmanaged C++

i wanna learn C++ to make faster/better games with Direct3D, but im finding it very hard :p
 
I understand you. C++ is not easy. I had a lot of friend that drop their courses in C++ because it was too hard. I hadnt had this because the same year they change the program... so we went from C++ and VB6 to C# and VB.NET... well... you understand now that theres a gap in my education... and I want absolutly to fill it. Not knowing C++ is a major hole... well I think...
 
Id recommend this book or this website (with the online tutorial being the first place to look).

If you really want to learn C++ (no one "MUST" learn any language) regardless of .NET or not, start with the language and get that down solid.

For most learning excersizes, youll be writing console apps. If you use Visual Studio just choose "Win32 Console Project" instead of "Console Application (.NET)". Most samples will use cout which is a lot easier to use with a Win32 console project.

Keep in mind that there is a BIG leap between knowing the syntax of C++ and knowing how to use it effectively. If your plan is to "learn" C++ by reading through tutorials/books and then jump into any existing code or a large project, youre going to have a very tough time at things. Just a "heads up".

-ner
 
Thank you very much Nerseus !

I always wanted to learn C++ since I was young but couldnt understand a thing ... but now that I have a degree and have worked with OO language and have a good understanding of memory allocation, memory management, stack , etc. I though that it would be the time for me to go on something ... enjoyable (technicaly speaking).

Yeah... I know I can learn C++ syntax without knowing how to make good program with it... well... doesnt it come with practice ? The more you work on a subject... the more you master it and the better you become.

Thank you very much dude ! Ill take a look at those tutorial.
 
Back
Top