In this occassion
We use Visual Studio 2008(works with former and latter versions as well)
to build a simple program that uses both the printf function from cstdio(standard C library, but
inherited to C++)
and cout from iostream(c++ standard library.)
We quickly explore the Visual Studio Wizard for a new project(by pressing ctrl+shift n) and choosing
a Windows console application. A new file is added to the project to review the process of project
managment(handled by Visual Studio). In other environments project management and build system is
created through "Make", an utility inherited from the Unix days.
Some mistakes are commited due to a syntax typos, and the console is used as a platform for
outputting the literal constant "7" and var(which as an rvalue, holds 7.)
C++ has inherited the C standard library, but if you want to include it as if it were in the C++
language standard, then one appends the "c" to the original C standard library header file name.
Notice that in C++ angle brackets("more than" and "less than" operators)are used after the #include
directive to include standard headers.
На этой странице сайта вы можете посмотреть видео онлайн First C++ program длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Gabriel Hasbun 06 Март 2014, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 592 раз и оно понравилось 2 зрителям. Приятного просмотра!