Register your product to gain access to bonus material or receive a coupon.
What do Adobe, Microsoft, Amazon.com, and Google have in common? They all use C++ to develop products and provide services! As one of the world’s most popular programming languages, C++ opens up a world of possibilities—if you’re willing to learn it! This guide makes that task easy by tackling both object-oriented programming principles and the ABCs of C++ itself through a series of task-based lessons that employ friendly language and a plethora of visual aids to explain every aspect of the development language. From basic syntax and data types to working with numbers, characters, loops, and arrays, master programmers Larry Ullman and Andreas Signer cover all the C++ fundamentals at just the level of detail you require. Using examples tested on Windows, Unix, and Mac OS X operating systems, this streamlined guide prepares you to start developing C++ apps for any platform. Throughout, you’ll find the tips, techniques, and sound real-world advice that have made Visual QuickStart Guides the No. 1 training source for today’s tech warriors!
Page 58: In the last line of code at the bottom of the first column, it should
be
c = a / b; // 1.5
Page 107: In the last tip, the code should be changed to
std::cin.ignore(std::cin.gcount() + 1);
(add "cin" before "gcount")
Page 127: On line 3 of the fourth paragraph,
C:\\path\to\\filename.ext
should be
C:\\path\\to\\filename.ext
Page 213: The comment on line 39 of Script 7.2 should indicate that the area() method returns an integer.
Page 271: Lines 71-73 of Script 9.1 are missing. Those three lines are:
int Pet::getCount() {
return count;
}