Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 5 months ago.
what is the reason ?"string is undefined despite i put #include<string.h>
help me please , i"m a beginner
1 Answer
7 years, 4 months ago.
You can use std::string rather than string, or use "using namespace std;" in your source code.
http://stackoverflow.com/questions/5499189/stdstring-vs-string-in-c