Lesson 3: IDE and Data Types, Read/Write Commands - Mastering C++ Fundamentals

preview_player
Показать описание
Master the basics of C++ with this set of lessons from Byte Academy and Embarcadero Technologies. Lesson 3 of 13.

C++ is a cross-platform language that can be used to create high-performance applications. C++ was developed by Bjarne Stroustrup, as an extension to the C language. C++ gives programmers a high level of control over system resources and memory.

To subscriber to our channel, click the link below -

Embarcadero tools are built for elite developers who build and maintain the world’s most critical applications. Our customers choose Embarcadero because we are the champion of developers, and we help them build more secure and scalable enterprise applications faster than any other tools on the market. In fact, ninety of the Fortune 100 and an active community of more than three million users worldwide have relied on Embarcadero's award-winning products for over 30 years.

Appointments:

Address: 10801 North Mopac Expressway, Building 1, Suite 100, Austin, TX, 78759, United States

LET'S CONNECT!

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

It's good practice to avoid "using namespace std" and just include the individual std commands, in this example you can do
using std::cout;
using std::cin;
and so forth for any command part of the std namespace, it's better practice to do it this way in C++ programs instead of using an entire namespace.

Also at the end of a line you can use the << endl instead of \n

ALSO in your example, why use getchar() twice ? There is a better way to do this that will wait for ANY key to be pressed to close, or clicking on the x to close the console window.
you can use system("pause>nul");

jimmydandy
Автор

Could you share the presentation in the description if that's possible..? Please..

yourhandle_
visit shbcf.ru