C++ 讀取文件內容至當前文件長度的字符串中

在C中,讀取文件內容t一般時使用字符數組char[ ]保存。html 例如:ios FILE *html; char tmpChar; char htmlText[2000000]; char *p; memset(htmlText,0,2000000); p=htmlText; html = fopen(path.c_str(),"r"); if(html){ while((t
相關文章
相關標籤/搜索