CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Threaded View

  1. #1
    Join Date
    Jun 2011
    Posts
    30

    Question fstream logistics

    The following code compiles with no errs and works.
    However my VC Pro 2005 Intellisense shows a bunch of stuff but does not show anything for-> ::in <-OR-> :ut ON <-std::fstream::

    I'm wondering has the template been upgraded (?) or is this just beyond the Intellisense capability ?
    When I look in the include files I can't spot them either, but it is compiling (?). I'm not that good at reading ATL so maybe I'm just not spotting them.
    Code:
    std::fstream FileObj;
    FileObj.open("TempFile.txt", std::fstream::in | std::fstream::out |                                                 std::fstream::app); 
    FileObj << '\n' << _T("Whatever Text") <<  '\n' ;
    FileObj << _T("Whatever other Text") << '\n' ;
    FileObj.close();
    Last edited by J_W; May 3rd, 2013 at 08:47 PM. Reason: clarity

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured