请问用Dev-C++写代码,编译之后闪退,加暂停代码也没用,请问是怎么回事

#include <stdio.h>

int main()

{

int iScore;

iScore=92 ;

printf ("Mr.AhQ's score of C language:");

printf("%d\n",iScore);

system("pause");

return 0;


}


Johnny7329
浏览 1969回答 1
1回答

onemoo

虽然你在 C++ 区里提问,但你应该知道你写的是 C 代码,对吧。你可以试试把 system("pause"); 换成 getchar();

慕瓜9220888

KCNRKXUQURMPBGKLOVTSFSBLJYMVZIXWWGMAFXNMBCRSGVGMIYMPTMPOIECXUVMLQCMBFTNEAYYHNALPPYWOVYCWKLHTTPDXOIIJRSBXXFZONVIHQBVZAZQAGVQTHFLSKJPJXOMVATCSZXUVLSRDSSJWKODBZPPVVVRPVNCDURRKLNTVANAXJKQIILORQIQRDXEHUKUCIAGJDJGSXYRGNUHNJYTCMCPQKQSNXILYEJYKZLNBBBCKFBDIVZEPCXQPUOLISYADFKKRECWEDPEHBEBKIUQYSYPYBPRTVZCHEAVHMIHEGTOXJVUXXXPXMUGCVFIIFQCUMJMZMLMYUQPTZVDLUNQCXKZUZUQCPCEUCATIUNHKEEJCBHQDAIXFPYUYVSMTOJFOOHEWINCPEHKGWUBBMOIBOODWSKWZMPWASEPOWWZWUPUDILHUUMQDVUSWJQBZIUMZEBPYWIAIBOHEAIKMYLOUJWYKZBYRILQBWHJWADDQOJUXADGQCXIUGUROBLMIXPZFUOTSUQWQBVMOWYUKGDXNTCWFSCGKMCBXDJDHLAEGDIYZWGITRXDTNXLCQJYOKYSZGLKATTQUTAWIRRGLXLCYWWPLPZDEAZFOOBCPGHWUNDXUSJWPJVLFMSKECOQSFJVMCUQSKOHHUPAGIXAQNEEJCXQANJAQEGJPFFMRSMYXMQREEDHJSOKEUKJRJSHBELFNIEQYWYSIZNFHTNGJYGUGFRNKUJTIUGDJADISIUJAAHXHWLAXVIVIBOHBNNCQXGDYONNHBGECRZFHRZQBWVBQMXKOVXSOOUYIIZPHNGYJNENSHNCSZAXOPBRNTNEYKWFRQQUHZWFX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