Git Git pull 强制覆盖本地文件 Git pull 强制覆盖本地文件 git fetch --all git reset --hard origin/master git pull 09月02日 热度3,712 度 发表评论 阅读全文
C++ 俄罗斯方块C++实现(基于QT)(2)– 方块基类代码 俄罗斯方块C++实现(基于QT)(2)-- 方块基类代码 方块基类的代码实现(tetris.h, tetris.cpp) 基类提供left()左移,right()右移,down()下移,rotat... 09月01日 热度5,088 度 发表评论 阅读全文
C++ 俄罗斯方块C++实现(基于QT)(1) 俄罗斯方块C++实现(基于QT) (1) 编码语言 C++及其扩展 编程软件 QT 运行平台 Linux、Windows、Embedded 先附上程序最终效果图: 操作说明: 游戏界面支持player... 08月31日 热度18,360 度 发表评论 阅读全文
Linux Linux管道读写及重定向的一个简易代码 Linux管道读写及重定向的一个简易代码 先给出子进程执行的test程序(需先编译) // test.cpp #include <iostream> using namespace std... 08月29日 热度3,812 度 发表评论 阅读全文
Git Git常用命令 Git常用命令 专用名称译名 Workspace:工作区 Index / Stage:暂存区 Repository:仓库区(或本地仓库) Remote:远程仓库 新建代码库 # 在当前目录新建一个Gi... 08月26日 热度4,076 度 发表评论 阅读全文
Git git clone already exists and is not an empty directory解决办法 git clone already exists and is not an empty directory解决办法 在对应的文件夹目录下执行以下命令: git init git remote add... 08月26日 热度9,471 度 发表评论 阅读全文
cocos2dx 图像渲染和动画——动作 图像渲染和动画——动作 动作 有时限动作(FiniteTimeAction) 即时动作(ActionInstant)和持续动作(ActionInterval) 即时动作(ActionInstant) ... 08月24日 热度3,804 度 发表评论 阅读全文
cocos2dx 图像渲染和动画——坐标系详解 图像渲染和动画——坐标系详解 笛卡尔坐标系(Cartesian coordinates) 笛卡尔坐标系中定义右手系原点在左下角,x向右,y向上,z向外,OpenGL坐标系为笛卡尔右手系。 y | ... 08月23日 热度3,906 度 发表评论 阅读全文