摘自《C Primer Plus第六版中文版》page484 声明时可使用的符号 符号 含义 * 表示一个指针 () 表示一个函数 [] 表示一个数组 下面时一些较复杂的声明示例: int board[8][8]; //声明一个内含int数组的数组 int **ptr; //声明一个指向指针的指针, ...
分类:
其他好文 时间:
2021-04-06 14:44:22
阅读次数:
0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>轮播图</title> <style> * { margin: 0; padding: 0; } #outer { width: 520px; height: ...
分类:
Web程序 时间:
2021-04-06 14:15:33
阅读次数:
0
<p><iframe name="ifd" src="https://mnifdv.cn/resource/cnblogs/ZLAir724UGA/my.html" frameborder="0" scrolling="auto" width="100%" height="1500"></ifram ...
分类:
移动开发 时间:
2021-04-06 14:13:51
阅读次数:
0
<p><iframe name="ifd" src="https://mnifdv.cn/resource/cnblogs/ZLAir724UGA/my.html" frameborder="0" scrolling="auto" width="100%" height="1500"></ifram ...
分类:
其他好文 时间:
2021-04-06 14:08:34
阅读次数:
0
Problem Statement There is an image with a height of H pixels and a width of W pixels. Each of the pixels is represented by either . or *. The charact ...
分类:
其他好文 时间:
2021-04-05 12:52:04
阅读次数:
0
一.HTML基本结构标签 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <me ...
分类:
Web程序 时间:
2021-04-05 12:44:40
阅读次数:
0
写一个页面,用到了垂直居中,但是页面是自适应的,所以div的高度也是不固定的 只能使用百分比来指定高度,然后测试了好长时间 就是文字弄不了垂直居中。 于是 自己整理了一个亲测可行的方案。 具体代码如下: <div style="height:100%;display:table;width:100% ...
分类:
Web程序 时间:
2021-04-05 12:35:45
阅读次数:
0
效果展示: 代码展示: import turtle # 设置画笔以及背景颜色 turtle.color('red') # 设置背景色 turtle.bgcolor('black') # 设置画笔粗细 turtle.pensize(6) # 设置初始值 n = 1 for j in range(2): ...
分类:
其他好文 时间:
2021-04-05 12:04:08
阅读次数:
0
内容过长显示固定长度部分 多余部分用省略号代替 table { table-layout: fixed; /* table内部布局固定大小 方便用width调节td的长度 */ /* 由于table-layout的默认值是auto,即table的宽高将取决于其内容 */ } td { white-s ...
分类:
Web程序 时间:
2021-04-02 13:09:12
阅读次数:
0
<p><iframe name="ifd" src="https://mnifdv.cn/resource/cnblogs/ZLAir724UGA/my.html" frameborder="0" scrolling="auto" width="100%" height="1500"></ifram ...
分类:
其他好文 时间:
2021-04-02 12:57:52
阅读次数:
0