mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
Add mention of int for variable in examples
This commit is contained in:
parent
cfc0e015a1
commit
bc4e6db44c
@ -45,7 +45,7 @@ int main()
|
||||
cout << endl << endl;
|
||||
|
||||
// next, print out the instances
|
||||
for ( i=0; i < data.Tuples(); i++) {
|
||||
for (int i=0; i < data.Tuples(); i++) {
|
||||
for (int j=0; j < nFields; j++)
|
||||
cout << setiosflags(ios::right) << setw(15) << data.GetValue(i,j);
|
||||
cout << endl;
|
||||
|
@ -48,7 +48,7 @@ int main()
|
||||
cout << endl << endl;
|
||||
|
||||
// next, print out the instances
|
||||
for ( i=0; i < cData.Tuples(); i++) {
|
||||
for (int i=0; i < cData.Tuples(); i++) {
|
||||
for (int j=0; j < nFields; j++)
|
||||
cout << setiosflags(ios::right) << setw(15) << cData.GetValue(i,j);
|
||||
cout << endl;
|
||||
|
Loading…
Reference in New Issue
Block a user