Continuously record basic common problems in c++ learning

vs2017 Chinese version

visual studio2019\2017 login stuck

open network sharing center

Modify the network internet protocol version 4DNS address to 4.2.2.2. insert image description here
This method is very Buddhist. Versions 17 and 19 are available, but sometimes it fails.

visual studio2019\2017 cannot be installed

Since the update requires an external network address, the hosts file needs to be modified. The
hosts file directory is generally required to obtain permissions in
C:\Windows\System32\drivers\etc
. The easiest way is to delete the original one and create a new hosts file on the desktop. Good content is moving over and pay attention to the file suffix.
Because the address sometimes changes and encounters this situation again, the best way is to update the address after a while.
You can check whether the ip is valid on the following website
link: http://tool.chinaz. com/dns/?type=1&host=download.visualstudio.microsoft.com&ip=

VS template installation path

Common7\IDE\ItemTemplates\CSharp\Code\2052

project creation

  1. Unresolvable external symbol _main, the symbol is in the function... , refer to the article
    link: https://blog.csdn.net/luoyayun361/article/details/84403579 .
  2. A large number of #include errors in the project
    are generally caused by external project cloning. First, check whether the project properties contain the project path. insert image description here
    Second, there may be differences between the source project system environment and the current system. Generally, the reference library paths of x86 and x64 are different. You can First search for the path of the error reporting library.
    For example, use everything to search for one of the error reporting libraries errno.h to be sure that it can be found.
    The fastest way is to create a normal, simple and non-error-reporting project locally and open the project properties insert image description hereto check whether the reference or library path is consistent. It’s the same as the project that reported the error. If you find a difference, you can change it.

Guess you like

Origin blog.csdn.net/zgc978823534/article/details/114924723