diff options
Diffstat (limited to 'Tests/ExternalProjectLocal')
-rw-r--r-- | Tests/ExternalProjectLocal/Step5/MathFunctions/mysqrt.cxx | 7 | ||||
-rw-r--r-- | Tests/ExternalProjectLocal/Step5/tutorial.cxx | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/Tests/ExternalProjectLocal/Step5/MathFunctions/mysqrt.cxx b/Tests/ExternalProjectLocal/Step5/MathFunctions/mysqrt.cxx index 458ed63..a44aba0 100644 --- a/Tests/ExternalProjectLocal/Step5/MathFunctions/mysqrt.cxx +++ b/Tests/ExternalProjectLocal/Step5/MathFunctions/mysqrt.cxx @@ -1,12 +1,13 @@ +#include <stdio.h> + #include "MathFunctions.h" #include "TutorialConfig.h" -#include <stdio.h> // include the generated table -#include "Table.h" - #include <math.h> +#include "Table.h" + // a hack square root calculation using simple operations double mysqrt(double x) { diff --git a/Tests/ExternalProjectLocal/Step5/tutorial.cxx b/Tests/ExternalProjectLocal/Step5/tutorial.cxx index 37f6ac4..8d077b2 100644 --- a/Tests/ExternalProjectLocal/Step5/tutorial.cxx +++ b/Tests/ExternalProjectLocal/Step5/tutorial.cxx @@ -1,9 +1,10 @@ // A simple program that computes the square root of a number -#include "TutorialConfig.h" #include <math.h> #include <stdio.h> #include <stdlib.h> +#include "TutorialConfig.h" + #ifdef USE_MYMATH # include "MathFunctions.h" #endif |