Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1b20f8a

Browse files
committed
Fix c++ copy example code.
1 parent2020e24 commit1b20f8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/interfaces/libpq++/examples/testlibpq6.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ main()
4343
cout <<"Line:\"3\thello world\t4.5\" copied..." << endl;
4444
data.PutLine("4\tgoodbye word\t7.11\n");
4545
cout <<"Line:\"4\tgoodbye word\t7.11\" copied..." << endl;
46-
data.PutLine(".\n");
47-
cout <<"Line:\".\" copied..." << endl;
46+
data.PutLine("\\.\n");
47+
cout <<"Line:\"\\.\" copied..." << endl;
4848
if ( !data.EndCopy() )
4949
cout <<"Ended COPY succesfully..." << endl;
5050
else cerr <<"End Copy failed..." << endl;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp