I get error when I try to do this:
path p = "somepath";
FILE* file = fopen(p.c_str(), "r");
I get:
argument of type "const boost::filesystem::path::value_type *" is incompatible with parameter of type "const char *"
Could anyone tell me what I'm doing wrong? Thanks