Commit bc4e6db4 authored by Bruce Momjian's avatar Bruce Momjian

Add mention of int for variable in examples

parent cfc0e015
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment