上一页 1 2 3 4 5 6 ··· 33 下一页
摘要: 数据类型 在仓颉编程语言中,class 和 Array 等类型属于引用类型,其他基础数据类型和 struct 等类型属于值类型。 struct Copy { var data = 2012 } class Share { var data = 2012 } main() { let c1 = Cop 阅读全文
posted @ 2025-04-16 14:55 巨兽~墨菲特 阅读(23) 评论(0) 推荐(0)
摘要: 牛刀小试:第一个仓颉程序 在电脑中创建一个文件夹: 并且编辑一个文件 main.cj main(){ println("hello cangjie!!!"); } 编译 > cjc .\main.cj -o hello.exe 执行 > .\hello.exe hello cangjie!!! > 阅读全文
posted @ 2025-04-16 14:35 巨兽~墨菲特 阅读(20) 评论(0) 推荐(0)
摘要: https://cangjie-lang.cn/ 从官网下载最新的安装包 解压后,放入一个位置。 将程序加入全局环境变量中: 添加5个环境变量 %CANGJIE_HOME%\bin %CANGJIE_HOME%\tools\bin %CANGJIE_HOME%\tools\lib %CANGJIE_ 阅读全文
posted @ 2025-04-16 14:21 巨兽~墨菲特 阅读(16) 评论(0) 推荐(0)
摘要: 开发环境 ubuntu https://learnopengl-cn.github.io/01%20Getting%20started/03%20Hello%20Window/ CMakeLists.txt cmake_minimum_required(VERSION 3.10) # Set som 阅读全文
posted @ 2025-04-01 20:58 巨兽~墨菲特 阅读(29) 评论(0) 推荐(0)
摘要: https://zhuanlan.zhihu.com/p/18152880192 docker pull dpanel/dpanel:lite docker run -p 8807:8080 --name dpanel \ -e APP_NAME=dpanel \ -v /var/run/docke 阅读全文
posted @ 2025-03-23 08:37 巨兽~墨菲特 阅读(17) 评论(0) 推荐(0)
摘要: #include "mainwindow.h" #include "ui_mainwindow.h" #include <QFileDialog> #include <QDebug> #include <QColorDialog> #include <QColor> #include <QFontD 阅读全文
posted @ 2025-03-15 09:07 巨兽~墨菲特 阅读(19) 评论(0) 推荐(0)
摘要: #include "mainwindow.h" #include "ui_mainwindow.h" #include <QFileDialog> #include <QDebug> #include <QColorDialog> #include <QColor> MainWindow::Main 阅读全文
posted @ 2025-03-13 21:33 巨兽~墨菲特 阅读(17) 评论(0) 推荐(0)
摘要: 资源文件 #include "mainwindow.h" #include <QPushButton> #include <QIcon> #include <QMenuBar> #include <QMenu> #include <QToolBar> #include <QAction> #incl 阅读全文
posted @ 2025-03-10 13:44 巨兽~墨菲特 阅读(15) 评论(0) 推荐(0)
摘要: QMainWindow #include "mainwindow.h" #include <QMenuBar> #include <QMenu> #include <QAction> #include <QToolBar> #include <QStatusBar> #include <QLabel 阅读全文
posted @ 2025-03-09 22:55 巨兽~墨菲特 阅读(20) 评论(0) 推荐(0)
摘要: // demo01HelloWorld.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // 请确认是在包含GLFW的头文件之前包含了GLAD的头文件。GLAD的头文件包含了正确的OpenGL头文件(例如GL/gl.h),所以需要在其它依赖于OpenGL的头文件之前包含GL 阅读全文
posted @ 2025-02-28 11:24 巨兽~墨菲特 阅读(27) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 33 下一页