ë­ë®ë° ·¢±íÓÚ 2018-9-29 19:57:32

Ϊʲôһֱ˵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)

claws0n ·¢±íÓÚ 2018-9-29 20:11:43

£¿ppe£¿´´½¨Ò»¸öеÄÏîÄ¿£¬Ñ¡Ôñ¿ÕÏîÄ¿»òÕß console

ë­ë®ë° ·¢±íÓÚ 2018-9-29 20:14:33

claws0n ·¢±íÓÚ 2018-9-29 20:11
£¿ppe£¿´´½¨Ò»¸öеÄÏîÄ¿£¬Ñ¡Ôñ¿ÕÏîÄ¿»òÕß console

ppeÖ»ÊÇÎÒËæ±ãÃüµÄÃû¡£¿ÕÏîÄ¿£¿console£¿²»¶®ÕâЩ£¬ÎÒ»¹ÊǸöÐÂÊÖ

claws0n ·¢±íÓÚ 2018-9-29 20:24:48

ë­ë®ë° ·¢±íÓÚ 2018-9-29 20:14
ppeÖ»ÊÇÎÒËæ±ãÃüµÄÃû¡£¿ÕÏîÄ¿£¿console£¿²»¶®ÕâЩ£¬ÎÒ»¹ÊǸöÐÂÊÖ

VC ûÓÐÓùý{:10_250:}
File -> new -> Empty project »òÕßÊÇ console
Ñ¡ÆäÒ»£¬ÕÒÒ»ÕÒ£¬Ò²ÐíÓÐ create new project Ö®ÀàµÄ¶«Î÷

ë­ë®ë° ·¢±íÓÚ 2018-9-29 20:31:01

claws0n ·¢±íÓÚ 2018-9-29 20:24
VC ûÓÐÓùý
File -> new -> Empty project »òÕßÊÇ console
Ñ¡ÆäÒ»£¬ÕÒÒ»ÕÒ£¬Ò²ÐíÓÐ create ...

ÎÒÄǸöÒѾ­ÊÇн¨µÄÁË

claws0n ·¢±íÓÚ 2018-9-29 20:44:22

ë­ë®ë° ·¢±íÓÚ 2018-9-29 20:31
ÎÒÄǸöÒѾ­ÊÇн¨µÄÁË

Configuration Properties -> Linker -> Additional Dependencies property
ÕÒ·¾¶£¬±ÈÈç˵ C:\Program Files\sofware sdk\lib\library.lib£¬ÄǸö·¾¶Ó¦¸ÃûÓÐÒýºÅ£¬°ÑÒýºÅ¼ÓÉÏÈ¥ ¡°¡­¡­¡±

dong628 ·¢±íÓÚ 2018-9-29 21:38:46

mainº¯ÊýÓÃintÀàÐÍÊÔÒ»ÏÂ

ë­ë®ë° ·¢±íÓÚ 2018-9-29 21:41:56

claws0n ·¢±íÓÚ 2018-9-29 20:44
Configuration Properties -> Linker -> Additional Dependencies property
ÕÒ·¾¶£¬±ÈÈç˵ C:\Program...

ºÃÏñ»¹ÊDz»ÐÐ.....

ÕÙ»½Ê¦ ·¢±íÓÚ 2020-4-4 11:04:26

¸ÄΪint main£¬È»ºóreturn 0£¬¿ÉÒÔÁË
Ò³: [1]
²é¿´ÍêÕû°æ±¾: Ϊʲôһֱ˵cannot open£¿