diff options
| author | Brad King <brad.king@kitware.com> | 2019-08-20 13:16:35 (GMT) |
|---|---|---|
| committer | Kitware Robot <kwrobot@kitware.com> | 2019-08-20 13:19:22 (GMT) |
| commit | b80417f0fd1491d1c0f5d57019b47d4c13729545 (patch) | |
| tree | e55ae56966bd154cec46c56184a9f4a6f1b09d7e /Help/guide/tutorial/MultiPackage/tutorial.cxx | |
| parent | 8c1d3e3b79fb921bfada3b19e6bb4115da4a4e6e (diff) | |
| parent | 6f6a32a0f601688da24e1737509a0b6e1ed4f63f (diff) | |
| download | CMake-b80417f0fd1491d1c0f5d57019b47d4c13729545.zip CMake-b80417f0fd1491d1c0f5d57019b47d4c13729545.tar.gz CMake-b80417f0fd1491d1c0f5d57019b47d4c13729545.tar.bz2 | |
Merge topic 'cmake-tutorial'
6f6a32a0f6 Tutorial: Improve Step 9
6a35d630dc Tutorial: Improve Step 8
61d4d990d6 Tutorial: Improve Step 7
a36731c634 Tutorial: Improve Step 6
df9cdf629c Tutorial: Improve Step 5
442c0f0d46 Tutorial: Improve Step 4
bc64401c3d Tutorial: Improve Step 3
49ce4d6ff4 Tutorial: Improve Step 2
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3528
Diffstat (limited to 'Help/guide/tutorial/MultiPackage/tutorial.cxx')
| -rw-r--r-- | Help/guide/tutorial/MultiPackage/tutorial.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/guide/tutorial/MultiPackage/tutorial.cxx b/Help/guide/tutorial/MultiPackage/tutorial.cxx index 4451cbd..f97805b 100644 --- a/Help/guide/tutorial/MultiPackage/tutorial.cxx +++ b/Help/guide/tutorial/MultiPackage/tutorial.cxx @@ -1,6 +1,5 @@ // A simple program that computes the square root of a number #include <iostream> -#include <sstream> #include <string> #include "MathFunctions.h" @@ -15,6 +14,7 @@ int main(int argc, char* argv[]) return 1; } + // convert input to double double inputValue = std::stod(argv[1]); const double outputValue = mathfunctions::sqrt(inputValue); |
