Thursday, October 29, 2020

copy constructor vs assignment operator

research: copy constructor vs assignment operator

    top post

  1. Constructors (C++)
  2. Copy Constructors and Copy Assignment Operators (C++)
  3. Automatics, Copy Constructor, Assignment Operator
  4. good reference

  5. Copy constructor vs assignment operator in C++
  6. Copy assignment operator
  7. Copy constructor vs assignment operator in C++
  8. What's the difference between assignment operator and copy constructor?
  9. Difference Between Copy Constructor and Assignment Operator in C++
  10. Copy Constructors and Assignment Operators

smart pointer in C++

smart pointer in C++

unique_ptr, auto_ptr,shared_ptr,weak_ptr

    how to update legacy c code?

  1. Using std::unique_ptr (RAII) with malloc() and free()
  2. Variable Declaration and Initialization
  3. shared_ptr Polymorphic Magic Pitfall
  4. The A::Restricted Idiom
  5. Memory Management and RAII
  6. Smart Pointers Gotchas
  7. The C++ Standard Library, 2nd
  8. isual Studio Slow Debugging and _NO_DEBUG_HEAP
  9. Robust C++: Initialization and Restarts
  10. Dangling Pointers: Pathology, Prevention and Cure
  11. Ten C++11 Features Every C++ Developer Should Use
  12. Modernizing Legacy C++ Code
  13. Articles by Marius Bancila (Articles: 27, Technical Blogs: 9)
  14. The Most Essential C++ Advice
  15. Object Oriented Programming with C++
  16. Move Semantics and Perfect Forwarding in C++11
  17. What's New in Visual Studio 2013 for Native Development
  18. What's New in VS11 for Native Development
  19. Articles by Marius Bancila (Articles: 27, Technical Blogs: 9)
  20. Smart pointers for single owners and their aliases
  21. Preparing to Know Modern C++

  22. how to use smarter pointer?

  23. std::unique_ptr
  24. std::unique_ptr
  25. How to: Create and use unique_ptr instances
  26. Introduction of Smart Pointers in C++ and It’s Types
  27. auto_ptr, unique_ptr, shared_ptr and weak_ptr
  28. Dangling, Void , Null and Wild Pointers
  29. void pointer in C / C++
  30. NULL pointer in C
  31. The Smart Pointer That Makes Your C++ Applications Safer - std::unique_ptr
  32. How to declare std::unique_ptr and what is the use of it?
  33. What is the difference between #include and #include “filename”?
  34. What is a smart pointer and when should I use one?
  35. smarter pointer

Monday, October 26, 2020

NUNIT testing tips

NUNIT testing tips

  1. Debugging NUnit Test Scripts
  2. CSharpish Properties in Modern C++

Object Oriented Programming with C++/C#

Object Oriented Programming with C++/C#

  1. Object Oriented Programming with C++
  2. Geert van Horrik's 'Updater' in Visual Studio Community Edition With Small Changes
  3. Updater

C++ string and operations

C++ string and operations

  1. How to return a string class from a C++ function/method
  2. A new approach to memory management that solves the issues with shared_ptrs
  3. Ideas from a smart pointer(part 2). size == sizeof(std::shared_ptr)/2
  4. std::string class in C++
  5. C++ string class and its applications
  6. C++ Strings
  7. C++ Pointers
  8. C++ Standard Library: The string Class
  9. C++ String Class
  10. std::basic_string
  11. basic_string Class
  12. String Objects: The string class library
  13. std::string - the C++ String Class
  14. C++ String Class
  15. C-Style Strings
  16. C++ string class
  17. Tenouk C/C++ site

  18. MODULE 25 C++ STRING CLASS PROGRAM EXAMPLES 1
  19. MODULE 25_1 C++ STRING CLASS TYPES AND CODE SAMPLES 2
  20. MODULE 25a C++ STRING CLASS PROGRAMMING 3
  21. MODULE 25b C++ STRING CLASS EXAMPLES 4
  22. MODULE 26 THE C++ STRING CLASS CODE EXAMPLES 5
  23. MODULE 26a C++ PROGRAM SAMPLES ON STRING CLASS 6
  24. MODULE 26a_1 C++ STRING CLASS CODE EXAMPLES 7
  25. .::Tenouk's C & C++ Site Index::.
  26. scanf and printf function examples

  27. C LAB WORKSHEET 4 C main() and printf() functions 1
  28. C LAB WORKSHEET 4_1 C main() and printf() functions 2
  29. C LAB WORKSHEET 5 C/C++ Variable, Operator And Type 1
  30. C LAB WORKSHEET 5_1 C/C++ Variable, Operator And Type 2
  31. C LAB WORKSHEET 5_2 C/C++ Variable, Operator And Type 3
  32. C LAB WORKSHEET 6 C scanf(), scanf_s() family 1
  33. C LAB WORKSHEET 6_1 C scanf(), scanf_s() Examples & Exercises 2
  34. C LAB WORKSHEET 6_2 C scanf(), scanf_s() Exercises 3
  35. C LAB WORKSHEET 11 C & C++ Pointers Part 1: Playing With Memory Addresses
  36. C LAB WORKSHEET 11a C & C++ Pointers Part 2: Pointers, Array and Functions
  37. C LAB WORKSHEET 11a_1 C & C++ Pointers Part 3: Pointers, Array and Functions
  38. THE C LAB WORKSHEETS/EXERCISES/ACTIVITIES
  39. MODULE X USING C LIBRARY - THE C CHARACTER AND STRING 1
  40. MODULE Xa USING C LIBRARY - THE C CHARACTER AND STRING 2
  41. MODULE Xb USING C LIBRARY - THE C CHARACTER AND STRING 3 --------------------------------------------------------------------------