最终运行效果图(程序见序号2): #!/usr/bin/env python # -*- coding:utf-8 -*- # ------------------------------------------------------------ # # 参考资料: # 用 python 和 tk... ...
分类:
其他好文 时间:
2018-08-31 11:47:56
阅读次数:
163
html 一、标签(重要) 1.web标准的组成三部分 结构层 html 样式层css 行为层JS。 2.标签的分类 (单标签,双标签) (嵌套关系,并列关系) 3.文本格式化标签 b, p i u h1 en 4.img标签使用及属性 <img src="路径" alt=“图片加载失败显示”tit ...
分类:
Web程序 时间:
2018-08-31 10:50:08
阅读次数:
370
编译错误 1: error: variably modified 'stack1' at file scope 出现错误代码段: 修改方法: 编译错误 2: warning: ignoring return value of ‘scanf’, declared with attribute warn ...
分类:
其他好文 时间:
2018-08-31 00:22:53
阅读次数:
417
Java中sleep和wait的区别① 这两个方法来自不同的类分别是,sleep来自Thread类,和wait来自Object类。 sleep是Thread的静态类方法,谁调用的谁去睡觉,即使在a线程里调用b的sleep方法,实际上还是a去睡觉,要让b线程睡觉要在b的代码中调用sleep。 ② 锁:... ...
分类:
编程语言 时间:
2018-08-30 23:32:33
阅读次数:
257
HTML部分: <div id="loading" class="loading position"> <div class="spinner"> <div class="bounce1"></div> <div class="bounce2"></div> <div class="bounce3" ...
分类:
其他好文 时间:
2018-08-30 21:38:35
阅读次数:
204
c++常见的STL容器 1 队列—queue 我想很多人都知道这个神器—queue 队列queue(FIFO),!!需要头文件 #incldue<queue> 有几种常见操作: 1.queue<类型> q 定义一个某类型的队列q 2.q.push(元素) 把一个元素压入队列q的队首 3.q.pop( ...
分类:
编程语言 时间:
2018-08-30 20:39:23
阅读次数:
197
class Solution: def IsPopOrder(self, pushV, popV): # write code here stack = [] for i in pushV: stack.append(i) while stack and stack[-1] =... ...
分类:
其他好文 时间:
2018-08-30 18:27:44
阅读次数:
136
1、frame和iframe区别 frame和iframe两者都可以实现的功能基本相同,不过iframe比frame具有更多的灵活性,frame是整个页面的框架,iframe是内嵌的网页元素,也可以说是内嵌框架 2、示例操作:163的登录界面 定位邮箱账号 没有切换iframe时候,定位报错 没有切 ...
分类:
其他好文 时间:
2018-08-30 18:20:14
阅读次数:
259
题目: Implement the following operations of a queue using stacks. 使用堆栈实现队列的以下操作。 push(x) -- Push element x to the back of queue. 将元素x推送到队列的后面。 pop() -- ...
分类:
其他好文 时间:
2018-08-30 18:19:57
阅读次数:
147
background-clip 实现字体渐变效果 (一)类似KTV字幕效果 (二)渐变字 ps: ...
分类:
其他好文 时间:
2018-08-30 14:25:55
阅读次数:
171