cout<<"Press any key to exit!\n"<<endl;
来源:互联网 发布:java 加密压缩文件 编辑:程序博客网 时间:2024/06/06 01:56
#include<conio.h> #include<iostream.h> #include<afx.h> int main(){CFile f;CFileException e;char* pFileName="d:\\test.dat";if(!f.Open(pFileName,CFile::modeRead,&e)){cout<<("Open File Failed!")<<endl;}//*else{char pbuff[100];int nBytesRead=f.Read(pbuff,100);for(int i=0;i<nBytesRead;i++){cout<<pbuff[i];}cout<<"Press any key to exit!\n";}//*//*else{char pbuff[100];int nBytesRead=f.Read(pbuff,100);for (int i=0;i<nBytesRead;i++){cout<<pbuff[i];}cout<<"Press any key to exit!"<<endl;}//*/getch();f.Close(); return 0;}
- cout<<"Press any key to exit!\n"<<endl;
- VC_VC2010打开调试单个CPP文件的COUT时候不会出现press any key to continue
- Load Error!Press any key to reboot
- press any key to out demo
- line 1 of the inf file winnt.xpe is invalid setup cannot continue. press any key to exit
- 错误信息: NTLDR is missing Press any key to restart
- NTLDR is missing press any key to restart 的解决方法
- NTLDR is missing press any key to restart 的解决方法
- disk error press any key to restart 解决办法
- vs2010运行没有“press any key to continue...”
- cout<<endl;与cout<<"/n";的区别
- Press any key to change color, do you want to try it. Please hurry up!
- 系统启动时提示“ntldr is missing press any key to reboot”的处理
- 如何让VS.net中的控制台程序出现Press any key to continue字样?
- 系统出现“NTLDR is missing press any key to restart”问题解决方案
- 电脑出现"NTLDR is Missing Press any key to restart "如何解决.
- 开机时出现NTLDR is missing Press any key to restart 解决方法
- Press any key to continue 原来是 这么写出来的
- 项目风险
- FSBII(一)class CHyperlinkStatic : public CStatic
- 使用MulticastSocket发送组播包无法获取IGMP包的问题
- 浅谈域名的选择的思路
- 接口 正则表达式 字符串
- cout<<"Press any key to exit!\n"<<endl;
- dataGrid过滤器查询和渲染器的使用
- 【Siebel】自定义的方法是用BC的UserProperty修改内容时遇到的问题
- Opencv 2.3 superpack版本在Visual Studio 2010下的配置
- stringBuffer 和stringBuilder
- JAVA桌面开发使窗体屏幕居中
- 2系统启动后的 wifi加载 过程-图解
- dicom文件的显示(基于dcmtk实现)
- 一个简单的显示图像程序(OpenCV)