使用vc++读取jpg文件时为什么有的取值为负 10
ifstreaminfile;infile.open("40.jpg",ios::binary);if(!infile)cout<<"error";charch;whil...
ifstream infile;
infile.open("40.jpg",ios::binary);
if(!infile)
cout<<"error";
char ch;
while(infile.read(&ch,1))
cout<<int(ch)<<" "; 展开
infile.open("40.jpg",ios::binary);
if(!infile)
cout<<"error";
char ch;
while(infile.read(&ch,1))
cout<<int(ch)<<" "; 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询