Hi guys, I could do with some help regarding a problem I'm having with header files, specifically to do with the string data type. The objects work perfectly when I put them inside the .cpp but when I set it to include the exact same code in a .h, I get a string of error messages. Can someone please take a look at this snippet from the header to see where I'm going wrong?
Sorry to even post this, I solved the problem by myself by replacing the string data type with std::string. It didn't compile before when I did that because for some reason an exe was running in the background and blocking it (I honestly don't know)