Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer Challenge: Write Your First Program | Getting Started with C++
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
C++ FOundations: V1

bookChallenge: Write Your First Program

Taak

Swipe to start coding

Write a C++ program that prints your name and a short message to the console using std::cout.

  • In the main function, use std::cout to display your name.
  • On a new line, print a short message of your choice.
  • Make sure to include the iostream header and use the correct syntax for output.
  • The output should display your name and message on separate lines.

Oplossing

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 3
single

single

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

Suggested prompts:

Can you explain this in simpler terms?

What are some examples related to this topic?

Where can I learn more about this?

close

bookChallenge: Write Your First Program

Veeg om het menu te tonen

Taak

Swipe to start coding

Write a C++ program that prints your name and a short message to the console using std::cout.

  • In the main function, use std::cout to display your name.
  • On a new line, print a short message of your choice.
  • Make sure to include the iostream header and use the correct syntax for output.
  • The output should display your name and message on separate lines.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 3
single

single

some-alt