2 Topics
|
|
Hello :). How can I fix this? Yes, I can write 2 functions (with and without parameter) ... but what is bad there? #include <cstdlib> #include <string> #include <iostream> using namespace std; class CClass{ public: void foo(string & s = "default"); // COMPILE ERROR string backup; }; void CClass::foo(string & … |
|
Hi Im having this issue with my code. Cannot implicitly convert type 'string' to 'Event' (Class) - Thats the error message. Im trying to save an object of my class to an array but its coming up with this message and I dont see why it cant do it because … |
The End.