Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Simple Function Creation | Introduction
C++ Functions
course content

Contenido del Curso

C++ Functions

C++ Functions

1. Introduction
2. Function Arguments Specification
3. Function Return Values Specification
4. Some Advanced Topics

Simple Function Creation

Tarea

Your task is to create a function and call this function in the main() function:

  • Create function signature:
    • specify std::string return type;
    • specify helloWorld as the name of the function
  • Return string "Hello World".
  • Call the function using its name.

Tarea

Your task is to create a function and call this function in the main() function:

  • Create function signature:
    • specify std::string return type;
    • specify helloWorld as the name of the function
  • Return string "Hello World".
  • Call the function using its name.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Sección 1. Capítulo 3
toggle bottom row

Simple Function Creation

Tarea

Your task is to create a function and call this function in the main() function:

  • Create function signature:
    • specify std::string return type;
    • specify helloWorld as the name of the function
  • Return string "Hello World".
  • Call the function using its name.

Tarea

Your task is to create a function and call this function in the main() function:

  • Create function signature:
    • specify std::string return type;
    • specify helloWorld as the name of the function
  • Return string "Hello World".
  • Call the function using its name.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Sección 1. Capítulo 3
toggle bottom row

Simple Function Creation

Tarea

Your task is to create a function and call this function in the main() function:

  • Create function signature:
    • specify std::string return type;
    • specify helloWorld as the name of the function
  • Return string "Hello World".
  • Call the function using its name.

Tarea

Your task is to create a function and call this function in the main() function:

  • Create function signature:
    • specify std::string return type;
    • specify helloWorld as the name of the function
  • Return string "Hello World".
  • Call the function using its name.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Tarea

Your task is to create a function and call this function in the main() function:

  • Create function signature:
    • specify std::string return type;
    • specify helloWorld as the name of the function
  • Return string "Hello World".
  • Call the function using its name.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
Sección 1. Capítulo 3
Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
We're sorry to hear that something went wrong. What happened?
some-alt