Amazon.com: Interfacing with C++: Programming Real-World Applications (9783540253785): Jayantha Katupitiya, Kim Bentley: Books
Interfacing with C++: Programming Real-World Applications and over one million other books are available for Amazon Kindle. Learn more

Sell Back Your Copy
For a $13.06 Gift Card
Trade in
Have one to sell? Sell yours here
Interfacing with C++: Programming Real-World Applications
 
 
Start reading Interfacing with C++: Programming Real-World Applications on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Interfacing with C++: Programming Real-World Applications [Hardcover]

Jayantha Katupitiya (Author), Kim Bentley (Author)
4.0 out of 5 stars  See all reviews (1 customer review)


Available from these sellers.


Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $119.20  
Hardcover --  
Sell Back Your Copy for $13.06
Whether you buy it used on Amazon for $94.45 or somewhere else, you can sell it back through our Book Trade-In Program at the current price of $13.06.
Used Price$94.45
Trade-in Price$13.06
Price after
Trade-in
$81.39

Book Description

April 11, 2006 3540253785 978-3540253785 1
Learn to write C++ programs by interfacing a computer to a wide range of popular and fundamental real-world technologies. Unique and original approach to use the PC to do real things- not just number crunching and graphics – but writing programs to interact with the outside world. Learn C++ programming in an enjoyable and powerful way. Includes a purpose-designed circuit board


Editorial Reviews

From the Back Cover

This book is for people who are interested in learning and exploring electronic interfacing as well as C++ programming in a practicable and enjoyable way. Readers will learn to program a PC to do real-world things - not simply number crunching and graphics. They will also master how to write programs that interact with real-world devices through the use of a specially-developed interface circuit board included with the book. The book, interface board and accompanying software incorporate simple and easy-to-understand projects such as digital-to-analog conversion, analog to digital conversion, DC and Stepper motor control, temperature and voltage measurement, PC-based timing, or basic data acquisition. The companion CD contains software that can be used with a number of compilers that run under DOS, Microsoft Windows and Linux. The audience of this innovative and rewarding approach to learn interfacing real-world devices to a computer via C++ are undergraduate and graduate students in engineering and science, practicing engineers/scientists, technical workers, and hobbyists. The types of courses the book complements include control engineering, electronics, computing, and mechatronics.

Product Details

  • Hardcover: 501 pages
  • Publisher: Springer; 1 edition (April 11, 2006)
  • Language: English
  • ISBN-10: 3540253785
  • ISBN-13: 978-3540253785
  • Product Dimensions: 9.7 x 7.9 x 1.4 inches
  • Shipping Weight: 3.3 pounds
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Best Sellers Rank: #1,224,944 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

1 Review
5 star:    (0)
4 star:
 (1)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.0 out of 5 stars (1 customer review)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

8 of 10 people found the following review helpful:
4.0 out of 5 stars Programming Basic to Intermediate Applications, December 20, 2006
By 
Leblanc (Fort Worth, TX USA) - See all my reviews
This review is from: Interfacing with C++: Programming Real-World Applications (Hardcover)
Pros:
Gives the essential to c++ object model as it would be used for hardware:
Constructors and Destructors, Visibility - access modifiers, Overloading, Cloning, and class abstractions.
Of course gives examples of inheritance, polymorphism, and encapsulation while using the parallel port for all examples.

Each project has a concise and clear explanation of how the hardware works - no theoretical fluff. Then you dive right into the code.
So its an easy read from start to finish.

Coming from higher level language using collections and generics I liked how the author gave examples of accessing multidimensional array elements with pointers.

Besides the programming aspects, here are the hardware main projects

Parallel port projects:

Parallel Port Basics and Interfacing
Digital-to-Analog Conversion
Driving Motors- DC and Stepper


Parallel port projects but concepts can be applied for serial communication:

Voltage and Temperature Measurement - perfect for transducer sensors/non thermistor sensors
- Chapter also gives an example on how to program a home made oscilloscope
Analog-to-Digital Conversion
The PC Timer.


Cons:
A single section in the appendix for c++'s object model would have been nice.

I don't like that the author places the member functions outside the class definition. This practice is not main stream with other languages like c#, java, php. [update August 30 2007 - ignore this comment see why in the comments below]

The section called Program Development Techniques is essential for c or c++ programmers writing modular programs and need a solution to prevent multiple inclusions of header files.

Since we are interfacing this with a PC there should be a section on serial communication through both serial and more common usb ports, however there is none. Also coverage of driver creation for windows and linux is not addressed. Would have fit nicely after the PC Timer chapter. Wish there was discussion on interrupts and finding memory addresses to hardware.

update: if you want to learn win/linux device drivers see this sourceforge project: http://osrfx2.sourceforge.net/ also look at codeproject.com for usb fx.


There is also no talk about tools and development environments, so how do you run the examples? I'm using codewarrior but what does the author use? What are his thoughts or insights on this subject?



Other Book Suggestions:
I would also recommend Higher-Order Perl by Mark Jason Dominus as that book improved my procedure programming and got me away from my oo background. Example: function pointers instead of delegates and dispatch table instead of factory pattern with polymorphism. The book has many other hidden gems.


Conclusion:
Would I buy the book again?
Yes it's a great starting reference.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
int baseaddress, printer port hardware, pcb overlay, unsigned char data, control part starts, int numints, parallel port circuitry, ceramic monolithic capacitor, int type data, additional member data, corresponding output pin, multiple file program, pnp darlington transistor, initialising expression, way terminal block, operator overloading function, pcb pin, member function definitions, parallel port hardware, class access specifier, faulty soldering, int speed, adjustable current source, internal inversion, using virtual functions
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Passenger Transport, Project File Contents, Object Oriented Programming, Prentice Hall, Addison Wesley, Getting Started, Goods Transport, John Wiley, Unspecified Motor, Waite Group Press, Inverting Most, Latch Timer, National Semiconductor Corporation, Benjamin Cummins, Braking Applied, Set Select, Borland International, Cambridge University Press, Ellis Horwood, Input Level, International Thompson Publishing, New York, Professional Programming, San Diego, The Art of Electronics
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:



Books on Related Topics (learn more)

What Other Items Do Customers Buy After Viewing This Item?


Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product).
 
(8)
(4)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject