diff options
Diffstat (limited to 'Tests/Tutorial/Step7/MathFunctions/MakeTable.cxx')
-rw-r--r-- | Tests/Tutorial/Step7/MathFunctions/MakeTable.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/Tutorial/Step7/MathFunctions/MakeTable.cxx b/Tests/Tutorial/Step7/MathFunctions/MakeTable.cxx index 5402542..ef98d5f 100644 --- a/Tests/Tutorial/Step7/MathFunctions/MakeTable.cxx +++ b/Tests/Tutorial/Step7/MathFunctions/MakeTable.cxx @@ -1,4 +1,4 @@ -// A simple program that builds a sqrt table +// A simple program that builds a sqrt table #include <stdio.h> #include <math.h> @@ -12,14 +12,14 @@ int main (int argc, char *argv[]) { return 1; } - + // open the output file FILE *fout = fopen(argv[1],"w"); if (!fout) { return 1; } - + // create a source file with a table of square roots fprintf(fout,"double sqrtTable[] = {\n"); for (i = 0; i < 10; ++i) |