CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2012
    Posts
    181

    How simplicity read text file,which contain one or three values?

    Text file can conain one or three integer values in string. How correctly and simplicity read this string?

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

    Re: How simplicity read text file,which contain one or three values?

    If the file is the text one then read it as text, then parse this text to get what you need.
    If MFC project you could use CStdioFile class to read a file, and CString class to parse.
    Victor Nijegorodov

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