
Learn how compilation uses a compiler to translate C++ high-level code into machine code, converting it to opcodes and binary output that the computer executes.
Install and work within Visual Studio 2013 Express Edition.
Create a project, save it, compile and run your code.
Install and work within Xcode.
Create a project, save it, compile and run your code.
cout, using namespace std, and our first program!
// comments and /* comments */ !
Don't use capitals where lowercase is required!
\n for newline, \" for double quote, and more!
Variables and the primitive types
Arithmetic and logical operators
int, double and string
You have to choose your variable names carefully!
Learn how cin reads ints, doubles, strings, and more from the console to make programs interactive, including reading a name and printing a greeting.
plus (+), minus (-), times(*) and divide by (/)
demonstrates how the modulus operator yields the remainder when x is divided by y, with examples like 6 % 2 = 0 and 5 % 2 = 1.
operations +=, -=, *= and /=
Increasing a variable by 1, decreasing by 1
Explore rand in c++, a pseudo random generator, using modulus to map to a range and time-based seeding to vary results; apply to dice rolls.
Branching your code using the if statement, and the == comparison operator!
Write a quadratic equation solver program!
Your code can branch in any number of directions you wish
Else statement == failsafe
Check for inequalities using !=, <=, <, >, and >=
char variables are used on single characters, and bools for true or false
The ability to "go back" in code!
Pick up and learn C++ programming from the very basics with this course. This course is a very gentle introduction to programming in C++, especially geared towards first time programmers.
C++ With An Emphasis On "Easy to Understand."
If you're a college student, you might find there is a wide gap between your prof and yourself. When your prof explains things, it just doesn’t quite make sense. Something doesn’t sit right. This course is about filling that gap and clearing those questions in your mind. If you’re struggling to follow in your introductory programming course lectures, try this series out to supplement your learning.
Overview
Programming is that notorious college freshman subject that everyone finds extremely hard. But it doesn't have to be that way.
In this course I explain the very basics of C++ programming. I explain core C++ concepts using slides. We also will write sample programs, and I explain every line of code used, every function called, and leave no line of code unexplained.
I developed the material in this course after several iterations of an introductory programming course. The result I now present to you is a combination of careful deliberation about how to explain a topic, and incorporating student feedback to respond to student needs.
If you've had trouble understanding the very basics of code before, what it all means should be very clear to you after studying this course.
When you are finished with this course, you should have a very solid foundation in C++ upon which to build other skills.
Once you understand the basics of programming and you've programmed for a while, it's almost inevitable that you will catch the "programming bug": you will not be able to stop programming!