I use ifstream to open the file and then read it. My program works fine when I can specify a local file on my system. e.g. /root/Desktop/abc.xxx works fine
But once the location is on the http server, the file cannot open. for example,
http://192.168.0.10/abc.xxx does not open.
Is there an alternative for ifstream when using a url?
thank.
fammi source
share