How simplicity read text file,which contain one or three values?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

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

Hybrid View

  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 offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,355

    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
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center