In VC6 0, the project option is subsystem console, but the error is link exe application error

Updated on technology 2024-03-31
21 answers
  1. Anonymous users2024-02-07

    The pointer points to illegal memory, so let's look it up.

  2. Anonymous users2024-02-06

    Your thread ** function is inconsistent with the function name you declared.

  3. Anonymous users2024-02-05

    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.

  4. Anonymous users2024-02-04

    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

  5. Anonymous users2024-02-03

    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.

  6. Anonymous users2024-02-02

    Include the file that exists in the print function in the current project.

  7. Anonymous users2024-02-01

    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

  8. Anonymous users2024-01-31

    You don't say anything about the compilation environment.

  9. Anonymous users2024-01-30

    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

  10. Anonymous users2024-01-29

    LinkList and llnode are missing definitions, you can try to rebuild all.

  11. Anonymous users2024-01-28

    Rebuild a C++ source file and assign your ** to compile and run. Your program is fine.

  12. Anonymous users2024-01-27

    Click the menu Project-Settings-Click the Links tab, and in the bottom project options, change subsystem:windows to subsystem:console.

  13. Anonymous users2024-01-26

    I ran your program and there were no errors, it should be yours with a problem.

  14. Anonymous users2024-01-25

    The procedure is no problem, and the identification is complete.

    The window you were running didn't close.

  15. Anonymous users2024-01-24

    Missing library files See if you have any include in it.

  16. Anonymous users2024-01-23

    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

  17. Anonymous users2024-01-22

    "_main"Symbols cannot be parsed; Change "main" to main

  18. Anonymous users2024-01-21

    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.

  19. Anonymous users2024-01-20

    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.

  20. Anonymous users2024-01-19

    Check if the main function is written incorrectly, or if the main function is not written......

  21. Anonymous users2024-01-18

    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

Related questions
8 answers2024-03-31

ctrl+w :classwzard

F7: View**. >>>More

5 answers2024-03-31

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

21 answers2024-03-31

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

3 answers2024-03-31

If you want the source**, I can make one and send it to you. >>>More

4 answers2024-03-31

The system is messed up, so let's reinstall the system first.