How to Compile a C++ Program on Linux

preview_player
Показать описание
Today, I want to show you how to compile a C++ program on Linux. I'll demonstrate on Ubuntu Desktop 23.04 and will use the tried and true Hello, World! app as an example. The first thing you must do is install the necessary software to allow you to build C++ programs.

Here is the code** for Hello World:

# include (less than)iostream(greater than)

int main() {
std::cout (less than)(less than) "Hello World!";
return 0;
}

**angled brackets aren't allowed in YouTube descriptions so they've been replaced with (less than) and (greater than)

➤ CHAPTERS
0:00 - Intro
0:14 - Tutorial
1:28 - Visit our Website!

Written and Hosted by: Jack Wallen
Edited by: Kyle Heildebrand

➤ OUR WEBSITE:

Рекомендации по теме
Комментарии
Автор

hello hello why does everything have be hello

thefrog
join shbcf.ru