最新动态

今日:0  |  文章:1149
汇集全站版块最新文章
admin
小绿叶技术博客 Lv2 超级管理员

c++ 文件读写

#include <iostream> #include <cstring> #include <string> #include <stdlib.h> // system 命令使用头文件 #include <fstream> // 读写文件 /*------ mkdir 命令 ------*/ #include <sys/stat.h> #include <
 
C/C++语言开发   1831   2023-01-31
admin
小绿叶技术博客 Lv2 超级管理员

读写文件 c++ ofstream ifstream

#include <iostream> #include <cstring> #include <string> #include <stdlib.h> // system 命令使用头文件 #include <fstream> // 读写文件 /*------ mkdir 命令 ------*/ #include <sys/stat.h> #include <
 
c++ web 编程   2202   2023-01-29
admin
小绿叶技术博客 Lv2 超级管理员

Linux c++ 创建目录

#include <sys/stat.h>   #include <sys/types.h> #include <cstddef> #include <string.h> #include <stdio.h> void mkdir_path(char *p_cMkdir); int main() { char path[60]="/home/salman/30"; mkdir_path(path); } void mkdir_
 
C/C++语言开发   1288   2023-01-29
admin
小绿叶技术博客 Lv2 超级管理员

ubuntu kvm winpe 使用 引导修复 重置windows 密码 windows qocw2 镜像

#  qcow2 救援,winpe 1. 下载微pe: https://www.wepe.com.cn/download.html2. 打开微pe -> 生成可启动 ios  (光盘图标) -> 拷贝 winpe.iso 3. kvm 虚拟机 ->  文件 -> 新建虚拟机 -> 本地安装介质 iso -> 选择 iso  (winpe.iso) -> 选择要安装的操作系统: (winpe 2x
 
KVM虚拟化   1674   2023-01-27
admin
小绿叶技术博客 Lv2 超级管理员

ubuntu 开启远程桌面, 桌面合盖不休眠

#--- 开启远程桌面 ---#sudo apt install -y xrdp# 方法一安装 xrdp 远程工具,缺点: 图像延迟#方法二: 缺点:锁屏下无法登陆设置 > 共享 > 远程桌面 > 开启远程桌面 和 远程控制, 认证 设置密码设置 > 共享 > 远程登陆 > 开启#--- 合盖不休眠 ---# NR=`cat -n /etc/systemd/logind.conf | grep -w HandleLidSwitch | awk -F" " '{
 
ubuntu   2591   2023-01-26
admin
小绿叶技术博客 Lv2 超级管理员

c 结构体 指针

#include <stdio.h> struct namebiao{ char *name; //姓名 int num; //学号 int age; //年龄 char group; //所在小组 float score; //成绩 }; // 定义一个结构体 自定义名字 namebiao struct namebiao shuzu[]= { {"Li ping", 5, 18, 'C', 145.0}, {"Zhang
 
C/C++语言开发   1023   2023-01-17
admin
小绿叶技术博客 Lv2 超级管理员

c 控制led 灯逻辑代码

#include <stdio.h> #include <unistd.h> // sleep 函数包索引 int flag = 0; int flag1 =0; int cishu = 0; int jhcs = 3; // bool 是二进制类型; void test(int bit, int val) { // 由于 main 函数,我得到 数值: 1 1 printf("我是控制灯函数..."); // int const Mask = Bits
/置顶
C/C++语言开发   2018   2023-01-13
admin
小绿叶技术博客 Lv2 超级管理员

windows 扩容磁盘

 cmd # 进入cmd 命令界面diskpart # 进入磁盘分区工具list volume# 列出磁盘select volume c# 选择 c 盘extend # 扩容 选择的磁盘如果还是不行:1. 安装 winpe :   http://work.eisc.cn/ruanjian/windows/%E5%BF%85%E5%A4%87%E8%BD%AF%E4%BB%B6/WePE64_V2.2.exe下载后安装进系统,也可以安装到 u盘2.
/置顶
windows   2147   2023-01-07
admin
小绿叶技术博客 Lv2 超级管理员

c++ 文件写入

#include <fstream> #include <iostream> using namespace std; //--- 文件和流 --- // ofstream 输出文件流,用于创建并写入文件; ifstream 输入文件流,用于读取文件; fstream 文件流,同时有前面两种功能 int main () { char data[100]; // 以写模式打开文件, 定义一个文件打开函数 SetFile ofstream SetF
 
C/C++语言开发   1755   2022-12-29
admin
小绿叶技术博客 Lv2 超级管理员

gitea gitlab git 安装

wget -O gitea https://dl.gitea.io/gitea/1.17.4/gitea-1.17.4-linux-amd64chmod +x gitea ; ./gitea web参考连接:https://docs.gitea.io/zh-cn/install-from-binary/  Jenkins:   https://www.jenkins.io/zh/doc/book/installing/物联网网关平台:http://www.ithingsboa
 
自动化运维linux   2053   2022-12-29
头像

用户名:

粉丝数:

签名:

资料 关注 好友 消息