- 博客(7)
- 收藏
- 关注
转载 c语言学习第二天
使用图形库 1.画图 (1)initgraph(640, 480);//创建图形窗口; (2) setbkcolor(WHITE);//设置背景颜色 (3)cleardevice();//刷新屏幕 (4) closegraph();//关闭图形窗口; (5)setlinecolor(RGB(0,255,0));//设置线颜色 线,圆,矩形都可以 ...
2019-08-12 11:09:00
122
转载 c语言学习第一天
1.system命令 #include <stdlib.h> system("shutdown -s -t 600");//10分钟后关机 system("shutdown -s");//马上关机 system("shutdown -a");//阻止关机 system("pause");//暂停执行 system("cls");//清屏 ...
2019-08-07 09:28:00
68
转载 MySql误删root用户如何恢复
1、停止mysql服务;在mysql安装目录下找到my.ini;在my.ini中找到以下片段[mysqld];另起一行加入代码:skip-grant-tables并保存; 2、启动mysql服务,并登录mysql(无用户名和密码); 3、执行grant usage on *.* to 'root'@'localhost' identified by '123456' with gr...
2019-07-18 15:40:00
198
转载 go语言map基本用法
package main;import "fmt"func main() { var dict map[string]string //定义dict为map类型 dict = make(map[string]string) //让dict可编辑 dict["a"] = "苹果" //加值1 dict["b"] = "香蕉" //加值2 value, ok := dic...
2019-06-10 10:41:00
114
转载 vue项目 使用全局组件给页面设置title
1.在main.js文件里添加全局组件 Vue.directive('title', { inserted: function (el, binding) { document.title = el.dataset.title } }) 2.在页面组件开头位置添加 转载于:https://www.c...
2019-05-18 11:35:00
691
转载 解决Vue项目中favicon图标无法正常显示方法
方法一: 1.将favicon.ico文件存放到项目根路径下; 2.配置webpack.dev.conf.js new HtmlWebpackPlugin({ filename: 'index.html', template: 'index.html', favicon: path.resolve('favicon.ic...
2019-05-17 15:31:00
766
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人