Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ File Input to Vector

Name: foreach(nigger in Africa) 2011-12-15 1:12

Well /prog/ I'm trying to read a text file line-by-line into a vector. Is there some sort of inherent vector size limitation I don't know about?

Protip: The file has 23,000 lines. :S

(I've tested it by trying to output the first 1 or 2 vector elements after the loop, but shit just breaks because there's nothing in it??)

Name: Anonymous 2011-12-16 9:47

>>27
debugger you so tsundere, you never tell me what are you concerned about,
BTW: I compiled this bull in M$ Visual Niggerudio, made a 180k lines of 'fagstorm' 27 times per line, and it fucking worked.
Also if the vector read nothing the .at(0) at end should throw shit at him.
So wtf?
OP post 1st line of the file

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List