Skip to content

Latest commit

 

History

History
50 lines (26 loc) · 1.59 KB

readme.md

File metadata and controls

50 lines (26 loc) · 1.59 KB

Resources used in CPP01

  • Pointers Vs References

https://www.geeksforgeeks.org/pointers-vs-references-cpp/

  • Pass by reference

https://www.ibm.com/docs/en/zos/2.4.0?topic=calls-pass-by-reference-c-only

  • Memory Allocation in Classes

https://www.cs.fsu.edu/~myers/cop3330/notes/dma.html https://www.geeksforgeeks.org/stack-vs-heap-memory-allocation/

  • Is returning stack allocated pointer allowed? (what is actually happening?)

https://stackoverflow.com/questions/55592599/why-is-returning-a-stack-allocated-pointer-variable-in-a-function-allowed-in-c

  • Reading from a file

https://www.youtube.com/watch?v=Ru7Tump8fKY

  • How to append the content of the file?

http://www.learningaboutelectronics.com/Articles/How-to-append-to-a-file-in-C++.php#:~:text=In%20order%20for%20us%20to,explain%20in%20the%20next%20paragraph.&text=With%20the%20full%20line%2C%20ofstream,append%20contents%20to%20the%20file.

  • string find function

https://www.geeksforgeeks.org/string-find-in-cpp/

  • Pointers to member functions

https://www.ibm.com/docs/en/i/7.3?topic=only-pointers-members-c http://websites.umich.edu/~eecs381/handouts/Pointers_to_memberfuncs.pdf https://www.tutorialspoint.com/function-pointer-to-member-function-in-cplusplus#:~:text=In%20C%2B%2B%20%2C%20function%20pointers%20when,as%20they%20are%20type%20safe.

  • Array of functions

https://cplusplus.com/forum/beginner/4639/

  • How to free an array of objects?

https://stackoverflow.com/questions/12892281/how-to-free-an-array-of-structure-and-objects-in-c

  • Const

https://www.youtube.com/watch?v=4fJBrditnJU