请问:关于 当使用system(pause); 才能显示出小弟我程序中输出的深层原因

请教:关于 当使用system(pause); 才能显示出我程序中输出的深层原因:
当我不使用该函数时,我各种各样的输出都不能正常的输出,程序一开始就退出了,返回0.


int main(int arc, char *argv[])
{

int a;
cin >> a;
cout << "logprint run!"<<endl;

logprint("zhelishiLogan!");
logprint("Hello,world!");
logprint("Wait!");
logprint("Wait!");
logprint("Wait!");
logprint("Wait!");
logprint("Wait!");

logprint("come on!");

cprint( "my test!" );

return 0;
}//main

而当我加上这么一个函数
int main(int arc, char *argv[])
{

int a;
cin >> a;
cout << "logprint run!"<<endl;

logprint("zhelishiLogan!");
logprint("Hello,world!");
logprint("Wait!");
logprint("Wait!");
logprint("Wait!");
logprint("Wait!");
logprint("Wait!");

logprint("come on!");

cprint( "my test!" );

system("pause");
return 0;
}//main

就能显示出来了? 是不是和 int main(int arc, char *argv[]) 有关系,如果是int main();的话是不是就不用这个函数了?请各位明白的不吝指点。

------解决方案--------------------
只是你的反应速度跟不上计算机的运行速度。导致它已经完成了自己的整个使命之后你还没看清它的输出。

其实有没有那一句计算机都是正确完成了任务的
------解决方案--------------------
system("pause");就是暂停的意思
程序运行时有输入输出,程序运行完毕自动关闭输出
这句话的意思就是“在你关闭输出之前先暂停一下,让我看清楚”
如果你有超人的反应速度的话,就不需要这句话了

另外,不要随便猜想,去查资料
真心不能理解你是怎么思考才能把这个问题和输入参数列表扯上关系的
------解决方案--------------------
探讨

system("pause");就是暂停的意思
程序运行时有输入输出,程序运行完毕自动关闭输出
这句话的意思就是“在你关闭输出之前先暂停一下,让我看清楚”
如果你有超人的反应速度的话,就不需要这句话了

另外,不要随便猜想,去查资料
真心不能理解你是怎么思考才能把这个问题和输入参数列表扯上关系的