Welcome

This is just a personally Notebook of HandMade Hero Project.I will try to illustrate what I have learned concretely. I am really hoping to find more people who can help me to make this note more complete.

Docs are collections of pages in docs/_docs folder. They are typically organized by different topics and basically follows the timeline.

Blogs are some fragmented topics. The blogs posts are just organized by timestamp.

You can also find history source file in history folder.

Getting started

Edit and Debug using Visual Studio

In the video course, you may find that Casey types really fast. So here is a brief cheatsheet of visual studio. Hope that this can help you to get your pace with Casey.

Edit Operation Key
Word Left Ctrl+Left
Word Right Ctrl+ Right
Quick Actions Ctrl+.
Go To Definition F12
Go To Declaration Ctrl+F12
Go To Next Location F8
Line Cut Ctrl+L
Line Delete Ctrl+Shift+L
Line Start Home
Line End End
Move Line Up Alt+Up
Move Line Down Alt+Down
Remove Row Ctrl + Del
Previous Highlighted Reference Ctrl+Shift+Up
Quick Info Ctrl+K,Ctrl+I
Select To Last Go Back Ctrl+=
Navigate Back Ctrl+-
Line Start Extend Column Shift+Alt+End
Multiple Selection Alt+ Mouse
View Call Hierarchy Ctrl+K,Ctrl+T
Build Operation Key
Build Solution Ctrl+Shift+B
Run Code Analysison Solution Alt+F11
Debug Operation Key
Start F5
Apply Code Changes Alt+F10
Toggle Breakpoint F9
Go To Disassembley Alt+G
Step Over F10
Step Into F11

Others

While Debugging, you may add some parameters or arguments in Watch Window.This can help you to get some useful information. In Viusal Studio 2017 ,when you toggled a breakpoint, you may also find useful information at the end of each line.

You may also find that it’s useful to keep track of the Autos Window.

Starting a Project

If you want to just build a project using Visual Studio. You can create a project by New -> Project -> Visual C++ -> Empty Project.

As for includes or build.bat ,you may edit it from Solution Explorer’s property.



Contributing to this Notebook

Both the docs and the blogs are written in Markdown syntax. The docs are located in the docs/_docs folder and the blogs are located in docs/_posts folder. If you have something to add, feel free to open a pull request.

You can also leave comments at the bottom of each docs.


Improve this page