+system(“pause”);
Prevent flashback after running code in VC 6.0
+system(“pause”);
Welcome to the land of the Kings 
Usage: put return (); Before the return statement, otherwise there is no meaning
Advantages: low overhead, receive a character to end the program
Cons: Use it on a case-by-case basis, because getchar (); You need to accept a string to represent the end, and some functions explicitly need to accept a string as the return value, if you use getchar (); To solve the flashback problem, which can be confusing and introduce errors when the program is running.
can see, although can solve the running results of the flashback problem, but in the processing is completely different, although in the operation is also approximately the same, but in the memory, CPU and other levels, overhead is sometimes different, so you can choose according to your preferences for a way for you !!!!! System (” pause “) is recommended; This way, the introduction and processing of files is also more careful, if there is a heavy use of system functionality is, of course. windows.h> #include< stdlib.h> Of course, it is suitable for those who use a lot of library functions

On the night of the 14th, many people appeared in their WeChat Momentals such as “When you click the full text on an iPhone, it will flash back.” There were several blank lines below, so you need to click “full text” to see it. However, once you click “original” on an iPhonWeChatB1, it will flash back directly, while there is no problem with Android phones.

In fact, there is a set of code hidden below this article, which is only available for iOS. But fortunately, this is just a flash back, will not appear WeChat can not open the situation. This is the code from two years ago. If an iPhone user receives this code, it will cause WeChat, Twitter, SMS, and other apps to crash or crash. The code exploits an iOS remote denial of service vulnerability, which has since been fixed, but now a new code has appeared that causes WeChat to flash back when the iPhone is turned on.)
WeChat ->; “I” – & gt; ‘My photo album’ -> Click “today” on the camera there and send a picture to restore it.
There is another method for flashback in Moments, you can clean up the WeChat cache in WeChat Settings – General, this operation will clear the Moments cache, can be restored, if click the Moments flashback again, it is proved that your friends have sent flashback characters.







When VS compiles and runs the code, if there is no delay or some kind of response, the window will close immediately after running
Solution a:
in the main function and getchar ()
; add system(” pause “) to the main function
Solution 3:
right-click on the project, select properties, choose the linker, selection system, in the subsystem, the console this
the above methods are debug mode, the way of carrying the shortcut Ctrl + F5
in debug mode, just set a breakpoint in the main function, then one by one to debug
Python file flashback problem
When we finish a Python program and generate the py file, we click to run the file, and we usually get a flash back question.
>
Add wait function “input()” to the end of the source file

ah
The C ++ file of VS2013 was reloaded with VS2017. The following problem was found
Error LNK2019 cannot resolve external symbol __imp__vsnprintf, which is referenced in the function __glfwinpuError
Error LNK2019 __imp__sscanf cannot resolve external symbols, the symbol referenced in the function __glfwRefreshContextAttribs
Method 1: Find a project in the VS2017 solution -> Properties in the linker ->;
> write #pragma comment(” legacy_stdio_defines.lib “) at the beginning of the startup file.
The reason for this problem is that many libraries are inline by default when VS2017 is compiled, so there are no library files to link to, so you have to specifically add library files to link to functions in the library
Attached link:
https://stackoverflow.com/questions/29556290/random-unresolved-external-symbols-that-shouldnt-be-there
#include <; #include <; GL/glut.h>
# include & lt; stdlib.h>
:
include
:
#include
stdlib.h>
# include & lt; GL/glut.h>
to go through.
enGL and C++ have a bit of an incongruence. Include the standard C++ library header before the GLUT graphics library header.
2. Compile passed, runtime prompt
(1) ERROR LNK2019: Unable to resolve the external symbol __imp____glutInitWithExit@12, which is referenced in the function _glutInit_ATEXIT_HACK@8
(2) ERROR LNK2019: Unable to resolve the external symbol __imp____glutCreateWindowWithExit@8, which is referenced in the function _glutCreateWindow_ATEXIT_HACK@4
Solution:
The # include & lt; GL/glut.h> He added:
# define GLUT_DISABLE_ATEXIT_HACK
(!!!!!! Attention, the front!!)

Problems running OpenGL with VS
Problem 1. Linker tool error The link2026XXX module is not secure for the SAFESEH image
Solution:
1. Open the Property Pages dialog box for the project.
2. Click the Linker folder.
3. Click the Command Line property page.
4. Type /SAFESEH:NO into the Additional Options box and click Apply.
Reference: http://www.cnblogs.com/hanxi/archive/2012/06/10/2544230.html
Problem 2. The computer is missing GLUT32.DLL
Solution:
1. Check to see if it is in the Windows/System32 folder
2. If it is a 64-bit system, check to see if it is in the Windows/SYSWOW64 folder
Click Install a Package Install some packages we need. Install a Package>.

Here we need the following three packages, which can be directly searched by using the search box, as shown in the figure below:
Latexpdf-view (visual display)

In the latex after where the plug-in by clicking on the Settings code>, configuration of latex in the Tex Path code> add their installation latex in the bin directory is ok

After you have written it, press Ctrl+Alt+Bd you will see the following. On the left is the source code and on the right is the generated PDF file. Our simple LaTeX editor is ready. The result is an error,. I don't know why... This is complicated, so use Texstudio instead