C++
Qesyang
丰富的互联网经验,扎实的基本功,由于从事时间比较久,对WEB产品有多方面了解,并且为人热情开朗,和同事相处融洽,喜欢学习和研究,喜欢接触新知识新技术,不断挑战自我!
展开
-
第一个VC++程序
[code=C/C++]#include using namespace std;int main(){ cout cin.get(); return 0;}[/code]原创 2011-01-15 08:18:00 · 360 阅读 · 0 评论 -
输入和输入
<br />#include <iostream>#include <string>using namespace std;int main(){ string username; cout<<"请输入您的大名"; cin>>username; cout<<username; cin.get(); return 0;}原创 2011-01-15 08:40:00 · 331 阅读 · 0 评论 -
循环语句
<br />#include <iostream>#include <string>using namespace std;int main(){ string username; int i = 0; while(i < 10) { cout<<"请输入您的大名"<<endl; cin>>username; cout<<username<<endl; i++; } cin.get(); return 0;}原创 2011-01-15 08:47:00 · 265 阅读 · 0 评论 -
哥的第一个类
<br />头文件<br />people.h<br /> <br />#ifndef _PEOPLE_H_#define _PEOPLE_H_#include <string>using namespace std;class CPeople{ private: string strName; unsigned int age; int sex; unsigned int height; unsigned int weight; public:原创 2011-01-15 09:34:00 · 478 阅读 · 0 评论 -
socker服务端
#include #include #include #include #include #define SERVPORT 3333#define BACKLOG 10void main(){ int sockfd, client_fd;原创 2011-08-12 12:45:21 · 381 阅读 · 0 评论