Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Function Overloading Practice | Diving Into Functions
C++ Introduction Video Course
course content

Kursinhalt

C++ Introduction Video Course

C++ Introduction Video Course

1. Getting Started
2. Control Flow
3. Diving Into Functions
4. Strings and Characters
5. Arrays and Data Structures

book
Function Overloading Practice

Aufgabe

Swipe to start coding

  • Make function overloading for add function to support various types:
    • Create an add function that takes float inputs and returns a float.
    • Create an add function that takes strings and returns a string.

Lösung

cpp

solution

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 3. Kapitel 4
toggle bottom row

book
Function Overloading Practice

Aufgabe

Swipe to start coding

  • Make function overloading for add function to support various types:
    • Create an add function that takes float inputs and returns a float.
    • Create an add function that takes strings and returns a string.

Lösung

cpp

solution

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 3. Kapitel 4
Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
We're sorry to hear that something went wrong. What happened?
some-alt