summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor McDowell <[email protected]>2024-01-27 15:24:16 -0800
committerConnor McDowell <[email protected]>2024-01-27 15:24:16 -0800
commit0724557c54a1afed83c929e9c9f517fddf6256bc (patch)
tree7aa4a11017081c7c09c78b69e0fadc27c2aa3586
parentInclass 6 overload functions created, problem with math_func() (return 1) wil... (diff)
downloadin-class-exercise-6-connormcdowell275-0724557c54a1afed83c929e9c9f517fddf6256bc.tar.xz
in-class-exercise-6-connormcdowell275-0724557c54a1afed83c929e9c9f517fddf6256bc.zip
error fixedHEADmain
-rw-r--r--.vs/in-class-exercise-6-connormcdowell275/v17/.wsuobin34816 -> 35328 bytes
-rw-r--r--Project1/header.h2
2 files changed, 1 insertions, 1 deletions
diff --git a/.vs/in-class-exercise-6-connormcdowell275/v17/.wsuo b/.vs/in-class-exercise-6-connormcdowell275/v17/.wsuo
index cc982f2..8bd97f9 100644
--- a/.vs/in-class-exercise-6-connormcdowell275/v17/.wsuo
+++ b/.vs/in-class-exercise-6-connormcdowell275/v17/.wsuo
Binary files differ
diff --git a/Project1/header.h b/Project1/header.h
index de29a83..943eee3 100644
--- a/Project1/header.h
+++ b/Project1/header.h
@@ -1,7 +1,7 @@
#ifndef MY_HEADER_FILE_H
#define MY_HEADER_FILE_H
-int math_func();
+int math_func(int);
int math_func(int square = 2);