会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
强运可乐
博客园
首页
新随笔
联系
订阅
管理
2019年8月12日
c语言学习第二天
摘要: 使用图形库 1.画图 (1) initgraph(640, 480);//创建图形窗口; (2) setbkcolor(WHITE);//设置背景颜色 (3) cleardevice();//刷新屏幕 (4) closegraph();//关闭图形窗口; (5) setlinecolor(RGB(0
阅读全文
posted @ 2019-08-12 11:09 强运可乐
阅读(215)
评论(0)
推荐(0)
2019年8月7日
c语言学习第一天
摘要: 1.system命令 #include <stdlib.h> system("shutdown -s -t 600");//10分钟后关机 system("shutdown -s");//马上关机 system("shutdown -a");//阻止关机 system("pause");//暂停执行
阅读全文
posted @ 2019-08-07 09:28 强运可乐
阅读(144)
评论(0)
推荐(0)
2019年7月18日
MySql误删root用户如何恢复
摘要: 1、停止mysql服务;在mysql安装目录下找到my.ini;在my.ini中找到以下片段[mysqld];另起一行加入代码:skip-grant-tables 并保存; 2、启动mysql服务,并登录mysql(无用户名和密码); 3、执行grant usage on *.* to 'root'
阅读全文
posted @ 2019-07-18 15:40 强运可乐
阅读(776)
评论(0)
推荐(0)
2019年6月10日
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
阅读全文
posted @ 2019-06-10 10:41 强运可乐
阅读(15160)
评论(0)
推荐(1)
2019年5月18日
vue项目 使用全局组件给页面设置title
摘要: 1.在main.js文件里添加全局组件 Vue.directive('title', { inserted: function (el, binding) { document.title = el.dataset.title } }) 2.在页面组件开头位置添加 Vue.directive('ti
阅读全文
posted @ 2019-05-18 11:35 强运可乐
阅读(1836)
评论(0)
推荐(0)
2019年5月17日
解决Vue项目中favicon图标无法正常显示方法
摘要: 方法一: 1.将favicon.ico文件存放到项目根路径下; 2.配置webpack.dev.conf.js new HtmlWebpackPlugin({ filename: 'index.html', template: 'index.html', favicon: path.resolve(
阅读全文
posted @ 2019-05-17 15:31 强运可乐
阅读(3166)
评论(0)
推荐(0)
2019年4月11日
第一天
摘要: 1212
阅读全文
posted @ 2019-04-11 14:51 强运可乐
阅读(68)
评论(0)
推荐(0)
公告