week01
今天上課教了3個作業, OPENGL,WEBGL,GLUT
1.OPENGL
1-1. codeblocks,File-New-Project,選opengl 專案
2.WEBGL.
3.GLUT.
3-1.到moodle下載 freeglut
3-2.解壓縮到 桌面 freeglut
3-3.改檔名 lib\libglut32.a
3-4.FILE-NEW-project,GLUT專案
3-5.專案名
3-6 GLUT
4 建github倉庫
1.登入 github
2.建 2022graphics 的repo倉庫
2.1.要設定 Public
2.2.要README.md
2.3. Add .gitignore 設定 c++
3. 利用 git指令下載
3.0. 安裝 git for windows
3.1. 開啟 git bash
3.2. cd desktop 進入桌面
3.2. git clone https://你的倉庫網址
3.3.查看 桌面,多了 2022grphics 目錄
3.4. 把今天的程式 複製到 剛剛目錄
4. 把修改的資料,推送到雲端
4.1. cd 2022graphics 進入你的倉庫
4.2. git status 看你的狀況
4.3. git add. 把檔案加進帳冊
4.4. git status 再看一次
這裡要加入
git config --global user.email "你的email"
git config --global user.name "你的名"
git commit -m "上傳第一周"
4.5. git push 推送到雲端,but要登入
4.6. 在chrome記得再登入
沒有留言:
張貼留言