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.