About Visual Studio?

2016-09-09 4:22 pm
When I click debug, the black window that display the outcome closed immediately after it showed. Anyone know how can I fixed this (last longer before it closed)? Thanks!!

回答 (1)

2016-09-09 5:52 pm
✔ 最佳答案
add a read statement before the main() returns.

For example,
int main() { ...; scanf("%c",&c); return 0;}


收錄日期: 2021-04-23 22:02:05
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20160909082255AAvDISq

檢視 Wayback Machine 備份