COM SCI 31 Chapter Notes - Chapter 1: Type Conversion, Scientific Notation, Order Of Operations

61 views6 pages
25 Mar 2017
School
Professor

Document Summary

C++ = c w/ classes (classes = used for object-oriented programming) High level: better for large amount of code, not as efficient in execution. Object-oriented programming (oop) characteristics: encapsulation, hides or abstracts info inheritance, writing reusable code, polymorphism, using a single name to draw multiple meanings in the context of inheritance, overloading of functions and operators. C++ uses oop by providing classes, a kind of data type combing both data and algorithms. Functions in c++ = procedures, methods, functions, subprograms in other languages. A c++ program = a function called main. These 2 lines set up a library with input and output facilities. Main is a function with no parameters that returns an int (integer) value. Usually write return (cid:1004) to retur(cid:374) (cid:1004) as the fu(cid:374)(cid:272)tio(cid:374)(cid:859)s (cid:448)alue after the fu(cid:374)(cid:272)tio(cid:374) e(cid:374)ds. A window of the operating system through which users can interact with system programs of the operating system or with other console applications.

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

Related Documents