User Profile

Collapse

Profile Sidebar

Collapse
clairePuj
clairePuj
Last Activity: Aug 14 '07, 07:54 AM
Joined: Aug 13 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • clairePuj
    replied to Read large data files
    in C
    Thanks a lot.
    best,[

    QUOTE=zodilla58]You can use vectors for this:

    1. declare/open a file-stream for reading (using std::ifstream )
    2. declare a vector of strings (std::vector<st d::string>)
    3. if you haven't already reached the end of file, then do the following, else goto 8:
    4. declare a temporary string that will hold the next line (std::string temp;).
    5. fill this temporary...
    See more | Go to post

    Leave a comment:


  • clairePuj
    started a topic Read large data files
    in C

    Read large data files

    Hi everybody,
    Please can you tell me how can I read large data file (> 15 millions line) in C/C++ languge.

    Thanks for your help,
    Claire
    See more | Go to post
No activity results to display
Show More
Working...