25 Apr
2007
25 Apr
'07
4:15 p.m.
cout << "init path " << initial_path().string() << endl; cout << "init path exists " << exists(initial_path()) << endl; prints: init path C:/Documents and Settings/me/workspace/3.2/DciApiTest init path exists 1 But if I try to construct the same path from a string: I get: path init_path2(initial_path().string(), no_check); // I've also tried 'native' checker cout << "init path 2 " << init_path2.string() << endl; cout << "init path 2 exists " << exists(init_path2) << endl; I get: init path 2 C:Documents and Settings/ken.klose/workspace/3.2/DciApiTest init path 2 exists 0 The / after the : gets lost and therefore the file isn't found. Thanks in advance! BTW: Using MinGW.