I use Dev-C++ which has GCC 4.9.2 C++ compiler. I am confused on where and where not to use the following for declaring a string variable:
#include <string>only#include <string.h>only- using
std::stringonly and no headers #include <cstring.h>
because everything compiles and run in devc++, I am unable to understand the concept behind all these