Vs2008 SP1
There was a project, and there was no problem at the beginning. Later, when debugging, there was always a fatal error lnk1000: Internal error during linkermain Link error.
Next, debug again ~~~
I searched the internet for the reason: Click me! Http://social.msdn.microsoft.com/Forums/zh-CN/vcgeneral/thread/aba5ed7e-d4b7-45b1-ab1f-61e0a7ae25f5)
Where:
You may get this error if you mix standard header files (for example, dos. h) and your own files. # include the standard
Headers first, followed by your own header files.
Then, analysis:
Previously, the MFC project needs to print the output information, and then a console is added for output. At the beginning, printf cannot be output, so we have to use _ cprintf, and then add this header file # include <conio. h>
At the beginning, you can print the information, and debug is no problem.
Then, don't understand, Don't know which function is added, and suddenly printf has a lot of information. Then the Link error occurs.
After finding out the cause, block # include <conio. h> and no longer see this link error .....
=======================================================
1. When can printf be directly output on the console? When can printf be unable to output information? Can it only be _ cprintf?
2. Is it because # include <conio. h> is the Link error true?
3. Why is there a link error when # include <conio. h> and printf cannot be output .....
Is it messy .....
When (then every second) then every second (then every second) zookeeper (zookeeper) zookeeper (zookeeper) zookeeper (zookeeper) zookeeper (zookeeper) Transaction
PS:
Conio. H is not the header file in the C standard library.
Conio is short for console input/output (console input/output). It defines functions for data input and output through the console, mainly for operations generated by users by keyboard, for example, the getch () function.
Forgot to add the solution?
: Modify the link options. Method: Project-> properties-> linker-> General "enable incremental link", change "Yes (/Incremental)" to "no (/Incremental: no) ", and then click OK.