I was just wondering, is it normal if the IDE that I am currently using, C-free 5.0 doesn't need me to put down #include<string> in order to use the string class, because I know that it is usually needed, or does that vary upon IDEs?- Thank you
The standard doesn't define what other headers a given header includes. You probably included some other header that indirectly included <string> for you. If you take the code and try to compile it with some other compiler, it will probably fail.