Institute of Computer Science
  1. Courses
  2. 2022/23 spring
  3. Programming in C++_ENG (MTAT.03.158)
ET
Log in

Programming in C++_ENG 2022/23 spring

  • Home
  • Labs
    • Submission of solutions
    • Results
  • Examination times
  • Guides
  • References

Lab 4: Pointers, references, and their use.

  • Materials
    • Instruction
    • Task
    • Base program: (zip)
  • Videos (2012, Estonian)
    • Sissejuhatus dünaamilisse mäluhaldusesse
    • Kuidas kasutada viitasid (pointer)?
    • Viitade kasutamine - swap funktsiooni näitel
    • Millal viitasid kasutada?
    • Mis on viited (reference)?
    • Viidete kasutamine - swap funktsiooni näitel
    • Millal viiteid kasutada?
    • Mälu haaramine ja vabastamine
    • Viitade või viidete tagastamine funktsioonidest
  • English videos
    • Pointers
    • References
    • Dynamic memory
    • Pointers and references in functions
    • Pointers and references as function return values
  • Guides
    • See these for instructions on compiling, formatting, and VSCode
  • 'Further reading
    • C++ Language Tutorial
    • Pointers
    • Dynamic memory
    • Copy constructors, destructors
    • The copy constructor and overloading the assignment operator
    • Shallow vs. deep copying
  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment