Зміст курсу
C++ Functions
C++ Functions
2. Function Arguments Specification
3. Function Return Values Specification
4. Some Advanced Topics
Simple Function Creation
Завдання
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.
Рішення
solution
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 3
Simple Function Creation
Завдання
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.
Рішення
solution
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 3