► 0
► 1
► 2
► 3
inFile.getLine(name, maxChar, stopChar); The first argument is a character array, the
array should be large enough to hold the complete line. The second argument is the
maximum number of characters to be read. The third one is the character if we want to
stop somewhere.
it takes 3 parameters
ReplyDeleteref: http://crasseux.com/books/ctutorial/getline.html