English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

what is the difference bet get and getline functions?

2007-11-15 16:34:19 · 2 answers · asked by enSo 1 in Computers & Internet Programming & Design

2 answers

get reads a specified number of bytes whereas getline reads an ENTIRE line of data up to a maximum number of bytes. Consult the man page for the specifics.

2007-11-15 16:37:39 · answer #1 · answered by mdigitale 7 · 0 0

get grabs all the data requested and getline only gets one line of the data that is requested.

2007-11-16 00:38:19 · answer #2 · answered by Phill Lee 4 · 0 0

fedest.com, questions and answers