上一页 1 2 3 4 5 6 ··· 18 下一页
摘要: PC:~/Desktop$ ip addr show eth06: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether d0:0d: 阅读全文
posted @ 2025-01-20 16:11 飞雪飘鸿 阅读(24) 评论(0) 推荐(0) 编辑
摘要: #include <GLFW/glfw3.h> int main(void) { GLFWwindow* window; /* Initialize the library */ if (!glfwInit()) return -1; /* Create a windowed mode window 阅读全文
posted @ 2025-01-16 17:47 飞雪飘鸿 阅读(3) 评论(0) 推荐(0) 编辑
摘要: #include <GLFW/glfw3.h> int main(void) { GLFWwindow* window; /* Initialize the library */ if (!glfwInit()) return -1; /* Create a windowed mode window 阅读全文
posted @ 2025-01-16 17:46 飞雪飘鸿 阅读(15) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include<GLFW/glfw3.h> using namespace std; int main() { //初始化GLFW的基本环境 glfwInit(); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR,4); 阅读全文
posted @ 2025-01-16 17:30 飞雪飘鸿 阅读(5) 评论(0) 推荐(0) 编辑
摘要: # 需求的最低的cmake程序版本 cmake_minimum_required(VERSION 3.12) # 本工程的名字 project(CwaterPro) # 本工程支持的C++版本 set(CMAKE_CXX_STANDARD 17) #查找目录 include_directories( 阅读全文
posted @ 2025-01-09 17:32 飞雪飘鸿 阅读(2) 评论(0) 推荐(0) 编辑
摘要: https://learnopengl-cn.readthedocs.io/zh/latest/01%20Getting%20started/02%20Creating%20a%20window/ 阅读全文
posted @ 2025-01-09 16:49 飞雪飘鸿 阅读(18) 评论(0) 推荐(0) 编辑
摘要: # 需求的最低的cmake程序版本 cmake_minimum_required(VERSION 3.12) # 本工程的名字 project(OpenGLTEST1) # 本工程支持的C++版本 set(CMAKE_CXX_STANDARD 17) # 指定 GLFW 和 GLEW 的头文件目录 阅读全文
posted @ 2025-01-09 10:46 飞雪飘鸿 阅读(4) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> using namespace std; int main(){ cout<<"haha\n"; return 0; } 阅读全文
posted @ 2025-01-09 09:32 飞雪飘鸿 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 当开关断开时,此时可以表示数字0,当开关闭合时,此时可以表示数字1。 在计算机硬件设计上通常将8bit作为一个存储单元(8个晶体管作为一个寄存器)这种影响一直影响到现在,现在我们将8bit称为一个字节。 计算机能以二进制存储以下内容,分为三类:https://blog.csdn.net/weixin 阅读全文
posted @ 2025-01-06 17:03 飞雪飘鸿 阅读(4) 评论(0) 推荐(0) 编辑
摘要: #include <gtk/gtk.h> static void on_activate(GtkApplication* app, gpointer user_data) { GtkWidget *window; GtkWidget *button; // 创建一个新窗口 window = gtk_ 阅读全文
posted @ 2025-01-06 16:03 飞雪飘鸿 阅读(6) 评论(0) 推荐(0) 编辑
摘要: #include "global.h" void main() { //123456789 10 11 //110 1110 //1234567 //printf("%d",0X12);// 0x开头都是十六进制,0开头都是10进制。 //printf("\n%d",012); //二进制转八进制1 阅读全文
posted @ 2025-01-03 16:55 飞雪飘鸿 阅读(6) 评论(0) 推荐(0) 编辑
摘要: #include "global.h" void main() { //123456789 10 11 //110 1110 //1234567 //printf("%d",0X12);// 0x开头都是十六进制,0开头都是10进制。 //printf("\n%d",012); //二进制转八进制1 阅读全文
posted @ 2025-01-03 16:46 飞雪飘鸿 阅读(4) 评论(0) 推荐(0) 编辑
摘要: #include "global.h" void main() { printf("\n"); Sleep(2000); printf("\n"); Sleep(2000); printf("\t"); Sleep(2000); printf("\n"); system("pause"); } 阅读全文
posted @ 2025-01-03 15:50 飞雪飘鸿 阅读(6) 评论(0) 推荐(0) 编辑
摘要: #include "global.h" void main() { int i; while (i=1,i++,i<999) { printf("\a"); } system("pause"); } #include "global.h" void main() { while (1) { prin 阅读全文
posted @ 2025-01-03 15:33 飞雪飘鸿 阅读(4) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<stdlib.h> void main() { //printf("呵呵"); //system("shutdown -a"); //getchar();//暂停 //system("calc"); /* 块注释,杀掉进程 system("tas 阅读全文
posted @ 2025-01-03 12:02 飞雪飘鸿 阅读(2) 评论(0) 推荐(0) 编辑
摘要: GPU编程最佳语言 ‌GPU编程的最佳语言选择取决于具体的应用场景和开发者的需求。以下是几种常用的GPU编程语言及其优缺点‌: ‌CUDA‌: ‌优点‌:CUDA是NVIDIA推出的并行计算平台和编程模型,基于C++,提供了丰富的库和工具,适用于需要直接访问GPU硬件的高性能计算任务。CUDA具有较 阅读全文
posted @ 2024-12-31 13:09 飞雪飘鸿 阅读(132) 评论(0) 推荐(0) 编辑
摘要: package main import ( "fmt" "image/color" ) // 定义一个RGBA颜色 type MyColor struct { R, G, B, A uint8 } // 实现color.Color接口 func (c MyColor) RGBA() (r, g, b 阅读全文
posted @ 2024-12-26 08:45 飞雪飘鸿 阅读(8) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/hzlxb123/article/details/109031193 阅读全文
posted @ 2024-12-26 08:18 飞雪飘鸿 阅读(7) 评论(0) 推荐(0) 编辑
摘要: golang在go1.1-g1.4时还不具备工程化的条件,但在go1.5时开始具备工程化的条件,这是因为(1)在go1.5之前的版本golang采用的是c语言编译器,(2)gc的STW时间会很长,(3)第三方包没有合理的存放位置。 而在go1.5版本开始实现go语言自举,在这个版本里开始采用三色标记 阅读全文
posted @ 2024-12-24 15:55 飞雪飘鸿 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 断言库:import "github.com/stretchr/testify/assert" 阅读全文
posted @ 2024-12-24 15:30 飞雪飘鸿 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 计算机图形学就是研究将图形的表示法从参数法转换到点阵法的一门学科。 https://blog.csdn.net/weixin_53919192/article/details/124808931 为什么我写出来的代码都是在命令行运行的,为什么写不出那种有窗口有按键有动画的程序呢 研究用计算机绘制图像 阅读全文
posted @ 2024-12-24 11:53 飞雪飘鸿 阅读(7) 评论(0) 推荐(0) 编辑
摘要: glade 阅读全文
posted @ 2024-12-23 17:26 飞雪飘鸿 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-12-23 17:25 飞雪飘鸿 阅读(7) 评论(0) 推荐(0) 编辑
摘要: # 下载Go语言二进制包 wget https://dl.google.com/go/go1.23.4.linux-arm64.tar.gz # 解压缩到/usr/local目录 sudo tar -C /usr/local -xzf go1.23.4.linux-arm64.tar.gz # 配置 阅读全文
posted @ 2024-12-23 17:07 飞雪飘鸿 阅读(31) 评论(0) 推荐(0) 编辑
摘要: package main import ( "fmt" "io/ioutil" "time" "unsafe" sdl "github.com/moonfdd/sdl2-go/sdl2" "github.com/moonfdd/sdl2-go/sdlcommon" ) const REFRESH_E 阅读全文
posted @ 2024-12-20 15:57 飞雪飘鸿 阅读(6) 评论(0) 推荐(0) 编辑
摘要: package main import ( "fmt" "runtime" ) func main() { fmt.Println("You are running on:") switch runtime.GOOS { case "windows": fmt.Println("Windows") 阅读全文
posted @ 2024-12-20 14:59 飞雪飘鸿 阅读(4) 评论(0) 推荐(0) 编辑
摘要: #ifdef _WINDOWS_ CreateThread(); //windows下线程的创建 #else Pthread_create(); //Linux下线程的创建 #endif https://zhuanlan.zhihu.com/p/627322587 阅读全文
posted @ 2024-12-20 14:55 飞雪飘鸿 阅读(1) 评论(0) 推荐(0) 编辑
摘要: package main import "fmt" func main() { //阶乘 jiecheng := 1 for i := 1; i < 10; i++ { jiecheng *= i fmt.Printf("%d的阶乘是%d\n", i, jiecheng) } } package m 阅读全文
posted @ 2024-12-20 12:25 飞雪飘鸿 阅读(10) 评论(0) 推荐(0) 编辑
摘要: package main import "fmt" func main() { for i := 0; i < 9; i++ { for j := 0; j < 9; j++ { fmt.Printf("%d x %d =%d\t", i, j, i*j) } } } 阅读全文
posted @ 2024-12-20 12:12 飞雪飘鸿 阅读(6) 评论(0) 推荐(0) 编辑
摘要: package main import ( "fmt" ) func main() { var b float64 var a float64 = 42 b = a * a fmt.Println("结果", b) } package main import ( "fmt" "math" ) fun 阅读全文
posted @ 2024-12-20 11:47 飞雪飘鸿 阅读(15) 评论(0) 推荐(0) 编辑
摘要: package main import ( "fmt" ) func divide(a, b int) (int, error) { if b == 0 { return 0, fmt.Errorf("不能除以0") } return a / b, nil } func main() { resul 阅读全文
posted @ 2024-12-20 09:52 飞雪飘鸿 阅读(17) 评论(0) 推荐(0) 编辑
摘要: package main import ( "fmt" ) func divide(a, b int) (int, error) { if b == 0 { return 0, fmt.Errorf("不能除以零") } return a / b, nil } func main() { resul 阅读全文
posted @ 2024-12-18 17:26 飞雪飘鸿 阅读(2) 评论(0) 推荐(0) 编辑
摘要: package main import ( "fmt" ) func main() { var a, b int fmt.Print("请输入第一个数字: ") fmt.Scanln(&a) fmt.Print("请输入第二个数字: ") fmt.Scanln(&b) sum := a + b fm 阅读全文
posted @ 2024-12-18 17:25 飞雪飘鸿 阅读(5) 评论(0) 推荐(0) 编辑
摘要: package main import ( "flag" "fmt" "os" ) func main() { // 定义命令行参数 op := flag.String("op", "add", "Operation to perform: add, sub, mul, div") a := fla 阅读全文
posted @ 2024-12-18 15:42 飞雪飘鸿 阅读(5) 评论(0) 推荐(0) 编辑
摘要: flag:用于解析命令行参数。 fmt:用于格式化和输出文本。 os:用于处理操作系统功能,如退出程序。 阅读全文
posted @ 2024-12-18 15:39 飞雪飘鸿 阅读(7) 评论(0) 推荐(0) 编辑
摘要: start_app.bat Apply @echo off chcp 65001 cls echo echo 应用启动程序 echo :: 检查Python是否安装 python --version >nul 2>&1 if %errorlevel% neq 0 ( echo [错误] 未检测到Py 阅读全文
posted @ 2024-12-18 15:18 飞雪飘鸿 阅读(33) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/515421827 Go语言的编译器是否有后门?如果有后门的编译器编译出来的Go程序是否有后门?有后门的编译器编译出来的Go编译器程序是否有后门? 阅读全文
posted @ 2024-12-17 17:11 飞雪飘鸿 阅读(1) 评论(0) 推荐(0) 编辑
摘要: https://www.zhihu.com/search?type=content&q=%E5%8A%A0%E5%AF%86%E5%92%8C%E8%A7%A3%E5%AF%86 https://blog.csdn.net/lanxin777/article/details/141386345 ht 阅读全文
posted @ 2024-12-17 16:40 飞雪飘鸿 阅读(8) 评论(0) 推荐(0) 编辑
摘要: Windows可信启动架构及其与安全启动共同建立的信任根 安全启动基于公钥基础设施(PKI)流程,在允许任何模块执行前,先对其进行严格认证。这些模块广泛包括固件驱动程序、选项ROM、磁盘上的UEFI驱动程序、UEFI应用程序或UEFI引导加载程序。通过执行前的镜像认证机制,安全启动有效降低了如roo 阅读全文
posted @ 2024-12-17 16:14 飞雪飘鸿 阅读(18) 评论(0) 推荐(0) 编辑
摘要: C++ Graphics Library 从BIOS到UEFI的转变标志着系统固件发展的一次重大进步。 计算机原理 理解BIOS和UEFI 小熊猫C++ XEGE绘图库 SimulIDE电路仿真软件 Java绘图库,类似XEGE Python绘图库,类似XEGE easyx Dev-C++ code 阅读全文
posted @ 2024-12-17 10:05 飞雪飘鸿 阅读(7) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 18 下一页
https://damo.alibaba.com/ https://tianchi.aliyun.com/course?spm=5176.21206777.J_3941670930.5.87dc17c9BZNvLL