-
The pointer points to illegal memory, so let's look it up.
-
Your thread ** function is inconsistent with the function name you declared.
-
The name of the print function is inconsistent, and when I encounter this situation, the name of the external function is usually different from that of the function inside main, and it is possible to have one more character or one less character.
-
Halo link error ah undefined that's a compilation error。。。
See what's in your project-setting-link?
Is there something missing or something more?
Is it an MFC program?
Try changing the subsystem:console inside to subsystem:windows
-
The print function is not defined.
The definition is not a declaration, and the compilation without a definition will not give an error, but the link will give an error.
-
Include the file that exists in the print function in the current project.
-
When linking, the compiler will look for the main function, the main function of the Win32 application is WinMain, but the main function of the Console application is Main, which is preprocessed as Main. This error is likely due to the wrong type of the project.
If your build environment is, here's how to do it:
project-> settings-> link at the bottom of the box (project options) and pull down a subsystem:console
Changed to subsystem:windows
-
You don't say anything about the compilation environment.
-
Check your header file ("",""), often the class definition is missing at the end";""}"Or something that makes such a mistake.
For example, Class A
Less semicolon. #endif
-
LinkList and llnode are missing definitions, you can try to rebuild all.
-
Rebuild a C++ source file and assign your ** to compile and run. Your program is fine.
-
Click the menu Project-Settings-Click the Links tab, and in the bottom project options, change subsystem:windows to subsystem:console.
-
I ran your program and there were no errors, it should be yours with a problem.
-
The procedure is no problem, and the identification is complete.
The window you were running didn't close.
-
Missing library files See if you have any include in it.
-
What you created was:
Workaround: The console project should use the Windows subsystem, not the console, Settings:
project] -settings] -select"link"property page, change subsystem:console to subsystem:windows
-
"_main"Symbols cannot be parsed; Change "main" to main
-
An error occurred during execution, which was caused by a setting error, and the following steps can be used to resolve the issue:
1. First of all, re-establish the project file.
3. Then in the page that opens, select Project - Settings - Connection.
4. Find subsystem:windows in the project option box, change it to subsystem:console, and click "OK".
5. Finally, click Run Program, as shown below, and the problem will be solved.
-
1. First of all, re-establish the project file.
3. Then in the page that opens, select Project - Settings - Connection.
4. Find subsystem:windows in the project option box, change it to subsystem:console, and click "OK".
5. Finally, click Run Program.
-
Check if the main function is written incorrectly, or if the main function is not written......
-
Open the menu Project->>Settings->>link, at the bottom"project options"text box
If it's a windower, change it to subsystem:windows
If it's a console program, change it to subsystem:console
1.First of all, there is an installation package, there are many on the Internet, and it is not provided here. Click Installer, select the location for the installation, and then click Next all the way. Complete the installation. >>>More
Prefix self-addition and suffix self-addition are different, and prefix self-addition is used after self-adding, such as printf("%d,%d",++d,d);Here, although the calculation time is from right to left, when calculating to ++d, the computer explicitly calculates the value of d first and then uses it, and the suffix self-addition uses the additional one, so printf("%d,%d",c,c++) after the compilation result, the printf function uses a value that is 3, because it is used first, which is the result of the compiler's processing. You can only ask the person who designed the compiler in the first place. >>>More
If you want the source**, I can make one and send it to you. >>>More
The system is messed up, so let's reinstall the system first.