CS 2150 Lecture Notes - Lecture 2: Bjarne Stroustrup, Dennis Ritchie, Java Syntax

50 views2 pages

Document Summary

Io is input and output, start using functions such as cout and cin i: using napespace std; how you define packages, main() sub routine is not part of any class, differences. If a 0 is returned, no error but anything else indicates an error. If it is a system include file, less than or greater than signs. If there is a file that you have included in your directory, you use quotation mark. C++ compilation process overview: using directive, takes the source file, handle any line that has a pound sign in front of, compiles it, last stage in compiler is assembler, and make an executable (a. out). Assembler and return links to executable files or a. out. creates the output which is called a. out. i. * rather than calling each file, allows you to not type the full class name: not stating using namespace std; would require us to write out each function we would use, such as std:: cout.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers