摘要:
字符串处理:(1):字符串的拼接 result_string = source_string1 + source_string2 其中: source_string1为待合并的第一个字符串 source_string2为待合并的第二个字符串 result_string为合并后的字符串 注意:如果需要
阅读全文
posted @ 2019-07-24 22:21
Dis羽神
阅读(211)
推荐(0)
posted @ 2017-12-26 11:24
Dis羽神
阅读(21)
推荐(0)
摘要:
1 2 3 4 5 6 7 8 用户注册//网页名称 9 10 11 12 //网页的表单 action:提交表单时发送数据到指定地址处理 method:规定发送的http方法 post是向服务器发送数据,而get则相反 13 14 alig...
阅读全文
posted @ 2019-03-17 11:36
Dis羽神
阅读(148)
推荐(0)
摘要:
table用来标记表格 border 用来标记表格边框的厚度 cellspacing 用来标记格子的大小 cellpadding 用来标记内容与边框的间隔 h 用来标记大标题 而caption 则用来标记表格的名称 th用来标记表格的表头 colspan 和rowspan分别用来合并列和行
阅读全文
posted @ 2019-03-09 10:49
Dis羽神
阅读(209)
推荐(0)
摘要:
标题标签 h 快捷方式 h${h$标题}*8+Tab 由图中的效果可以得知,序号越小的,标题的大小越大,超过6之后,标题的大小就不在变化, 这是因为html5默认的标题就只有6种 超链接使用标签 a 使用方法 a+Tab 1所示的引号里面是你的超链接的地址(网址) 2处是超链接的名字 点击我的主页
阅读全文
posted @ 2019-03-09 00:16
Dis羽神
阅读(287)
推荐(0)
摘要:
这里使用的是visual studio code 网页编辑器,轻量级工具,大小只有几十兆 // 使用“!+Tab"可以得到网页的基本框架 Document//网页头部的标题,如”Document" //网页的头部部分 // body用来标记网页的正文 hello,world!
阅读全文
posted @ 2019-03-08 23:03
Dis羽神
阅读(147)
推荐(0)
摘要:
// 线性表(栈的应用).cpp: 定义控制台应用程序的入口点。 // #include "stdafx.h" #include"iostream" #include"string" using namespace std; template class Stack { private: int top; T * S; int size; public: St...
阅读全文
posted @ 2018-08-10 22:02
Dis羽神
阅读(94)
推荐(0)
posted @ 2018-07-27 21:42
Dis羽神
阅读(132)
推荐(0)
摘要:
4 #include "stdafx.h" 5 #include"iostream" 6 using namespace std; 7 template 8 #define impossible 12345678 9 class List 10 { 11 private: 12 int length; 13 T *s; 14 void...
阅读全文
posted @ 2018-07-23 22:03
Dis羽神
阅读(315)
推荐(0)
posted @ 2018-02-01 18:35
Dis羽神
阅读(0)
推荐(0)
摘要:
试题描述 有两个由字符构成的环。请写一个程序,计算这两个字符环上最长连续公共字符串的长度。例如,字符串“ABCEFAGADEGKABUVKLM”的首尾连在一起,构成一个环;字符串“MADJKLUVKL”的首尾连在一起,构成一个另一个环;“UVKLMA”是这两个环的一个连续公共字符串。 输入格式 一行,包含两个字符串,分别对应一个字符环。这两个字符串之间用单个空格分开。字符串长度不超过25...
阅读全文
posted @ 2017-12-27 20:22
Dis羽神
阅读(1490)
推荐(0)