Skip to content

Files

Latest commit

4339c6a · Oct 24, 2022

History

History

CPP_MODULE_05

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 20, 2022
Oct 17, 2022
Oct 17, 2022
Oct 20, 2022
Oct 24, 2022

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