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.
On this page of the site you can watch the video online First C++ program with a duration of hours minute second in good quality, which was uploaded by the user Gabriel Hasbun 06 March 2014, share the link with friends and acquaintances, this video has already been watched 592 times on youtube and it was liked by 2 viewers. Enjoy your viewing!