Why this should not work?
Code:
#include <iostream>
#include <fstream>
#include <string>

int main()
{
    using namespace std;
    string str = "C:\\test.del";
    ifstream f(str);
}
Why fstream doesn't accept a string as a path?