fstream for i/o

hi

i want to ask two queries

1 can we use fstream for i/o operation on pocket pc 2005. how to use that. which are the header file and library for that

2 is there any support for STL. how to use STL in pocketpc 2005.could you please give me some reference

thnx in advance




Answer this question

fstream for i/o

  • HSheridan

    You have already asked this. I'm not sure what kind of answer you are looking for. fstream is supported in VS2005 on Windows Mobile. For example:


    #include <fstream>
    using namespace std;

    int _tmain(int argc, _TCHAR* argv[])
    {
    wofstream fout;
    fout.open(L"
    \\test.txt");
    fout << L
    "Hello world" << endl;
    return 0;
    }



  • fstream for i/o