Category : C++ Source Code
Archive   : TCTNT.ZIP
Filename : CINCOUTA.CPP

 
Output of file : CINCOUTA.CPP contained in archive : TCTNT.ZIP
/* CINCOUTA.CPP: A simple program that uses cin and cout

CIN and COUT are variables which are used to perform standard
input and output in a C++ program. They parallel the
functionality of ANSI C's functions printf() and scanf(). These
variables are declared in all C++ programs. They can be accessed
by including the header file "iostream.h" into any C++ source file.
CIN and COUT are of a predefined C++ Stream Library class type.
Since they are of a class type, they have data members (variables)
and member functions associated with them. Therefore, when
standard input or output is performed in a C++ program, the
functions of CIN and COUT are called.
*/

#include

//*******************************************************************
int main()
{
int i;

cin >> i;
cout << i;
return 0;
} // end of main()


  3 Responses to “Category : C++ Source Code
Archive   : TCTNT.ZIP
Filename : CINCOUTA.CPP

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/