会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
11
下一页
2024年6月8日
C++文件/流
摘要: C++文件读写(文本文件/二进制文件) 一、前言 常见的文件类型可分为两种:文本文件和二进制文件。 文本文件的阅读相对容易,可以使用记事本/Notepad++/VS Code等应用程序直接打开阅览;然而二进制文件由0/1序列组成,直接打卡二进制文件通常是乱码状态。如果需要读取二进制文件,通常需要知晓
阅读全文
posted @ 2024-06-08 14:27 梦一场6688
阅读(22)
评论(0)
推荐(0)
2024年5月31日
C++ IO流:控制台输入输出
摘要: C++输入输出头文件#include <iostream>,常用于控制台打印/OJ数据读取 分别对应:控制台IO流/文件流/字符串流,本文主要介绍控制台输出输出流 cin >> 空格分隔 cout << 控制台输出 已知待读取元素的数量: cin >> n 未知待读取元素的数量: while(cin
阅读全文
posted @ 2024-05-31 11:20 梦一场6688
阅读(107)
评论(0)
推荐(0)
2024年5月28日
git checkout
摘要: git checkout用于切换分支、撤销修改或恢复文件 切换分支 git checkout my_branch 创建分支并切换到新分支 git checkout -b new_branch 恢复文件到最新提交版本 git checkout my_file 等同于 git restore 撤销本地修
阅读全文
posted @ 2024-05-28 11:34 梦一场6688
阅读(49)
评论(0)
推荐(0)
2024年5月12日
PLY文件格式及cpp解析
摘要: PLY (Polygon File Format, 多边形文件格式)文件用于存储Geometry Object Data(包括vertices, face and other element顶点/面片/其它属性) 文件格式: Header Vertex List Face List (lists o
阅读全文
posted @ 2024-05-12 10:04 梦一场6688
阅读(590)
评论(0)
推荐(0)
2024年5月4日
Python学习记录(七):numpy学习
摘要: np.tofile np.fromfile np.random.random np默认数据类型 常用的切片操作 反转数组 # CHW --> HWC, torch.tensor --> np.ndarray, RGB --> BGR image = image.permute(1, 2, 0).nu
阅读全文
posted @ 2024-05-04 11:47 梦一场6688
阅读(20)
评论(0)
推荐(0)
2024年3月30日
Git学习记录(一):安装与配置
摘要: 一、Git安装: Linux系统自带:终端中输入git即可 Windows系统安装: git下载: https://git-scm.com/download/win 将git添加至环境变量 git --version查看git版本 二、Git配置: git config --global --lis
阅读全文
posted @ 2024-03-30 11:00 梦一场6688
阅读(36)
评论(0)
推荐(0)
Json文件格式及Cpp解析
摘要: JSON (JavaScript Object Notation) 用于存储和传输数据,通常用于服务器-->Web端的数据传输 JSON 示例: { "employees":[ {"firstName":"John", "lastName":"Doe"}, {"firstName":"Anna",
阅读全文
posted @ 2024-03-30 10:52 梦一场6688
阅读(75)
评论(0)
推荐(0)
2024年3月27日
OpenGL学习资料汇总
摘要: 部分资料汇总: LearnOpenGL: https://learnopengl.com/Introduction LearnOpenGL-CN: https://learnopengl-cn.github.io/ Sample CMake Project for OpenGL: https://g
阅读全文
posted @ 2024-03-27 21:49 梦一场6688
阅读(74)
评论(0)
推荐(0)
2024年3月14日
C++工程(五):CMake+NDK交叉编译
摘要: Android-NDK: 安卓-原生开发工具包 写一个Hello World #include <iostream> using namespace std; int main(int argc, const char *argv[]) { for(int i=0; i<5; i++) { std:
阅读全文
posted @ 2024-03-14 09:00 梦一场6688
阅读(134)
评论(0)
推荐(0)
2024年2月6日
FFmpeg学习记录(二):视频图像转换
摘要: 一、FFmpeg视频转图像 将input.mp4视频转为0000.png~9999.png命名的图片 ffmpeg -i input.mp4 %04d.png 参考链接:https://www.bannerbear.com/blog/how-to-extract-images-from-a-vide
阅读全文
posted @ 2024-02-06 09:52 梦一场6688
阅读(122)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
11
下一页
公告