Fix c++ copy example code.

This commit is contained in:
Bruce Momjian 1997-07-30 15:53:57 +00:00
parent 2020e245f6
commit 1b20f8ac11
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ main()
cout << "Line: \"3\thello world\t4.5\" copied..." << endl;
data.PutLine("4\tgoodbye word\t7.11\n");
cout << "Line: \"4\tgoodbye word\t7.11\" copied..." << endl;
data.PutLine(".\n");
cout << "Line: \".\" copied..." << endl;
data.PutLine("\\.\n");
cout << "Line: \"\\.\" copied..." << endl;
if ( !data.EndCopy() )
cout << "Ended COPY succesfully..." << endl;
else cerr << "End Copy failed..." << endl;