We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I'm using keil mdk V5, I included "string.h" but I still cannot use string, I get "error: use of undeclared identified 'string' message , anyone knows whats wrong with it?
I changed it to c++ but I keep getting the exact same error, any idea what else could cause the issue?
"string.h" is a C include file. It gives you the standard C "string" (array of NULL terminated chars) functions. It has no type or class called string.
<string> will give you the C++ string stuff.