Advertisement
Guest User

Untitled

a guest
Feb 28th, 2020
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. -casting
  2. #include<iostream>
  3. using namespace std;
  4. int main()
  5. {
  6. int n {55.555};
  7. cout<<n<<endl;
  8. double d {n};
  9. cout<<d<<endl;
  10. }
  11.  
  12. https://www.learncpp.com/cpp-tutorial/explicit-type-conversion-casting-and-static-cast/
  13.  
  14. typecast
  15. https://www.learncpp.com/cpp-tutorial/910-overloading-typecasts/
  16.  
  17. dynamic memory allocation with new and delete
  18.  
  19. https://www.tutorialspoint.com/cplusplus/cpp_dynamic_memory.htm
  20.  
  21. when to use new ?
  22.  
  23. https://stackoverflow.com/questions/655065/when-should-i-use-the-new-keyword-in-c
  24.  
  25. https://stackoverflow.com/questions/679571/when-to-use-new-and-when-not-to-in-c
  26.  
  27. for exercise
  28. http://www.cplusplus.com/doc/tutorial/dynamic/
  29.  
  30. overloading new and delete operators
  31. https://www.geeksforgeeks.org/overloading-new-delete-operator-c/
  32.  
  33. friend
  34. https://www.geeksforgeeks.org/friend-class-function-cpp/
  35.  
  36. deep vs shalow copy
  37.  
  38. introduce copy constructor first
  39.  
  40. https://tutorialspoint.dev/language/cpp/copy-constructor-in-cpp
  41.  
  42. https://owlcation.com/stem/Copy-Constructor-shallow-copy-vs-deep-copy
  43.  
  44. pointers
  45.  
  46. https://www.geeksforgeeks.org/pointers-c-examples/
  47.  
  48. function pointers
  49.  
  50. https://www.geeksforgeeks.org/function-pointer-in-c/
  51.  
  52. inline functions
  53.  
  54. https://www.geeksforgeeks.org/inline-functions-cpp/
  55.  
  56. templates
  57.  
  58. https://www.geeksforgeeks.org/templates-cpp/
  59.  
  60. vector
  61.  
  62. https://www.geeksforgeeks.org/vector-in-cpp-stl/
  63.  
  64. for_each loop first
  65. https://www.geeksforgeeks.org/for_each-loop-c/
  66.  
  67. lambda first
  68. https://www.geeksforgeeks.org/lambda-expression-in-c/
  69.  
  70. threading with callable
  71.  
  72. https://www.geeksforgeeks.org/multithreading-in-cpp/
  73.  
  74. The copy constructor for std::shared_ptr creates a second pointer which shared ownership with the first pointer. The pointee will be destroyed when all std::shared_ptr that point to it are destroyed
  75. shared_ptr
  76. https://www.geeksforgeeks.org/auto_ptr-unique_ptr-shared_ptr-weak_ptr-2/
  77.  
  78. https://badearobert.ro/2018/06/10/make_shared-vs-shared_ptr-constructor/
  79.  
  80. exception handling
  81.  
  82. https://www.geeksforgeeks.org/exception-handling-c/
  83.  
  84. https://www.tutorialspoint.com/cplusplus/cpp_exceptions_handling.htm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement