visual-studio - 刚学c++,下了个 Visual Studio 2015 ,遇到点小问题,请问怎么解决呢?
怪我咯
怪我咯 2017-04-17 14:38:04
0
4
678

我是按照教程来的,只是教程用的 visual c++ ,我用的 Visual Studio 2015 ,
结果第一段代码就遇到问题了.
这里也不知道哪一行出错..
可能版本更新了,也可能是我不会用这个编辑器.
请问怎么做才能解决?

还有大家写C++都用什么呢?

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(4)
迷茫
  1. vs To run your code, you must first create a win32 console project.

  2. After creating the project, add your code to it, and then press F5 (debug) or ctrl+F5 (run)

  3. Run -> All Tests This option is used to run the unit tests you have written for your code

I prefer to use codeblocks when writing simple and short codes, and I use VS for actual projects

左手右手慢动作

VS is generally used to write debugging tests under Windows, but there are many tricks under Linux.
Do you want to run? You should click Run under the Debug menu instead of Test.

刘奇

Why don’t I see the project, only the solution?

Use the wizard to create a C++ project first, and then write the code.

There is no objection to beginners using VS, but it is best to manually call the compiler as soon as possible (it is best to use gcc under Linux) to try it, and then know how to build and compile it by yourself. It doesn’t matter what editor you use next, the simpler, the better.

左手右手慢动作

You need to create a project (solution) first, and then put your own code into it.

You can’t open the meta file directly like this, it can’t be run

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template