运算符可分为三大类: 数字、字符串、布尔值 数字就不多说了,我们来看看字符串: 布尔值(输出结果): True 真 False 假 可在判断和循环语句中用作条件使用 If True: Pass While True: pass 计算顺序: ①先计算括号内的②从左到右计算 结果; True or→Tr ...
分类:
其他好文 时间:
2018-08-25 21:24:08
阅读次数:
147
一,实现拼图的搭建: <div class="box"> <table id="table1" class="mytable"> <tr> <td id="1"><img src="Files/01.gif" /></td> <td id="2"><img src="Files/02.gif" /> ...
分类:
Web程序 时间:
2018-08-25 14:36:12
阅读次数:
403
xpath无所不能定位。 https://www.w3.org/TR/xpath/all/#axes 两个神器:firebug、xpath-checker 举例: //td[a//front[contains(text(),"从零开始视频")]//input[@type='checkbox'] 确认 ...
分类:
其他好文 时间:
2018-08-24 16:05:55
阅读次数:
167
1 QWidget *window = new QWidget(); 2 //创建按键,暂无配置slot 3 QPushButton *button1 = new QPushButton(tr("one")); 4 QPushButton *button2 = new QPushButton(tr(... ...
分类:
其他好文 时间:
2018-08-24 11:46:44
阅读次数:
167
1、将空格替换成换行sed"s//\n/g"yum.old.txt2将换行替换成空格catyum.new3.txt|tr"\n"""2、将每一行最后的空格+\替换掉sed"s/[\]$//g"yum.new.txt3、在每一行最后添加\sed"s/$/\\\/g"yum.new3.txt4、将文本中每行字符串后面的空格去掉#原文件[root@dockersoft]#cat-Atest.txthui
分类:
其他好文 时间:
2018-08-23 20:09:36
阅读次数:
216
1 #include 2 #include 3 4 typedef struct TreeNode{ 5 int value; 6 struct TreeNode* Left; 7 struct TreeNode* Right; 8 }TreeNode; 9 10 void printTree(Tr... ...
分类:
其他好文 时间:
2018-08-23 00:25:57
阅读次数:
148
1 #include 2 #include 3 4 typedef struct TreeNode{ 5 int value; 6 struct TreeNode* Left; 7 struct TreeNode* Right; 8 }TreeNode; 9 10 void printTree(Tr... ...
分类:
其他好文 时间:
2018-08-22 19:33:19
阅读次数:
304
一丶上传案例one 1.页面html 1 <div> 2 <form id="j_editForm" method="post"> 3 <table class="align-center"> 4 <tr> 5 <td>图片:</td> 6 <td> 7 <img class="j_upLoad" ...
分类:
Web程序 时间:
2018-08-22 16:54:14
阅读次数:
355
Recovering an InnoDB table from only an .ibd file.Sometime you may need to recover a table when all you have is the .ibd file. In this case, if you tr... ...
分类:
数据库 时间:
2018-08-21 19:04:43
阅读次数:
196
下面为一组图片(四张)展示 1 2 3 4 页面代码如下: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" ...
分类:
Web程序 时间:
2018-08-21 17:45:59
阅读次数:
235