|
From: Per W. <pw...@ia...> - 2006-10-13 09:36:38
|
Nothing wrong with the line:
system("pause");
You just forgot the line:
#include <stdlib.h>
from the example you got.
/Per W
On Fri, 13 Oct 2006, subhankar chakraborty wrote:
> Hi
> thanks for the many responses to my question. I tried to insert system ("pause") after the last command line return 0, but i got the message "define the function".So i just looked up in help and found an answer. I added getchar() before return0 and it worked. thanks again!
>
> Dr. Subhankar Chakraborty
> Graduate Student
> Department of Biochemistry and Molecular Biology
> University Of Nebraska medical Center
> Omaha, United States of America.
> Mobile: 402-201-6778
> lab- 1-(402)-559-7754
>
>
|