Simple Function Creation
Tarefa
Swipe to start coding
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
- specify
- Return string "Hello World".
- Call the function using its name.
Solução
solution.cpp
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 3
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Awesome!
Completion rate improved to 5
Simple Function Creation
Deslize para mostrar o menu
Tarefa
Swipe to start coding
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
- specify
- Return string "Hello World".
- Call the function using its name.
Solução
solution.cpp
Tudo estava claro?
Obrigado pelo seu feedback!
Awesome!
Completion rate improved to 5Seção 1. Capítulo 3
single