Tutorial: Move step 10 to step 4

Shifts steps 4-9 to 5-10.
This commit is contained in:
Markus Ferrell
2022-07-20 13:24:40 -04:00
parent ad20e7b2ae
commit ccba87b05b
42 changed files with 224 additions and 313 deletions

View File

@@ -1,14 +1 @@
#if defined(_WIN32)
# if defined(EXPORTING_MYMATH)
# define DECLSPEC __declspec(dllexport)
# else
# define DECLSPEC __declspec(dllimport)
# endif
#else // non windows
# define DECLSPEC
#endif
namespace mathfunctions {
double DECLSPEC sqrt(double x);
}
double mysqrt(double x);