diff options
author | Zack Galbreath <zack.galbreath@kitware.com> | 2019-01-11 16:31:12 (GMT) |
---|---|---|
committer | Betsy McPhail <betsy.mcphail@kitware.com> | 2019-01-27 21:03:00 (GMT) |
commit | 0e2cdacf7b51c915acd1a2a9e58a080d2667b4cb (patch) | |
tree | 09b370ba9b7933a3a1c7d0df0690791fa7dccea6 /Tests/Tutorial/Step1 | |
parent | f2ddedfa5802c8aece994bb643b5139212d87777 (diff) | |
download | CMake-0e2cdacf7b51c915acd1a2a9e58a080d2667b4cb.zip CMake-0e2cdacf7b51c915acd1a2a9e58a080d2667b4cb.tar.gz CMake-0e2cdacf7b51c915acd1a2a9e58a080d2667b4cb.tar.bz2 |
Tests: Update style of c++ code snippets in Tutorial directions
Diffstat (limited to 'Tests/Tutorial/Step1')
-rw-r--r-- | Tests/Tutorial/Step1/directions.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Tests/Tutorial/Step1/directions.txt b/Tests/Tutorial/Step1/directions.txt index 10f2583..827d775 100644 --- a/Tests/Tutorial/Step1/directions.txt +++ b/Tests/Tutorial/Step1/directions.txt @@ -52,14 +52,13 @@ make use of the version numbers. The resulting source code is listed below. int main (int argc, char *argv[]) { - if (argc < 2) - { + if (argc < 2) { std::cout << argv[0] << " Version " << Tutorial_VERSION_MAJOR << "." << Tutorial_VERSION_MINOR << std::endl; std::cout << "Usage: " << argv[0] << " number" << std::endl; return 1; - } + } double inputValue = atof(argv[1]); |