1 2 3 4 5 ··· 32 下一页
摘要: import java.util.*; import java.util.stream.Collectors; import java.util.stream.Stream; public class StreamDemo1 { public static void main(String[] ar 阅读全文
posted @ 2025-06-23 21:57 巨兽~墨菲特 阅读(7) 评论(0) 推荐(0)
摘要: 数据类型 在仓颉编程语言中,class 和 Array 等类型属于引用类型,其他基础数据类型和 struct 等类型属于值类型。 struct Copy { var data = 2012 } class Share { var data = 2012 } main() { let c1 = Cop 阅读全文
posted @ 2025-04-16 14:55 巨兽~墨菲特 阅读(17) 评论(0) 推荐(0)
摘要: 牛刀小试:第一个仓颉程序 在电脑中创建一个文件夹: 并且编辑一个文件 main.cj main(){ println("hello cangjie!!!"); } 编译 > cjc .\main.cj -o hello.exe 执行 > .\hello.exe hello cangjie!!! > 阅读全文
posted @ 2025-04-16 14:35 巨兽~墨菲特 阅读(14) 评论(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 巨兽~墨菲特 阅读(11) 评论(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 巨兽~墨菲特 阅读(20) 评论(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 巨兽~墨菲特 阅读(11) 评论(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 巨兽~墨菲特 阅读(15) 评论(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 巨兽~墨菲特 阅读(13) 评论(0) 推荐(0)
摘要: 资源文件 #include "mainwindow.h" #include <QPushButton> #include <QIcon> #include <QMenuBar> #include <QMenu> #include <QToolBar> #include <QAction> #incl 阅读全文
posted @ 2025-03-10 13:44 巨兽~墨菲特 阅读(11) 评论(0) 推荐(0)
摘要: QMainWindow #include "mainwindow.h" #include <QMenuBar> #include <QMenu> #include <QAction> #include <QToolBar> #include <QStatusBar> #include <QLabel 阅读全文
posted @ 2025-03-09 22:55 巨兽~墨菲特 阅读(14) 评论(0) 推荐(0)
1 2 3 4 5 ··· 32 下一页