3 ms·
Why there is the calling of "read(buffer.get());" in the first example (inside of the 'while' loop)? It is a 'char *buffer' type, unless I'm mistaken raw point
by vqsubu16 9mo ago
Why there is the calling of "read(buffer.get());" in the first example (inside of the 'while' loop)?
It is a 'char *buffer' type, unless I'm mistaken raw pointers don't have methods/member functions?
- dundarious 9mo agocopy-paste error given the next example uses a smart ptr type that has a .get() to get the actual pointer.