IIT Kharagpur · Computer Science

Programming in Modern C++

Prof. Partha Pratim Das · 2025 · 72 free video lectures

There has been a continual debate on which programming language/s to learn, to use. As the latest TIOBE Programming Community Index for August 2021 indicates – C (13%), Python (12%), C++ (7%), Java (10%), and C#(5%) together control nearly half the programming activities worldwide. Further, C…

▶ Play on Open Lecture HallCourse page ↗

Lectures

  1. Lecture 01 : Course Overview
  2. Lecture 02 : IO & Loop
  3. Lecture 03 : Arrays and Strings
  4. Lecture 04 : Sorting and Searching
  5. Lecture 05 : Stack and Common Data Structures / Containers
  6. Tutorial 01 : How to build a C/C++ program?: Part 1: C Preprocessor (CPP)
  7. Lecture 06 : Constants and Inline Functions
  8. Lecture 07 : Reference & Pointer
  9. Lecture 08 : Default Parameters & Function Overloading
  10. Lecture 09 : Operator Overloading
  11. Lecture 10 : Dynamic Memory Management
  12. Tutorial 02 : How to build a C/C++ program?: Part 2: Build Pipeline
  13. Lecture 11 : Classes and Objects
  14. Lecture12 : Access Specifiers
  15. Lecture 13 : Constructors, Destructors & Object Lifetime
  16. Lecture 14 : Copy Constructor and Copy Assignment Operator
  17. Lecture 15 : Const-ness
  18. Tutorial 03 : How to build a C/C++ program?: Part 3: make Utility
  19. Lecture 16 : Static Members
  20. Lecture 17 : Friend Function and friend Class
  21. Lecture 18 : Overloading Operator for User-Defined Types: Part 1
  22. Lecture 19 : Overloading Operator for User-Defined Types: Part 2
  23. Lecture 20 : Namespace
  24. Tutorial 04 : How to build a C/C++ program?: Part 4: Static and Dynamic Library
  25. Lecture 21 : Inheritance: Part 1 (Inheritance Semantics)
  26. Lecture 22 : Inheritance: Part 2 (Data Member & Member Function - Override & Overload)
  27. Lecture 23 : Inheritance: Part 3 (Constructor & Destructor - Object Lifetime)
  28. Lecture 24 : Inheritance: Part 4: Phone Hierarchy
  29. Lecture 25 : Inheritance: Part 5: private & protected Inheritance
  30. Tutorial 05 : Mixing C and C++ Code: Part 1: Issues and Resolutions
  31. Lecture 26 : Polymorphism: Part 1: Type Casting
  32. Lecture 27 : Polymorphism: Part 2: Static and Dynamic Binding
  33. Lecture 28 : Polymorphism: Part 3: Abstract Base Class
  34. Lecture 29 : Polymorphism: Part 4: Staff Salary Processing using C
  35. Lecture 30 : Polymorphism: Part 5: Staff Salary Processing using C++
  36. Tutorial 06 : Mixing C and C++ Code: Part 2: Project Example
  37. Lecture 31 : Virtual Function Table
  38. Lecture 32 : Type Casting & Cast Operators: Part 1
  39. Lecture 33 : Type Casting & Cast Operators: Part 2
  40. Lecture 34 : Type Casting & Cast Operators: Part 3
  41. Lecture 35 : Multiple Inheritance
  42. Tutorial 07 : How to design a UDT like built-in types?: Part 1: Fraction UDT
  43. Lecture 36 : Exceptions (Error handling in C): Part 1
  44. Lecture 37 : Exceptions (Error handling in C++): Part 2
  45. Lecture 38 : Template (Function Template): Part 1
  46. Lecture 39 : Template (Class Template): Part 2
  47. Lecture 40 : Functors: Function Objects
  48. Tutorial 08 : How to design a UDT like built-in types?: Part 2: Int and Poly UDT
  49. Lecture 41 : Input-Output: File Handling in C
  50. Lecture 42 : Input-Output: Streams in C++
  51. Lecture 43 : C++ Standard Library: Part 1 (Generic Programming)
  52. Lecture 44 : C++ Standard Library: Part 2 (STL)
  53. Lecture 45 : C++ Standard Library: Part 3 (STL)
  54. Tutorial 09 : How to design a UDT like built-in types?: Part 3: Updates and Mixes of UDTs
  55. Lecture 46 : C++11 and beyond: General Features: Part 1
  56. Lecture 47 : C++11 and beyond: General Features: Part 2
  57. Lecture 48 : C++11 and beyond: General Features: Part 3
  58. Lecture 49 : C++11 and beyond: General Features: Part 4: Rvalue and Move/1
  59. Lecture 50 : C++11 and beyond: General Features: Part 5: Rvalue and Move/2
  60. Tutorial 10 : How to optimize C++11 programs using Rvalue and Move Semantics?
  61. Lecture 51 : C++11 and beyond: General Features: Part 6: Rvalue & Perfect Forwarding
  62. Lecture 52 : C++11 and beyond: General Features: Part 7: Lambda in C++/1
  63. Lecture 53 : C++11 and beyond: General Features: Part 8: Lambda in C++/2
  64. Lecture 54 : C++11 and beyond: Class Features
  65. Lecture 55 : C++11 and beyond: Non-class Types and Template Features
  66. Tutorial 11 : Compatibility of C and C++: Part 1: Significant Features
  67. Lecture 56 : C++11 and beyond: Resource Management by Smart Pointers: Part 1
  68. Lecture 57 : C++11 and beyond: Resource Management by Smart Pointers: Part 2
  69. Lecture 58 : C++11 and beyond: Concurrency: Part 1
  70. Lecture 59 : C++11 and beyond: Concurrency: Part 2
  71. Lecture 60 : Closing Comments
  72. Tutorial 12 : Compatibility of C and C++: Part 2: Summary

From NPTEL (IITs and IISc) · CC BY-NC-SA. More from IIT Kharagpur.

Open Lecture Hall is free, with no ads and no sign-up. It is not run by or connected to any university; the lectures are the universities' own free recordings, played from where they host them. About & rights