Hi, i have a c++ 5 compiler when compiling my programs the output is display for few seconds and than it is closed. Please is there setting on the compiler that i can change so that the output is displayed longer
Cheers..
Patrick
|
Go4Expert Founder
|
![]() |
| 24Oct2007,09:29 | #2 |
|
Before the last statement have a user input using scanf, getch / getche so that it does not disappear before you see the output.
|
|
Newbie Member
|
|
| 24Oct2007,09:44 | #3 |
|
Please can you write the commands so that i can see what you mean.
|
|
Go4Expert Founder
|
![]() |
| 24Oct2007,10:09 | #4 |
|
Code:
int main()
{
cout<<"After the last output"<<endl;
getch();
}
|
|
Newbie Member
|
|
| 24Oct2007,10:29 | #5 |
|
Thanks so much Shabbir for your help here and may our good Lord above continue to bless as you continue to share your knowledge with us.
|
|
Go4Expert Founder
|
![]() |
| 24Oct2007,21:37 | #6 |
|
I just realized that it was not in the right forum and I have moved the thread to C-C++ forum
|

