mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
Add mention of int for variable in examples
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user