好想睡覺~但不管 反正是學東西 多少聽一點點也好~
新建專案 1.file -new -project -GLUT
位置選擇桌面 名稱記得取嘿 然後選擇桌面上freeglut資料夾
打開main.cpp,複製以下程式碼至#include <GL/glut.h>之下
其他程式碼刪除
差不多就這樣
Git Bash
指令:
cd desktop
git clone https://github.com/DorisTmaple/2023graphicsa => //自己的綱網址
cd 2023graphicsa
start .
(把檔案拉進去)
git status (紅色)
git add .
git status (綠色)
git config --global user.name DorisTmaple
git config --global user.email toffmaple@gmail.com
git commit -m " Blogger 名稱 "
git push (彈出視窗> 登入> 重新整理)
差不多就這樣 下課~
沒有留言:
張貼留言