Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.75 KB

readme.md

File metadata and controls

33 lines (21 loc) · 1.75 KB

Resources used in CPP05

  • Create a class exception

https://stackoverflow.com/questions/35215169/c-create-a-class-exception http://peterforgacs.github.io/2017/06/25/Custom-C-Exceptions-For-Beginners/#More-advanced-custom-exception-class https://www.youtube.com/watch?v=Ix05fozWn0A&t=322s https://www.youtube.com/watch?v=kjEhqgmEiWY https://stackoverflow.com/questions/8480640/how-to-throw-a-c-exception https://cplusplus.com/forum/general/40011/

  • difference between definition and instantiation

https://stackoverflow.com/questions/40345443/c-what-is-the-difference-between-definition-and-instantiation#:~:text=Instantiation%20is%20when%20a%20new,heap%20with%20the%20new%20keyword.

  • Which classes doesn't have a constructor?

https://stackoverflow.com/questions/7131983/in-which-cases-there-is-no-constructor-at-all-even-a-default-constructor#:~:text=from%20the%20book%3A-,A%20class%20doesn't%20need%20a%20constructor.,and%20have%20a%20default%20constructor. https://stackoverflow.com/questions/7131983/in-which-cases-there-is-no-constructor-at-all-even-a-default-constructor#:~:text=from%20the%20book%3A-,A%20class%20doesn't%20need%20a%20constructor.,and%20have%20a%20default%20constructor.

  • Nested Classes

https://www.tutorialspoint.com/nested-classes-in-cplusplus#:~:text=This%20is%20given%20as%20follows,called%20using%20the%20variable%20obj.

  • Random Choice Implementation

https://cplusplus.com/forum/beginner/186046/ https://www.daniweb.com/programming/software-development/threads/225364/c-random-between-two-choices

  • Copy const attributes in copy constructors using (const_cast)

https://riptutorial.com/cplusplus/example/18331/modifying-a-const-object https://stackoverflow.com/questions/25209838/is-this-undefined-behavior-with-const-cast