i have a testing program with the following code:
this program works well but when i tried to do the same in a different program, it wont work. once i input 1, the program ended.
int _tmain(int argc, _TCHAR* argv)
int choice,ended = 0;
cout <<"enter your choice";
cin >> choice;
cout << "hello\n";
cout << "bye\n";
ended = 2;
i have include several header files in the second porgram and they are:
the second program perform some file read write tasks and running some *.bat file
i wonder the header file will affect the result of the program.please help.
i am using studio.net.....