Simple Function Creation
Compito
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.
Soluzione
solution.cpp
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 3
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Awesome!
Completion rate improved to 5
Simple Function Creation
Scorri per mostrare il menu
Compito
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.
Soluzione
solution.cpp
Tutto è chiaro?
Grazie per i tuoi commenti!
Awesome!
Completion rate improved to 5Sezione 1. Capitolo 3
single