Learn · An Introduction to Programming Through C++

Lecture 41 of 126Week 5

Lecture 10 : Functions Part 4 : Pointers

Prof. Abhiram Ranade · IIT Bombay

Credits and licence

From
An Introduction to Programming Through C++, IIT Bombay (at NPTEL)
Licence
CC BY-NC-SA, as NPTEL states it. Non-commercial use only.
Attribution
NPTEL states: "Distributed under Creative Commons Attribution-ShareAlike / CC BY - NC - SA", beside a BY-NC-SA badge.
Who can watch
Tweens profiles and older. How courses are placed

All the lectures

  1. Lecture 1 Part 1: Introduction Video
  2. Lecture 1 Part 2 : Introduction Video
  3. Lecture 1 Part 3 : Introduction Video
  4. Lecture 1 Part 4 : Introduction Video
  5. Lecture 2 Part 1 : Problem Solving using Computer Video
  6. Lecture 2 Part 2 : Problem Solving using Computer Video
  7. Lecture 2 Part 3 : Problem Solving using Computer Video
  8. Lecture 2 Part 4 : Problem Solving using Computer Video
  9. Lecture 2 Part 5 : Problem Solving using Computer Video
  10. Lecture 3 Part 1 : Basic Elements of Program Video
  11. Lecture 3 Part 2 : Basic Elements of Program Video
  12. Lecture 3 Part 3 : Basic Elements of Program Video
  13. Lecture 3 Part 4 : Basic Elements of Program Video
  14. Lecture 4 Part 1 : Program Design Video
  15. Lecture 4 Part 2 : Program Design Video
  16. Lecture 4 Part 3 : Program Design Video
  17. Lecture 5 : Simple cpp Graphics Video
  18. Lecture 6 Part 1 : Conditional Execution Video
  19. Lecture 6 Part 2 : Most general form of if Video
  20. Lecture 6 Part 3 : More general form of conditions Video
  21. Lecture 6 Part 4 : A somewhat large program example Video
  22. Lecture 6 Part 5 : Switch statement and logical data Video
  23. Lecture 7 Part 1 : Loops Video
  24. Lecture 7 Part 2 : Mark averaging Video
  25. Lecture 7 Part 3 : The break and continue statements Video
  26. Lecture 7 Part 4 : The for statement Video
  27. Lecture 7 Part 5 : Euclid's algorithm for GCD Video
  28. Lecture 7 Part 6 : Correctness proof for GCD Video
  29. Lecture 8 : Computing Mathematical Functions Part 1 : Taylor series Video
  30. Lecture 8 : Computing Mathematical Functions Part 2 : Numerical integration Video
  31. Lecture 8 : Computing Mathematical Functions Part 3 : Bisection Method Video
  32. Lecture 8 : Computing Mathematical Functions Part 4 : Newton Raphson Method Video
  33. Lecture 9 : Loops in various applications Part 1 : Loops in various applications brute force algorithms Video
  34. Lecture 9 : Loops in various applications Part 2 : Finding Pythagorean Triples Video
  35. Lecture 9 : Loops in various applications Part 3 : Modelling a system: bargaining Video
  36. Lecture 9 : Loops in various applications Part 4 : Simulating a water tank Video
  37. Lecture 9 : Loops in various applications Part 5 : Arithmetic on very large numbers Video
  38. Lecture 10 : Functions Part 1 : Basics Video
  39. Lecture 10 : Functions Part 2 : Examples Video
  40. Lecture 10 : Functions Part 3 : Reference parameters Video
  41. Lecture 10 : Functions Part 4 : Pointers Video
  42. Lecture 10 : Functions Part 5 : Graphics Objects and Lecture conclusion Video
  43. Lecture 11 : Recursion Part 1 : Introduction Video
  44. Lecture 11 : Recursion Part 2 : Recursive objects, Tree drawing Video
  45. Lecture 11 : Recursion Part 3 : How to think about recursion Video
  46. Lecture 12 : Virahanka Numbers Part 1 : Introduction Video
  47. Lecture 12 : Virahanka Numbers Part 2 : Recursive Program Video
  48. Lecture 12 : Virahanka Numbers Part 3 : Iterative Program and Conclusion Video
  49. Lecture 13 : Program Organization and Functions Part 1 : Introduction Video
  50. Lecture 13 : Program Organization and Functions Part 2 : Splitting into files Video
  51. Lecture 13 : Program Organization and Functions Part 3 : Namespaces Video
  52. Lecture 13 : Program Organization and Functions Part 4 : How to use C++ without simplecpp Video
  53. Lecture 14 : Advanced Features of Functions Part 1 : Introduction and passing one function to another Video
  54. Lecture 14 : Advanced Features of Functions Part 2 : Lambda expressions Video
  55. Lecture 14 : Advanced Features of Functions Part 3 : Default values to parameters Video
  56. Lecture 14 : Advanced Features of Functions Part 4 : Function overloading and lecture conclusion Video
  57. Lecture 15 : Array Part-1 : Part 1 : Introduction Video
  58. Lecture 15 : Array Part-1 : Part 2 : Marks averaging problem Video
  59. Lecture 15 : Array Part-1 : Part 3 : Histogram computation Video
  60. Lecture 15 : Array Part-1 : Part 4 : Marks display variation Video
  61. Lecture 15 : Array Part-1 : Part 5 : Polynomial multiplication Video
  62. Lecture 15 : Array Part-1 : Part 6 : Queues in dispatching taxis Video
  63. Lecture 15 : Array Part-1 : Part 7 : More efficient Queues in dispatching taxis Video
  64. Lecture 15 : Array Part-1 : Part 8 : Disk intersection Video
  65. Lecture 15 : Array Part-1 : Part 9 : Arrays of graphical objects and conclusion Video
  66. Lecture 16 : Array Part-2 : Part 1 : Introduction Video
  67. Lecture 16 : Array Part-2 : Part 2 : Interpretation of aname[index] Video
  68. Lecture 16 : Array Part-2 : Part 3 : Arrays and function calls Video
  69. Lecture 16 : Array Part-2 : Part 4 : A function to sort an array Video
  70. Lecture 17 : More on Arrays : Part 1 : Textual data Video
  71. Lecture 17 : More on Arrays : Part 2 : Functions on character strings Video
  72. Lecture 17 : More on Arrays : Part 3 : Two dimensional arrays Video
  73. Lecture 17 : More on Arrays : Part 4 : Command Line Arguments Video
  74. Lecture 18 : Arrays and recursion : Part 1 : Binary Search Introduction Video
  75. Lecture 18 : Arrays and recursion : Part 2 : Binary search analysis Video
  76. Lecture 18 : Arrays and recursion : Part 3 : Mergesort overview Video
  77. Lecture 18 : Arrays and recursion : Part 4 : Merge function Video
  78. Lecture 18 : Arrays and recursion : Part 5 : Mergesort conclusion Video
  79. Lecture 19 : Structures : Part 1 : Definition and instantiation Video
  80. Lecture 19 : Structures : Part 2 : Operations on structures Video
  81. Lecture 19 : Structures : Part 3 : An example program Video
  82. Lecture 19 : Structures : Part 4 : Pointers and lecture conclusion Video
  83. Lecture 20 : Structures Part 2 : Part 1 : Introduction to Member functions Video
  84. Lecture 20 : Structures Part 2 : Part 2 : Vectors from Physics Video
  85. Lecture 20 : Structures Part 2 : Part 3 : Taxi dispatch Video
  86. Lecture 21 : Classes : Part 1 : Introduction Video
  87. Lecture 21 : Classes : Part 2 : Constructors Video
  88. Lecture 21 : Classes : Part 3 : Operator overloading Video
  89. Lecture 21 : Classes : Part 4 : Access control Video
  90. Lecture 21 : Classes : Part 5 : Classes for graphics and input output Video
  91. Lecture 21 : Classes : Part 6 : General remarks Video
  92. Lecture 22 : Representing variable length entities: Part 1 : Introduction Video
  93. Lecture 22 : Representing variable length entities: Part 2 : Heap memory basics Video
  94. Lecture 22 : Representing variable length entities: Part 3 : Pitfalls of using heap memory Video
  95. Lecture 22 : Representing variable length entities: Part 4 : Automating memory management Video
  96. Lecture 22 : Representing variable length entities: Part 5 : Implementing a class with automated memory management 1 Video
  97. Lecture 22 : Representing variable length entities: Part 6 : Implementing a class with automated memory management 2 Video
  98. Lecture 22 : Representing variable length entities: Part 7 : Using the implemented class and conclusion Video
  99. Lecture 23 : The Standard Library: Part 1 : Class string Video
  100. Lecture 23 : The Standard Library: Part 2 : Class vector Video
  101. Lecture 23 : The Standard Library: Part 3 : Classes map and unordered_map Video
  102. Lecture 23 : The Standard Library: Part 4 : Iterators Video
  103. Lecture 23 : The Standard Library: Part 5 : Iterators Video
  104. Lecture 24 : Data structure based programming : Part 1 : Introduction Video
  105. Lecture 24 : Data structure based programming : Part 2 : Set and pair classes Video
  106. Lecture 24 : Data structure based programming : Part 3 : Implementation of standard library data structures Video
  107. Lecture 24 : Data structure based programming : Part 4 : Composing data structures Video
  108. Lecture 24 : Data structure based programming : Part 5 : typedef and lecture conclusion Video
  109. Lecture 25 : Medium size programs : Part 1 : The new marks display program Video
  110. Lecture 25 : Medium size programs : Part 2 : Manual algorithm for new marks display Video
  111. Lecture 25 : Medium size programs : Part 3 : RSMTAB and rest of the program Video
  112. Lecture 25 : Medium size programs : Part 4 : Sophisticated solutions to marks display Video
  113. Lecture 26 : A graphical editor and solver for circuits : Part 1 : Outline Video
  114. Lecture 26 : A graphical editor and solver for circuits : Part 2 : Main program and organization Video
  115. Lecture 26 : A graphical editor and solver for circuits : Part 3 : Mathematical representation of the circuit Video
  116. Lecture 26 : A graphical editor and solver for circuits Part 4 : Extensions and concluding remarks Video
  117. Lecture 27 : Cosmological simulation : Part 1 : Introduction and First order Euler method Video
  118. Lecture 27 : Cosmological simulation : Part 2 : Second order Euler method Video
  119. Lecture 27 : Cosmological simulation : Part 3 : The program Video
  120. Lecture 27 : Cosmological simulation : Part 4 : Concluding remarks Video
  121. Live Session 19-04-2021 Video
  122. Live Session 12-03-2020 Video
  123. Live Session 06-09-2019 Video
  124. Live Session 22-10-2019 Video
  125. Live Session 21-03-2022 Video
  126. Live Session 04-07-2022 Video