Lets say I have this code: #include <iostream> #include <string> struct myStruct { int foo; int bar; std::string someText; }; void dataToStruct(myStruct *pStruct, co…
19 years, 10 months ago
Lets say I have this code: #include <iostream> #include <string> struct myStruct { int foo; int bar; std::string someText; }; void dataToStruct(myStruct *pStruct, co…
19 years, 10 months ago
Hi, I need to put the entire contents of a file to a string through a function. So far I haven't been able to return anything from the function. If this had been PHP I would hav…
20 years ago
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more