摘要: 1. 查看目录结构命令ls(list)功能:列出目录内容 格式:ls[参数][文件或目录] -a或--all 所有文件和目录。注意隐藏文件、特殊目录、以“.”开头的和以“..”开头的 -l 使用详细格式列表 -t 用文件和目录的更改时间排序 -r 反向排序 --help 在线帮助 常用: ls -l 阅读全文
posted @ 2021-05-28 15:39 恬恬超级甜 阅读(308) 评论(0) 推荐(0) 编辑
摘要: javascript的三种对话框是通过调用window对象的三个方法alert(),confirm()和prompt()来获得,可以利用这些对话框来完成js的输入和输出,实现与用户能进行交互的js代码。 第一种:alert()方法 警告框alert() alert是警告框,只有一个按钮“确定”无返回 阅读全文
posted @ 2020-06-03 07:08 恬恬超级甜 阅读(1749) 评论(0) 推荐(1) 编辑
摘要: #include "stdio.h" #include "stdlib.h" #define MaxSize 100 typedef struct sqlist{ int data[MaxSize]; int length; }SqList; void CreateList(SqList *p,in 阅读全文
posted @ 2020-03-31 14:17 恬恬超级甜 阅读(337) 评论(0) 推荐(1) 编辑
摘要: #include<stdio.h> #include <stdlib.h> typedef struct Lnode{ char data;/*数据域,保存节点的值。*/ struct Lnode*next;/*指针域*/ } LNode;/*节点的类型*/ LNode *CreateList_L( 阅读全文
posted @ 2020-03-31 14:16 恬恬超级甜 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 求1~99之间的和 public static void main(String[] args) { // TODO Auto-generated method stub int i=1; int sum=0; do { sum+=i; i=i+2; } while(i<=100); System. 阅读全文
posted @ 2020-03-31 13:50 恬恬超级甜 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 当鼠标指示外框时显示隐藏内容 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style> *{margin: 0;padding: 0;} ul,ol,li{list-style: none;} a{tex 阅读全文
posted @ 2020-03-31 13:37 恬恬超级甜 阅读(163) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <style> *{margin: 0;padding:0 ;} ul,ol,li{list-style: none;} a{color: black;} # 阅读全文
posted @ 2020-03-31 13:30 恬恬超级甜 阅读(144) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style> *{margin: 0;padding: 0;} ul,li{list-style: none;} img{border: none;} #scr 阅读全文
posted @ 2020-03-31 13:25 恬恬超级甜 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="UTF-8"> 5 <title></title> 6 <style> 7 *{margin: 0;padding: 0;} 8 ul,ol ,li{list-style: none;} 9 a 阅读全文
posted @ 2020-03-31 13:09 恬恬超级甜 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 一、请求响应及常用状态码 1.请求:在浏览器地址栏输入地址,点击回车请求服务器 2.响应:服务器根据浏览器发送的请求,返回数据到浏览器在网页上进行显示 3.常用状态码: 200 响应成功 302重定向 404请求资源找不到 500服务器代码出异常 二、如何查看网页中的响应头 百度:打开网页按F12, 阅读全文
posted @ 2020-03-28 16:07 恬恬超级甜 阅读(225) 评论(0) 推荐(0) 编辑