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)
Interested in how to Compile a C++ Program on Linux? Check out the step-by-step guide at TechRepublic: https://www.techrepublic.com/article/...
Read more like this: https://www.techrepublic.com/topic/de...
➤ CHAPTERS
0:00 - Intro
0:14 - Tutorial
1:28 - Visit our Website!
Written and Hosted by: Jack Wallen
Edited by: Kyle Heildebrand
➤ OUR WEBSITE:
https://techrepublic.com/?utm_source=...
➤ MORE VIDEOS: https://techrepublic.com/videos/?utm_...
➤ LINKEDIN: / techrepublic
➤ TWITTER: / techrepublic
➤ FACEBOOK: / techrepublic
➤ FLIPBOARD: https://flipboard.com/@TechRepublic
Смотрите видео How to Compile a C++ Program on Linux онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал How To Make Tech Work from TechRepublic 29 Май 2023. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 3,633 раз и оно понравилось 37 посетителям.