CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2008
    Posts
    59

    Question problem while using filestream in VC++ 2008

    It is my first project working on VS 2008(using VC++ MFC). I have worked using VC++ 6.0.

    On the same kind I've tried to use file streams(fstream, ifstream). And included <fstream.h> in header. Then it is coming error.

    Is thr any changes in this version than VC ++ 6.0.??

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: problem while using filestream in VC++ 2008

    Have a look at this thread.
    Victor Nijegorodov

  3. #3
    Join Date
    Oct 2008
    Posts
    59

    Unhappy Re: problem while using filestream in VC++ 2008

    Thank u Victor,

    Bt I used #include <fstream> only. Still I am not able to declare ifstream. fstream etc..

    am using VISUAl STUDIO 2008 IDE for VC++(MFC)..

  4. #4
    Join Date
    Dec 2008
    Posts
    144

    Re: problem while using filestream in VC++ 2008

    What is the error message?

  5. #5
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: problem while using filestream in VC++ 2008

    Quote Originally Posted by arunkr6 View Post
    ... On the same kind I've tried to use file streams(fstream, ifstream). And included <fstream.h> in header. Then it is coming error.
    Quote Originally Posted by arunkr6 View Post
    ... Bt I used #include <fstream> only. Still I am not able to declare ifstream. fstream etc..
    <fstream.h> or <fstream> ?
    Victor Nijegorodov

Tags for this Thread

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