会员
商店
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
知了不了了之
博客园
首页
新随笔
联系
订阅
管理
2024年1月15日
centos 开机自启动设置
摘要: # 进入/etc/init.d/ cd /etc/init.d/ #创建启动脚本 touch start.sh #编写启动脚本 前三行为必填 vim start.sh #!/bin/bash# chkconfig: - 85 15# description:开机自启脚本/usr/local/ngin
阅读全文
posted @ 2024-01-15 14:01 知了不了了之
阅读(138)
评论(0)
推荐(0)
编辑
2023年6月5日
springboot 整合websocket
摘要: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </dependency> @Configuration public cl
阅读全文
posted @ 2023-06-05 23:28 知了不了了之
阅读(27)
评论(0)
推荐(0)
编辑
2023年4月17日
netty socket io CORS
摘要: node.js服务器 io.set('transports', ['websocket', 'xhr-polling', 'jsonp-polling', 'htmlfile', 'flashsocket']); io.set('origins', '*:*'); java 服务器 方式一: Con
阅读全文
posted @ 2023-04-17 22:08 知了不了了之
阅读(194)
评论(0)
推荐(0)
编辑
2022年12月1日
springboot 项目自动重启脚本及注册方式
摘要: 创建脚本文件 /etc/init.d/prs_xml.jar 添加脚本 chkconfig -add prs_xml.jar 查看服务列表 chkconfig --list 启动服务 chkconfig prs_xml.jar on 设置启动等级 chkconfig --level 35 prs_x
阅读全文
posted @ 2022-12-01 12:58 知了不了了之
阅读(177)
评论(0)
推荐(0)
编辑
2022年11月18日
C++函数的重载
摘要: // 同一作用域下// 函数名称相同// 函数参数类型不同 或者 个数不同 或者顺序不同//注意函数的返回值不可以作为函数的重载条件void func(int a){ cout << "函数的重载" << endl; } void func(int a, int b){ cout << "函数的重载
阅读全文
posted @ 2022-11-18 10:05 知了不了了之
阅读(20)
评论(0)
推荐(0)
编辑
2022年11月17日
C++ 函数之占位参数
摘要: void func(int a, int){ cout << "占位参数" << endl; } //占位参数之默认参数 void func2(int a, int =10){ cout << "占位默认参数" << endl; } int main(){ func(1, 1); func2(1);
阅读全文
posted @ 2022-11-17 22:25 知了不了了之
阅读(70)
评论(0)
推荐(0)
编辑
C++ 函数的形参之默认参数
摘要: // 如果某个位置参数有默认值,那么从这个位置往后,从左向右,必须都有默认值int func( int a , int b=10){ return a+b; }//一个错误示范 int func( int a , int b=10 ,int c ){ return a+b +c; } int mai
阅读全文
posted @ 2022-11-17 22:16 知了不了了之
阅读(51)
评论(0)
推荐(0)
编辑
2022年11月15日
new 在堆内存中开辟内存空间,delete 释放开辟的内存空间
摘要: int main(){ int * p = new int(10); cout << *p << endl; delete p; cout << *p << endl; int * arr = new int[10]; for(int i=0; i< 10 ; i++){ arr[i] = i +1
阅读全文
posted @ 2022-11-15 23:27 知了不了了之
阅读(22)
评论(0)
推荐(0)
编辑
C++ 内存分区模型
摘要: 代码区: 存放函数的二进制代码,由操作系统管理 全局区: 存放全局变量、静态变量以及常量。 栈区:由编译器自动分配释放,存放函数的参数值,局部变量等 堆区:由程序员分配和释放,若程序员不释放,程序结束时由操作系统回收 代码区: 存放CPU执行的机器指令 代码区是共享的,共享的目的是对于频繁被执行的程
阅读全文
posted @ 2022-11-15 23:11 知了不了了之
阅读(21)
评论(0)
推荐(0)
编辑
2022年11月10日
Content type 'application/octet-stream' not supported for bodyType=boolean",
摘要: @PostMapping("upload") public Result add( @RequestPart(value = "startTime") String startTime, @RequestPart(value = "id") String id, @RequestPart(value
阅读全文
posted @ 2022-11-10 14:34 知了不了了之
阅读(1297)
评论(0)
推荐(0)
编辑
下一页
昵称:
知了不了了之
园龄:
8年8个月
粉丝:
0
关注:
3
+加关注
<
2025年3月
>
日
一
二
三
四
五
六
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
我的标签
javafx
(2)
随笔分类
C++笔记(19)
docker(1)
javafx一揽子系列(2)
随笔档案
2024年1月(1)
2023年6月(1)
2023年4月(1)
2022年12月(1)
2022年11月(14)
2022年10月(8)
2022年9月(3)
2022年7月(3)
2022年6月(1)
2022年3月(1)
2021年7月(1)
2021年5月(1)
2020年12月(1)
2020年6月(1)
2019年11月(1)
2019年4月(4)
2018年12月(1)
2018年7月(4)
2018年6月(5)
2018年5月(6)
2018年3月(1)
2018年1月(5)
2017年12月(1)
2017年11月(2)
2017年8月(6)
2017年6月(1)
2017年5月(4)
2017年4月(4)
2017年2月(1)
2017年1月(2)
2016年12月(1)
2016年6月(4)
更多
阅读排行榜
1. 卸载npm(15439)
2. Spring注解之-@ConditionalOnExpression表达式(13240)
3. npm rebuild node-sass(10824)
4. Java中关于大小写字母的转换(6911)
5. 离线安装elasticdump (4792)
推荐排行榜
1. npm rebuild node-sass(1)
点击右上角即可分享