COMPTNG 10C Lecture 2: Week 1 (3 + 2 sections)

63 views5 pages

Document Summary

Get either atlassian bitbucket, github desktop or sourcetree. Front-end (gui) applications are bitbucket, github, sourcetree, cli (command line) Create file and git add to staging area. Commit files in staging area git commit git commit -a. Generally to update on c++ 11th standard since textbook is inadequate size_t, auto, different for loops necessary. Stack frame : like a stack of pringles, stacks upon each other with each function call. At the end of the function call, the stack frame associated with that function disappears. Only way to get memory on heap is new keyword. All dynamic memory must be wrapped in a class object. Containers, range based loops & auto keyword, inheritance & polymorphism, runtime errors. Instead of for(deque iterator ) , use for(int element : v) Purpose is to formalize is a relationship in code, ex. Virtual , abstract class , overriding , polymorphic container , proper deallocation.

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