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

Simple Function CreationSimple Function Creation

Tarefa

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.

Tudo estava claro?

Seção 1. Capítulo 3
toggle bottom row
course content

Conteúdo do Curso

C++ Functions

Simple Function CreationSimple Function Creation

Tarefa

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.

Tudo estava claro?

Seção 1. Capítulo 3
toggle bottom row
some-alt