Original Post
is the string class dependant on iostream? when i call std::string in a project without iostream, i get the error "string is not a member of std". When i remove the std::, i get the error "string undeclared". I want to take iostream out of my project because of the ~300k it adds to the executable. example: Is there a way of using the string class without iostream included in the project?
#include <cstdlib>
//#include <iostream>
#include <string.h>
int main(int argc, char *argv[])
{
/*std::*/string me("hello");
system("PAUSE");
return EXIT_SUCCESS;
}