Any recommendations ?
This book seems pretty good... http://www.research.att.com/~bs/3rd.html
Printable View
Any recommendations ?
This book seems pretty good... http://www.research.att.com/~bs/3rd.html
Hi
Like a few others, I am/was a fan of Deitel&Deitels C[1], C++[2].
They come/came with a CBT (computer based training).
I just had a quick glance at Stroustrup's book and it looked useful.
Actually, mathgirl32 is recommending it[3].
Death_Knight, as you could guess, this questions has been
asked here quite a few times already[3,4]
Cheers
[1] http://www.amazon.com/exec/obidos/tg...glance&s=books
[2] http://www.amazon.com/exec/obidos/tg...glance&s=books
[3] http://www.antionline.com/showthread...hreadid=265151
[4] http://www.antionline.com/showthread...hreadid=262953
The C++ Programming Language - Bjarne Stroustrup
The C++ Standard Library A tutorial and reference - Nicolai M. Josuttis
Both are excellent guides to learn from and use as a reference.
Hmm... well actually i am not pretty sure what i should go for. Some say should learn C before C++ but to some is alright about it.
I am a average Java programmer, learnt J2/ME/SE/EE. Basic C++. Not sure whether the books is too tough for me..
The book I recommended is good for experts and beginners.
Should i go learn C first before i embark on learning C++ ?Quote:
I wouldn't bother.
C++ is a superset of C, so includes C programming. The catch however is that many of the habits and techniques you pick up with C programming are frowned upon in C++.
It really all depends on what you want to build. I'd go with C++ myself. Everyone has an opinion on the best language, all that matters however is what you feel comfortable with and what you think is the best language for the projects you have in mind.
So i will get to learn usage of structs, scanf, printf... stuffs in C?Quote:
Originally posted here by Juridian
I wouldn't bother.
C++ is a superset of C, so includes C programming. The catch however is that many of the habits and techniques you pick up with C programming are frowned upon in C++.
It really all depends on what you want to build. I'd go with C++ myself. Everyone has an opinion on the best language, all that matters however is what you feel comfortable with and what you think is the best language for the projects you have in mind.
I got their Java How to program 4th edt. Clear cut teaching... but it seems to teach only basics to intermediate stuffs :pQuote:
Originally posted here by sec_ware
Hi
Like a few others, I am/was a fan of Deitel&Deitels C[1], C++[2].
They come/came with a CBT (computer based training).
I just had a quick glance at Stroustrup's book and it looked useful.
Actually, mathgirl32 is recommending it[3].
Death_Knight, as you could guess, this questions has been
asked here quite a few times already[3,4]
Cheers
[1] http://www.amazon.com/exec/obidos/tg...glance&s=books
[2] http://www.amazon.com/exec/obidos/tg...glance&s=books
[3] http://www.antionline.com/showthread...hreadid=265151
[4] http://www.antionline.com/showthread...hreadid=262953
You would, tho the scanf and printf stuff isn't used so much. There are objects that are better suited to handling this type of activity in C++.Quote:
Originally posted here by Death_Knight
So i will get to learn usage of structs, scanf, printf... stuffs in C?
If you are new to programming, I would suggest the Dummies' Guide to C++; but that is if you have absolutely no experience whatsoever with it.
There's so much about C++, ANSI std. MFC and WIN32 api. Guess i will get Stroustrup book to start :p Thanks for all the advise given
People are starting to steer away from MFC and the Win 32 api. Everything is headed towards managed code nowadays via the .net framework. Most of it will carry over to managed C++.
This is what i found from GoogleQuote:
Originally posted here by Juridian
People are starting to steer away from MFC and the Win 32 api. Everything is headed towards managed code nowadays via the .net framework. Most of it will carry over to managed C++.
Can you explain in layman terms what is managed code?Quote:
What is managed code?
Managed code is code that has its execution managed by the .NET Framework Common Language Runtime. It refers to a contract of cooperation between natively executing code and the runtime. This contract specifies that at any point of execution, the runtime may stop an executing CPU and retrieve information specific to the current CPU instruction address. Information that must be query-able generally pertains to runtime state, such as register or stack memory contents.
http://blogs.msdn.com/brada/archive/.../09/48925.aspx
Managed code is code that has its execution managed by the .NET Framework Common Language Runtime.
Think of it like the code that runs via the java runtime environment (it has some similarities).
In .net, the languages such as c#, vb.net, managed c++, etc are compiled to an Intermediate Language (think assembly language, not java bytecode..) assembly (an assembly is an executable or dll). When you run the code it is just in time compiled as you need it to machine language for the processor you are using.
Managed code has a greater degree of type safety, better security, and gives the ability for the code to be able to easily be extended or used by code built in other languages that are CLR compliant. So basically, I can use your C++ dll with my vb.net, c#, or whatever other application with minimal work.
You can still write the older style of C++ with .net, but they are working on moving people away from it.
I'd recommend picking up an account on http://safari.oreilly.com
An excellent overview of .net is : Understanding .Net - A tutorial and analysis
gonna get my C++ book, thanks again :pQuote:
Originally posted here by Juridian
Managed code is code that has its execution managed by the .NET Framework Common Language Runtime.
Think of it like the code that runs via the java runtime environment (it has some similarities).
In .net, the languages such as c#, vb.net, managed c++, etc are compiled to an Intermediate Language (think assembly language, not java bytecode..) assembly (an assembly is an executable or dll). When you run the code it is just in time compiled as you need it to machine language for the processor you are using.
Managed code has a greater degree of type safety, better security, and gives the ability for the code to be able to easily be extended or used by code built in other languages that are CLR compliant. So basically, I can use your C++ dll with my vb.net, c#, or whatever other application with minimal work.
You can still write the older style of C++ with .net, but they are working on moving people away from it.
I'd recommend picking up an account on http://safari.oreilly.com
An excellent overview of .net is : Understanding .Net - A tutorial and analysis