diff options
author | Oskar <[email protected]> | 2024-09-28 11:18:41 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-09-28 11:18:41 +0200 |
commit | c2d59bb8a75c6228a91393b9cf3aedcb4d455218 (patch) | |
tree | d80f749de607f0c7a384cbd4c7cc3c3232a0ccb9 /7p35.cpp | |
parent | 8d61cae024eeee08b8126ee5482f211ca677dfd7 (diff) |
more
Diffstat (limited to '7p35.cpp')
-rw-r--r-- | 7p35.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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; } |