/ ************************************************************************ * * Purpose: * Author: M J Leslie * Date: 26-Oct-98 * ************************************************************************/ #include <iostream.h> // cout, cin main() { char buf[255]; cout << "Please enter a string ==> "; // O/P to STDOUT (screen). cin >> buf; // I/P from STDIN (keyboard). cout << "Entered string is " << buf << endl; }
file: /Techref/language/ccpp/cppref/examples/io1.cc, 0KB, , updated: 1998/10/27 12:55, local time: 2024/11/27 03:39,
3.149.250.65:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/language/ccpp/cppref/examples/io1.cc"> language ccpp cppref examples io1</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.