|
From: carlos D. M. <cg...@wo...> - 2002-02-01 20:46:02
|
I am writing an exercise, and I find one problem in the program, and reading the files I see the sources are correct, the problem is one a could see in one of my first program: the compiler doen't read some lines. What can be done? If something is possible? For example: It is an elevator, when it goes to the upper floor it calls setfloor(), but none of its lines is done, the line is ignored. In other program the source was something like: cout << "enter 1\n"; cin >> one; cout << "enter 2\n"; cin>>two; cout <<"enter 3\n"; cin >> three; The program did: cout(1) cin(1) cin(2) cout(3) cin(3) Thanks in advance. |