#include #include #include main(int argc,char *argv[]) { if(argc!=2) { cout <<"Usage:WRITE \n"; return 1; } ofstream out(argv[1]); if(!out) { cout <<"Cannot oppen output file \n"; return 1; } char str[80]; cout <<"Write strings to disk , RETURN to stop \n"; do { cout <<":"; gets(str); out <