#include
using namespace std;
class Teacher
{
public:
Teacher(string nam,int ag,string add,string tel,string se,string ti):
name(nam),age(ag),addr(add),telnum(tel),sex(se),title...
分类:
其他好文 时间:
2014-05-15 14:41:33
阅读次数:
222
??
解决办法:加入相关类的 jar 包到你的 classpath (右键点击某个jar包--build path--config build path...---liberary---Add external jar library),此处加入 servelet-api.jar(此包在eclipse/plugins目录中可以找得到,其他类似的错误也用相同的方法解决) 到 classpath ,...
分类:
编程语言 时间:
2014-05-15 07:08:36
阅读次数:
313
在VI下编译运行C++
vi 1.cpp (创建cpp文件名)
i (进入insert模式开始编辑)
输入完成代码后按Esc 键 退出
然后按 Shift +:输入wq (保存并退出)
g++ 1.cpp -o 1 (编译1.cpp文件,编译后的可运行文件名为1)
./1 运行结果
系统调用
fork() 系统每调用一次会产生一个...
分类:
系统相关 时间:
2014-05-15 06:17:03
阅读次数:
415
鸡啄米上一节讲了静态文本框,本节要讲的编辑框(Edit Control)同样是一种很常用的控件,我们可以在编辑框中输入并编辑文本。在前面加法计算器的例子中已经演示了编辑框的基本应用。下面具体讲解编辑框的使用。
编辑框的通知消息
编辑框发生某些事件时会向父窗口发送通知消息。在对话框模板中的编辑框上点右键,选择“Add Event Handler”,为编辑框添加...
分类:
其他好文 时间:
2014-05-15 05:14:28
阅读次数:
782
LeetCode-001 Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the target, where index1 must be less than index2...
分类:
其他好文 时间:
2014-05-15 04:34:50
阅读次数:
293
数据库格式:idintimgtypevarchar(50)imgp_w_picpath存图片://上传图片
protectedvoidButton1_Click(objectsender,EventArgse)
{
//上传控件
HttpPostedFilehpf=FileUpload1.PostedFile;
//设置一个缓存字节数据(用户存放图片的二进制码)
byte[]b=newbyte[hpf.ContentLength..
分类:
数据库 时间:
2014-05-15 03:08:39
阅读次数:
329
1,下载代码
git clone git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next-2.6.git
cd bluetooth-next-2.6
2,修改代码
vi drivers/bluetooth/btusb.c
3,把代码添加到git管理仓库
git add drivers/bluetooth/...
分类:
其他好文 时间:
2014-05-15 02:59:38
阅读次数:
386
Launch Eclipse and click Help > Install New Software....
Click Add.... In the Add Repository dialog, set the Name to "Force.com IDE" and the
Location to "http://media.developerforce.com/...
分类:
系统相关 时间:
2014-05-15 02:51:11
阅读次数:
480
就不介绍了在studio中的图形化操作了,这里简单介绍了一些SQL语言的操作。首先:给一些例子怎样创建一个数据库对象和表(创建create
删除drop):1、创建数据库对象 1 --创建数据库对象 2 create database School; 3 4 --删除数据库 5 drop
data....
分类:
数据库 时间:
2014-05-15 02:06:25
阅读次数:
371
我们在网路基础的时候谈过关于路由的问题,两部主机之间一定要有路由才能够互通 TCP/IP 的协定,否则就无法进行连线啊!
一般来说,只要有网路介面,该介面就会产生一个路由,例如在鸟哥实验室内部的主机有一个 eth0 及 lo ,所以:
[root@desktop40 Desktop]# route [-nee]
[root@desktop40 Desktop]# route add [-...
分类:
其他好文 时间:
2014-05-14 20:38:13
阅读次数:
262