FILE* fp;
	if((fp=_wfopen(L"turk2.txt", L"r,ccs=UNICODE"))!=NULL)
	{
		fseek(fp,0,SEEK_END);
		long len = ftell(fp);
		fseek(fp,0,SEEK_SET);
		wchar_t *temp = new wchar_t[len];
		memset(temp,0,len);
		fread(temp,sizeof(wchar_t),len,fp);
		AfxMessageBox(temp);
		delete [] temp;
		fclose(fp);
	}

相关文章:

  • 2022-12-23
  • 2021-03-26
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案