summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-08-25 23:04:24 -0400
committerB Stack <bgstack15@gmail.com>2019-08-25 23:04:24 -0400
commitda08171e0c65e278feeb8393b5a8f7e79ea491c9 (patch)
tree728fd5de284626349bc9e9f5f48f30a83e0efc10 /main.cpp
parentinitial commit (diff)
downloadcpp-da08171e0c65e278feeb8393b5a8f7e79ea491c9.tar.gz
cpp-da08171e0c65e278feeb8393b5a8f7e79ea491c9.tar.bz2
cpp-da08171e0c65e278feeb8393b5a8f7e79ea491c9.zip
at page 3.6HEADmaster
Improved the makefile for multifile project, including header files.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
new file mode 100644
index 0000000..735cd75
--- /dev/null
+++ b/main.cpp
@@ -0,0 +1,8 @@
+#include <iostream>
+#include "math.h"
+
+int main()
+{
+ std::cout << doubleNumber(getNumberFromUser()) << '\n' ;
+ return 0 ;
+}
bgstack15