上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页
摘要: When will the writer see the play?'The play may begin at any moment,'I said.'It may have begun already,'Susan answered.I hurried to the ticket office.'May I have two tickets please?'I asked.'I am sorry,We have sold out,'the girl answered.'What a pity!'Susan ex 阅读全文
posted @ 2013-07-17 10:14 露水上的青蛙 阅读(251) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"#include using namespace std;int finddata(int m,int ibegin,int iend){int it,icount,itemp;bool flag;icount=0; for(ibegin;ibegin>n;cout<<"幸运数目是:"<<finddata(n,ib,id); getchar();getchar();return 0;} 阅读全文
posted @ 2013-07-16 14:48 露水上的青蛙 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 二者使用方法相同,入口点不一样。举例: CString str; /* if (GetDlgItem(IDC_Number1)->GetWindowText(str),str=="Number1")//获取指定控件的指针 返回CWnd* 用于对话框类 { GetDlgItem(IDC_Number1)->SetWindowText(_T("数值1"));//返回void } else { GetDlgItem(IDC_Number1)->SetWindowText(_T("Number1")); }*/ if(Get 阅读全文
posted @ 2013-07-15 17:07 露水上的青蛙 阅读(8949) 评论(4) 推荐(2) 编辑
摘要: OSVERSIONINFO快速信息Windows NT 支持Windows 95 支持Win32s 支持引入程序库 -头文件 winbase.hUnicode WinNT平台说明 无概述-系统信息微软的Win32应用程序编程接口(API)包含了描述当前操作系统配置的函数。所属分组系统信息结构体以下结构体均用于检索或设置系统信息。ANIMATIONINFOHW_PROFILE_INFOMINIMIZEDMETRICSNONCLIENTMETRICSOSVERSIONINFOSYSTEM_INFO使用说明在OSVERSIONINFO数据结构中包含操作系统版本信息。这些信息包括主要和次要版本号,一个 阅读全文
posted @ 2013-07-15 16:32 露水上的青蛙 阅读(3192) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"#include #include #include #include using namespace std;class Student{public:Student(){}Student(string name,string sex,int age,string number);int getAge(){return _age;} string getNumber(){return _number;}bool operator==(const string&str)//重载操作符{ return str==_number;} 阅读全文
posted @ 2013-07-13 14:56 露水上的青蛙 阅读(1358) 评论(0) 推荐(0) 编辑
摘要: What does 'a cold welcome' refer to?On wednesday evening,we went to the town hall.It was the last dayof the year and a large crowd of people hadgathered under the town hall clock.It would strike twelve in twenty minutes' time.Fifteen minutes passed and then,at five to twelve,the clock st 阅读全文
posted @ 2013-07-10 09:32 露水上的青蛙 阅读(769) 评论(0) 推荐(0) 编辑
摘要: 原文出自【比特网】,转载请保留原文链接:http://soft.chinabyte.com/database/460/11433960.sh[导读] ofstream是从内存到硬盘,ifstream是从硬盘到内存,其实所谓的流缓冲就是内存空间 在C++中,有一个stream这个类,所有的I/O都以这个“流”类为基础的,包括我们要认识的文件I/O. stream这个类有两个重要的运算符: 1、插入器(>) 从流中输入数据。比如说系统有一个默认的标准输入流(cin),一般情况下就是指的键盘,所以,cin>>x;就表示从标准输入流中读取一个指定类型的数据。 在C++中,对文件的操作 阅读全文
posted @ 2013-07-09 11:31 露水上的青蛙 阅读(238090) 评论(0) 推荐(17) 编辑
摘要: source code:base class:class persion {protected:string _name,_sex,_birthday,_number;int _age;public:persion(string st_name,string st_sex,string st_birthday,int st_age,string st_number);persion(){}virtual bool SearchData(string studentnumber,string name)=0;void DisplayData();};derived class:class Stu 阅读全文
posted @ 2013-07-04 17:28 露水上的青蛙 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2013-07-04 15:05 露水上的青蛙 阅读(131) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"#include using namespace std;class Screen{friend istream&operator>>(istream&,Screen&);friend ostream&operator_height||col_width){cerr"; osHeight()|| s1.Width()!=s2->Width()) return false; for(int ix=0;ixWidth();jy++) if (s1.get(ix,jy)!=s2-&g 阅读全文
posted @ 2013-07-04 15:04 露水上的青蛙 阅读(232) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页