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

Commitbc4e6db

Browse files
committed
Add mention of int for variable in examples
1 parentcfc0e01 commitbc4e6db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ int main()
4545
cout << endl << endl;
4646

4747
// next, print out the instances
48-
for ( i=0; i < data.Tuples(); i++) {
48+
for (int i=0; i < data.Tuples(); i++) {
4949
for (int j=0; j < nFields; j++)
5050
cout <<setiosflags(ios::right) <<setw(15) << data.GetValue(i,j);
5151
cout << endl;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ int main()
4848
cout << endl << endl;
4949

5050
// next, print out the instances
51-
for ( i=0; i < cData.Tuples(); i++) {
51+
for (int i=0; i < cData.Tuples(); i++) {
5252
for (int j=0; j < nFields; j++)
5353
cout <<setiosflags(ios::right) <<setw(15) << cData.GetValue(i,j);
5454
cout << endl;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp