passing string data to a class function segfaults[code]class Tool { public: Tool(); ~Tool(); int getnumber(); void setnumber(int val); ch...
passing string data to a class function segfaultsif we comment out the strcpy line it seems to function.. so perhaps there's a better way to perfor...
passing string data to a class function segfaultsWe have defined a Tool class that has private variables accessed through get and set functions which...
This user does not accept Private Messages