Join Peggy Fisher for an in-depth discussion in this video Expressions, part of Up and Running with C++.
…Before we move to our next program, let's quickly review the math operations in C++.…The symbols are similar to other languages.…The plus sign is used for addition when it's applied to two numbers.…The plus sign can also be used to add two…strings together when creating one long string, this is called concatenation.…The minus sign is used for subtraction.…An asterisk is used for multiplication.…The forward slash represents division.…The percent sign represents modulus division…which is also called remainder division.…
Then we have the insertion operator which is…two less than signs and the extraction operator.…Some of the operators work differently depending…on the data type of the variables.…One of these operations is the plus sign.…When used with two numbers their added,…but on two strings their combined or concatenated.…Sometimes its hard to go from algebra to C++.…Let's take a look at some…algebraic equations and their corresponding C++ equivalents.…On the left hand you see the equations, and…on the right hand side are the C++ versions.…
- Downloading and exploring the C++ IDE
- Working with loops
- Using predefined functions
- Creating custom functions
- Creating and instantiating classes
- Working with external files
Skill Level Beginner
Q: How do I upgrade the C++ compiler on Mac OS X and Linux?
A: Refer to C/C++ Essential Training for a detailed look at installing or upgrading the C++ compiler on various platforms.
Q: The link to download the Eclipse IDE in the "Download a C++ IDE" movie doesn't work. Where can I find the IDE?
A: Short URLs are case sensitive and need to be typed in exactly as they appear. Type in or simply click <a target="_blank" href="http://goo.gl/CzckWp">http://goo.gl/CzckWp</a> to visit the Eclipse IDE for C/C++ Developers page.
1. Getting Started
2. C++ Basics
3. Flow of Control
4. Classes and Objects
5. Data Structures
6. File Manipulation
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.