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

Scorri per mostrare il menu

book
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
  • Return string "Hello World".
  • Call the function using its name.

Soluzione

cpp

solution

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 3
single

single

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

close

Awesome!

Completion rate improved to 5

book
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
  • Return string "Hello World".
  • Call the function using its name.

Soluzione

cpp

solution

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

close

Awesome!

Completion rate improved to 5

Scorri per mostrare il menu

some-alt