Ϊʲôһֱ˵cannot open£¿
Ö»ÊÇ´ò¼òµ¥µÄ´úÂ룬ΪʲôÏÂÃæÒ»Ö±ÏÔʾ´ò²»¿ª£¿#include <stdio.h>
void main()
{
printf ("This is a C program.\n");
}
--------------------Configuration: ppe - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "Debug/ppe.exe"
Error executing link.exe.
ppe.exe - 1 error(s), 0 warning(s)
£¿ppe£¿´´½¨Ò»¸öеÄÏîÄ¿£¬Ñ¡Ôñ¿ÕÏîÄ¿»òÕß console claws0n ·¢±íÓÚ 2018-9-29 20:11
£¿ppe£¿´´½¨Ò»¸öеÄÏîÄ¿£¬Ñ¡Ôñ¿ÕÏîÄ¿»òÕß console
ppeÖ»ÊÇÎÒËæ±ãÃüµÄÃû¡£¿ÕÏîÄ¿£¿console£¿²»¶®ÕâЩ£¬ÎÒ»¹ÊǸöÐÂÊÖ ëë®ë° ·¢±íÓÚ 2018-9-29 20:14
ppeÖ»ÊÇÎÒËæ±ãÃüµÄÃû¡£¿ÕÏîÄ¿£¿console£¿²»¶®ÕâЩ£¬ÎÒ»¹ÊǸöÐÂÊÖ
VC ûÓÐÓùý{:10_250:}
File -> new -> Empty project »òÕßÊÇ console
Ñ¡ÆäÒ»£¬ÕÒÒ»ÕÒ£¬Ò²ÐíÓÐ create new project Ö®ÀàµÄ¶«Î÷ claws0n ·¢±íÓÚ 2018-9-29 20:24
VC ûÓÐÓùý
File -> new -> Empty project »òÕßÊÇ console
Ñ¡ÆäÒ»£¬ÕÒÒ»ÕÒ£¬Ò²ÐíÓÐ create ...
ÎÒÄǸöÒѾÊÇн¨µÄÁË ëë®ë° ·¢±íÓÚ 2018-9-29 20:31
ÎÒÄǸöÒѾÊÇн¨µÄÁË
Configuration Properties -> Linker -> Additional Dependencies property
ÕÒ·¾¶£¬±ÈÈç˵ C:\Program Files\sofware sdk\lib\library.lib£¬ÄǸö·¾¶Ó¦¸ÃûÓÐÒýºÅ£¬°ÑÒýºÅ¼ÓÉÏÈ¥ ¡°¡¡¡± mainº¯ÊýÓÃintÀàÐÍÊÔһϠclaws0n ·¢±íÓÚ 2018-9-29 20:44
Configuration Properties -> Linker -> Additional Dependencies property
ÕÒ·¾¶£¬±ÈÈç˵ C:\Program...
ºÃÏñ»¹ÊDz»ÐÐ..... ¸ÄΪint main£¬È»ºóreturn 0£¬¿ÉÒÔÁË
Ò³:
[1]