我对C++中的文件处理很新颖。所以我想知道是否可以使用C++访问或编辑在线文本文件。就像是有可能打开如下所示的文件:使用C++编辑在线文件
#include<iostream>
#include<fstream>
using namespace std;
int main(){
fstream one("http://xproweb.in/sri.txt");
char a[20];
one>>a;
cout<<a;
return 0;
}
或者是有,我可以访问C++在线文件的任何其他方式?
可能出现[以编程方式阅读网页]的重复(http://stackoverflow.com/questions/389069/programmatically-reading-a-web-page) – user4581301