Other book than c++ primer?

Page 1 of 1

2 Replies - 707 Views - Last Post: 01 July 2014 - 06:45 AM Rate Topic: -----

#1 thenoobie   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 22-June 14

Other book than c++ primer?

Posted 01 July 2014 - 05:48 AM

C++ primer is a good book. But i feel like most of example code it gives doesnt run unless you have completed a whole chapter.

That book is a thousand pages. And im still on chap 7. The books is more than 14 chapters. The problem with that book is that it doesnt give you a code simple enough that you can run to get it.

Basically im looking for a book that will not give you a code that will be completed in the end of the chapter. I just want a book that per subject it just gives you a simple code that you can run, so that even if you skip some part of the book you wont be lost.

Example 1. Explaining a function.
void func(){
cout<<"I called this function";
}
int main(){
func();

}


Example 2. Pointer;

int main(){
   int a = 45;

}


Accidentaly press the post button.. Now I cant edit sorry.


But please help

Is This A Good Question/Topic? 0
  • +

Replies To: Other book than c++ primer?

#2 Skydiver   User is offline

  • Code herder
  • member icon

Reputation: 7187
  • View blog
  • Posts: 24,357
  • Joined: 05-May 12

Re: Other book than c++ primer?

Posted 01 July 2014 - 05:57 AM

View Postthenoobie, on 01 July 2014 - 08:48 AM, said:

I just want a book that per subject it just gives you a simple code that you can run, so that even if you skip some part of the book you wont be lost.


It sounds like you are looking for a C++ cookbook rather than a C++ language book. Most good language books build upon concepts taught in the previous chapters. The same is true for good objective oriented programming books -- they depend on concepts taught in previous chapters.
Was This Post Helpful? 1
  • +
  • -

#3 jimblumberg   User is offline

  • member icon

Reputation: 5780
  • View blog
  • Posts: 17,684
  • Joined: 25-December 09

Re: Other book than c++ primer?

Posted 01 July 2014 - 06:45 AM

We already have a topic for book recommendations, please use that topic.

Closing.

Oh and by the way you really should pick a forum and stick with that forum. Posting to many different forums at the same time is considered rude by many people.

Jim
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1