Title | Notes |
---|---|
Author | Alex Cunningham |
Course | Programming I |
Institution | University of Kansas |
Pages | 11 |
File Size | 89.5 KB |
File Type | |
Total Downloads | 60 |
Total Views | 137 |
Lecture notes for Gibbons 168 Class...
EECS 168 Week 1 For lab: Create file with a name then .cpp “.cpp” is known as an extension. Contains C++ code. Int main() { Return(0) } Transfer to Machine readable code (binary). Compile the code using G++. Transforms C++ into binary
Create file main.cpp. Everything should be in lowercase #include
Input/Output stream, allows you to print
Int main() { Std::cout If nothing goes wrong it should go back to blank terminal prompt $> ls Main.cpp, program1 $> ./program1 Executes program1 Hello,World! $> ./program1 Hello,World! $>
Week 2 Std::cout...