📝 add doc to help you create `visual studio` project.
This commit is contained in:
parent
db896e932f
commit
33e584ab5c
|
@ -105,6 +105,8 @@ If you think `-O3` isn't that safe and stable, you could choose:
|
|||
>
|
||||
> mingw32-make stable-release-mingw
|
||||
|
||||
You could create project in `Visual Studio` by this way: [CLICK](./doc/vs.md).
|
||||
|
||||
## __How to Use__
|
||||
|
||||
First we should learn how to write and run a program using this language,
|
||||
|
|
|
@ -92,6 +92,8 @@ __`linux/macOS/Unix`__ 平台直接使用make即可:
|
|||
>
|
||||
> mingw32-make stable-release-mingw
|
||||
|
||||
你可以在`Visual Studio`中用这种方式来创建项目:[点击跳转](../doc/vs.md)。
|
||||
|
||||
## __使用方法__
|
||||
|
||||
首先我们要通过[__教程__](#教程)知道这个语言的语法以及如何使用这个解释器来运行nasal程序。
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
# How to Create VS project | 如何创建VS工程
|
||||
|
||||
1. Get code from this repo using `git`. | 用`git`从这个仓库获取代码。
|
||||
|
||||
2. In Visual Studio, click `File`->`New`->`Project From Existing Code...`. | 在VS的界面,点击文件(F)->新建(N)->从现有代码创建项目(E)。
|
||||
|
||||
3. Select `Visual C++`->`Next`->choose `project file location`->write the `project name` at ease->`Finish`. | 选择创建`Visual C++`项目->下一步->项目文件位置选择你下载的代码存放的文件夹->填项目名称,随便写->完成。
|
||||
|
||||
4. Click `Source Files` in `Search Solution Explorer` at left, right click `main.cpp`, compile. | 点开左侧解决方案资源管理器中的`Source Files`,右键点击`main.cpp`,编译。
|
Loading…
Reference in New Issue