Review "what is it #1 & #2 flowcharts"
Dream Spark - MS Software
data vs programs (programs are instructions run
by the processor, data are values used by the programs, they are
both just bytes)
programming languages & generations
Compile - translate to machine language
Compiler - program that compiles
syntax - how symbols are combined to form valid
expressions
semantics - meaning of the symbols that form an
expression
language - symbols with semantic meaning and
syntax used to write instructions for the computer
Language Generations
Low
1st - Machine (.exe
files in windows)
2nd - Assembly
High
3rd - High Level (c++ is
here)
4th - Very High Level
IDE - Integrated Development Environment
Compiler, code editor,
Debugger, Help system
Intro to C++ syntax
#include<iostream>
using namespace std;
void main() {}
literal - a number such as 45 or a word such as
"Bob" that is not a variable
// - begins a comment line in c++
# - lines that begin with this are instructions
to the compiler (aka, compiler directive)
brief introduction to variables
writing to output stream... cout
<<
reading from input stream... cin >>
>> - stream extraction operator
<< - stream insertion operator
cascading <<
Examples
Homework
Read chapters 1 from Schaum