COSCI539

CS 216/136 2/25

Feb 25th, 2020
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. =UML,
  2. -inline function
  3. -function definition inside class definition
  4. -acts as macro
  5. -only good for functions with 1-line bodies
  6. -objects as function parameters
  7.  
  8. =lab2
  9. -error checking in class function defintion
  10. -setFraction() [error checking here, if anything is invalid set to default][overload, one with 2 arguments one with 3 arguments|store as improper fraction], setNumerator(), setDenominator(), printFraction(), printDecimal()
  11.  
  12. =unsorted lists, sorted lists
  13. -*this pointer
  14. -points to object which called it
  15. -linked list, circular linked list, doubly linked list
  16.  
  17. =lab1
  18. -dynamic memory allocation is a request
  19. -how to test if successful
  20. -try catch
  21. -initialize array to nullptr
  22. -dataType arr[ ] = {nullptr};
  23.  
  24. =lab3
  25. -no errors in input
  26.  
  27. =lab4
  28. -circular linked list
  29.  
  30. https://imgur.com/a/8TIMnpw
  31.  
  32. do canvas tests
Add Comment
Please, Sign In to add comment