diff options
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; } |