[Logo]
Forums Register Login
convert vector to array of bytes
i had a program that could get almost any web address and save the file it returned, but it didnt work for php generated addresses. the reason was that my code depended on there being a contentLength attribute, and there is none generated for things like this (like a google search). so i used an if statement to test weather there was one, and if there wasnt, instead of using a buffered read, i tried to read the contents one byte at a time. i had to use a vector for this because again, the contentLength wasnt known. now im stuck with a vector and i dont know how to get it into the file.

i found a solution
 

chop ficaro wrote:


Please check your private messages for an important administrative matter
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards


This thread has been viewed 1847 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jun 23, 2018 07:33:45.