Wednesday 1 December 2010

How many parameter(s) function getline() takes?

► 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.

1 comment:

  1. it takes 3 parameters

    ref: http://crasseux.com/books/ctutorial/getline.html

    ReplyDelete