V
vesper_carmen
Hi,
I am getting data from a server over the network using a HTTP request
The data comes in chunks that I currently appending to a file I have
opened earler for read. Later I read it out line by line from this file
using the getline function.
I have no means of knowing how big the data will be beforehand. But, I
was to use an in memory data structure instead of the file that will
let the read the data out line by line, exactly as I did wth the file.
Can someone help me with this? A char array wouldnt work as how do I
get the data out line by line? Thats absolutely essential to me,
Thanks,
Carmen
I am getting data from a server over the network using a HTTP request
The data comes in chunks that I currently appending to a file I have
opened earler for read. Later I read it out line by line from this file
using the getline function.
I have no means of knowing how big the data will be beforehand. But, I
was to use an in memory data structure instead of the file that will
let the read the data out line by line, exactly as I did wth the file.
Can someone help me with this? A char array wouldnt work as how do I
get the data out line by line? Thats absolutely essential to me,
Thanks,
Carmen