Object-Oriented Programming in C++ (4th Edition) by Robert Lafore

  • Context: C/C++ 
  • Thread starter Thread starter PainterGuy
  • Start date Start date
  • Tags Tags
    C++ Programming
Click For Summary

Discussion Overview

The discussion revolves around the book "Object-Oriented Programming in C++ (4th Edition) by Robert Lafore," focusing on its suitability for self-learning C++ programming. Participants share their experiences, opinions on the book's content, and challenges faced while learning programming.

Discussion Character

  • Exploratory
  • Debate/contested
  • Conceptual clarification
  • Homework-related

Main Points Raised

  • Some participants express concerns about the book's accessibility for beginners, noting that it assumes prior knowledge of C programming.
  • Others mention that the book is well-regarded and contains valuable examples, particularly in the context of software development interactions.
  • One participant highlights the book's focus on Windows-specific compilers, suggesting potential adjustments for users of other systems.
  • Several participants discuss overcoming fears related to programming by practicing and engaging with exercises from the book.
  • A participant emphasizes the importance of understanding procedural programming concepts in C before transitioning to C++.
  • Some express mixed feelings about the book's length and cost compared to other textbooks, indicating a concern for value.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the book's effectiveness for beginners, with some finding it helpful while others believe it is not suitable for those with no prior programming experience. Multiple competing views regarding the book's content and approach remain present.

Contextual Notes

Participants note that the book may require adjustments for different compilers and that its assumptions about prior knowledge could limit its effectiveness for complete beginners.

Who May Find This Useful

Individuals interested in self-learning C++ programming, particularly those with some background in C or programming concepts, may find this discussion relevant.

PainterGuy
Messages
938
Reaction score
73
hello every1,

i was able to find this book "Object-Oriented Programming in C++ (4th Edition) by Robert Lafore" in a local library. I am thinking of self-learning c++.. do u have any information on this text...is it easy...im totally blank in this area of programming and computers in general... any information is welcome. thanx
 
Technology news on Phys.org
I've never seen this book myself, but the are mostly favorable.

Some reviewers note that this book is oriented towards Windows-specific compilers so you may need to make some adjustments if you're using a more generic compiler such as g++ on a Unix or Linux system.
 
Last edited by a moderator:
a bundle of thanx, jtbell.
 
Geez this makes me sad. This book is 1040 pages of introductory C++ for about $43 CAD, where as my first semester C++ textbook is 928 pages, of introductory and intermediate C++ for about $145 CAD.
 
It a really great book! hf :P
 
Hello ever 1
I have the same book .. and is quit interesting . I personally have learned c and have so basic knowledge about programming with C. But I have this constant fare of don't being able to do it.. can please come 1 guide me how can i get this fare out of my mind??/
thank you in advance
 
The way to get over your fear of not being able to do something is to practice doing what you are afraid of. Do you have any questions about the examples or problems that are given in this book?
 
You need to practice more to overcome that fear. Try to assign a task for yourself or take up exercise questions from other C++ programming books and try to solve them.
 
I have referred to many books eg: detel detel, pohl etc. but I find Lafore the best. The best topic was the example of how a programmer and customer interact and develop software. T
 
  • #10
Hi everyone,:smile:

I also have the same book. Sorry this is not the best. In every section the author assumes the reader knows about C programing and programming in general. May be it is good book for a programmer who wants to review the material but not for the newbie like me.

Cheers
 
  • #11
PainterGuy said:
hello every1,

i was able to find this book "Object-Oriented Programming in C++ (4th Edition) by Robert Lafore" in a local library. I am thinking of self-learning c++.. do u have any information on this text...is it easy...im totally blank in this area of programming and computers in general... any information is welcome. thanx

oh this book is used as a course book for mechanical engineering department in ciit,sahiwal,pakistan. i am a student of mecahnical engineering so i recommend you to read this book happily and enjoy the world of c++.
 
  • #12
KrisOhn said:
Geez this makes me sad. This book is 1040 pages of introductory C++ for about $43 CAD, where as my first semester C++ textbook is 928 pages, of introductory and intermediate C++ for about $145 CAD.

don,t worry all the pages are only interpretations but if you are able to learn the fundamentals than pages are no problem
 
  • #13
PainterGuy said:
Hi everyone,:smile:

I also have the same book. Sorry this is not the best. In every section the author assumes the reader knows about C programing and programming in general. May be it is good book for a programmer who wants to review the material but not for the newbie like me.

Cheers

Hey PainterGuy.

It's actually probably a good idea that you learn the ideas of C before you learn the C++ specific concepts.

I'll give you some reasons why.

The first thing you have to understand is that the basic computing architecture is a procedural one. You put commands in memory (and data but let's not focus on that just yet) and you start somewhere and execute your code from the top down.

Now of course when you're doing this your pointer to the instruction can go back when you have things like loops or can jump when you call a function or maybe if you're using threads of writing interrupt code your code will just jump to another place and then return back where it was later on.

So when you're learning to code you need to get skills in two areas: state and flow-control. These are the two most important things. You will write code and it will go wrong. In order to understand where it wrong and to not create those kind of problems again, you will need to debug your code and that means stepping through the code, and looking at the state of your data in memory.

Once you have learned the state and flow-control in C, you then see what's changed when you move to C++ with things like classes and constructors and destructors and so on. Then if you haven't used threads in C, you will focus again on what happens with state and flow-control when you introduce threads.

I will tell you know that if you can not get the flow control right in something like C, you won't get it right in C++.
 
  • #14
chiro said:
Hey PainterGuy.

It's actually probably a good idea that you learn the ideas of C before you learn the C++ specific concepts.

I'll give you some reasons why.

The first thing you have to understand is that the basic computing architecture is a procedural one. You put commands in memory (and data but let's not focus on that just yet) and you start somewhere and execute your code from the top down.

Now of course when you're doing this your pointer to the instruction can go back when you have things like loops or can jump when you call a function or maybe if you're using threads of writing interrupt code your code will just jump to another place and then return back where it was later on.

So when you're learning to code you need to get skills in two areas: state and flow-control. These are the two most important things. You will write code and it will go wrong. In order to understand where it wrong and to not create those kind of problems again, you will need to debug your code and that means stepping through the code, and looking at the state of your data in memory.

Once you have learned the state and flow-control in C, you then see what's changed when you move to C++ with things like classes and constructors and destructors and so on. Then if you haven't used threads in C, you will focus again on what happens with state and flow-control when you introduce threads.

I will tell you know that if you can not get the flow control right in something like C, you won't get it right in C++.

Hi chiro,

Many thanks for your advice. Now I will stick to this book by Lafore because it also introduces some C concepts. You have always been helpful to me. Thanks for this.

Cheers
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
4K
Replies
65
Views
5K
  • · Replies 29 ·
Replies
29
Views
8K
  • · Replies 26 ·
Replies
26
Views
6K
Replies
3
Views
4K
  • · Replies 7 ·
Replies
7
Views
9K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
12K