Introduction to C++ Programming - Winter 2010 podcast

Lecture 8: Introduction to Value Returning Functions

0:00
0:00
15 Sekunden vorwärts
15 Sekunden vorwärts
In this lecture, we introduce the notion of value returning functions in C++ and provide several examples. Value returing functions are quite similar to functions you would, say, see in excel. However, there are some important differences that we will notice between the two later in the course, particularly in respect to parameter passing modes. We cover both using pre-definied functions and creating programmer-defined functions. Lastly, we finish with a brief introduction to separate compilation.

Weitere Episoden von „Introduction to C++ Programming - Winter 2010“

  • Introduction to C++ Programming - Winter 2010 podcast

    Lecture 15: Final Exam Review and Dynamic Allocation

    In this lecture, we review key concepts that will be covered by the final exam. Also, we discuss more details pertaining to dynamic allocations, including motivation, requesting dynamic memory, and releasing dynamic memory, that will not be covered on the final exam.
  • Introduction to C++ Programming - Winter 2010 podcast

    Lecture 14: Introduction to Pointers

    We discuss the details of pointer values and types in C++ in this lecture. We conclude with a very brief introduction to dynamic allocation and some other motivation behind pointer types in C++.
  • Introduction to C++ Programming - Winter 2010 podcast

    Verpasse keine Episode von Introduction to C++ Programming - Winter 2010 und abonniere ihn in der kostenlosen GetPodcast App.

    iOS buttonAndroid button
  • Introduction to C++ Programming - Winter 2010 podcast

    Lecture 13: More Operator Overloading and Stacks

    We begin this lecture by discussing operator overloading in more detail. The lecture concludes with details on designing a stack data structure class.
  • Introduction to C++ Programming - Winter 2010 podcast

    Lecture 12: Member Functions and Operator Overloading

    In this lecture, we discuss possible solutions to the Fraction homework, as wel as briefly touch on overloading the insertion operator for the Fraction class.
  • Introduction to C++ Programming - Winter 2010 podcast

    Lecture 11-Constructors and Clients

    In this lecture, we continue our discussion of Object-Oriented Programming. Specifically, we introduce the idea of member functions to create objects. Such functions are called contructors. We then go on to discuss the various ways clients of the Fraction class can use objects of type Fraction. We conclude with homework problem discussions.
  • Introduction to C++ Programming - Winter 2010 podcast

    Lecture 10-Introduction to Object-Oriented Programming

    This lecture is an introduction to Object-Oriented programming. We first begin by describing some motivation of objects. Then, we discuss the mechanics of classes, including how they are declared, the various keywords used, etc. We conclude with several implementation details pertaining to how classes are typically split into different files to facilitate separate compilation.
  • Introduction to C++ Programming - Winter 2010 podcast

    Lecture 9-Parameter Passing and Void Functions

    In this lecture, we mainly discuss function parameter passing modes, namely, the differences between call-by-value and call-by-reference. We then go on to discuss void functions and using arrays as arguments to functions.
  • Introduction to C++ Programming - Winter 2010 podcast

    Lecture 8: Introduction to Value Returning Functions

    In this lecture, we introduce the notion of value returning functions in C++ and provide several examples. Value returing functions are quite similar to functions you would, say, see in excel. However, there are some important differences that we will notice between the two later in the course, particularly in respect to parameter passing modes. We cover both using pre-definied functions and creating programmer-defined functions. Lastly, we finish with a brief introduction to separate compilation.
  • Introduction to C++ Programming - Winter 2010 podcast

    Lecture 7: Palindrome homework discussion and arrays

    In this lecture, we mainly discuss the details and requirements of the Palindrome homework assignment, however, doing so also entailed discussing many details of static arrays in C++. Specifically, static arrays will have two notions of size, i.e., a maximum size (the maximum number of elements an array can hold) and an actual size (the number of valid elements the array currently holds). Lastly, we discuss and develop an algorithm to solve the homework problem.
  • Introduction to C++ Programming - Winter 2010 podcast

    Lecture 6: Loops and Intro to Arrays

    In this lecture, we begin by explaining answers about boolean operations and variable scopes raised in the last class. We then go on to discuss global variables and named constants. The focal point of the lecture, repetitive statements in C++, comes next.

Hol dir die ganze Welt der Podcasts mit der kostenlosen GetPodcast App.

Abonniere alle deine Lieblingspodcasts, höre Episoden auch offline und erhalte passende Empfehlungen für Podcasts, die dich wirklich interessieren.

iOS buttonAndroid button
© radio.de GmbH 2021radio.net logo