summaryrefslogtreecommitdiff
path: root/7p35.cpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-09-28 11:18:41 +0200
committerOskar <[email protected]>2024-09-28 11:18:41 +0200
commitc2d59bb8a75c6228a91393b9cf3aedcb4d455218 (patch)
treed80f749de607f0c7a384cbd4c7cc3c3232a0ccb9 /7p35.cpp
parent8d61cae024eeee08b8126ee5482f211ca677dfd7 (diff)
more
Diffstat (limited to '7p35.cpp')
-rw-r--r--7p35.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/7p35.cpp b/7p35.cpp
index 094d1df..1b8d7cc 100644
--- a/7p35.cpp
+++ b/7p35.cpp
@@ -1,12 +1,10 @@
#include <iostream>
-
/*
*
* 7.35
*
*
*/
-
typedef std::string Type;
Type initVal();
class Exercise {
@@ -17,16 +15,13 @@ public:
private:
int val;
};
-
Exercise::Type Exercise::setVal(Exercise::Type parm) {
val = parm + initVal(); // double initVal() is used
return val; // Return val as double?
}
-
Exercise::Type Exercise::initVal() {
return 0;
}
-
int main () {
return 0;
}