Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 18 Dec 2012
Offline Last Active Jan 27 2015 09:50 AM

#5040278 any fast program for reading large txt files?

Posted by on 07 March 2013 - 12:55 AM

Depends on what you need to do, but the fastest way to do this in C++ will be to load the entire file into a large char array, then scan for your delimiters and replace them with null characters in place.  You can then store the address of the start of the delimited value and use it like a string later (since it is null terminated).