![]() |
cin.getline function does'nt gets executed for the second time
Code:
#include<iostream>have tried it several times but is not working why? |
Re: cin.getline function does'nt gets executed for the second time
Use fflush before the cin and that should work.
|
| All times are GMT +5.5. The time now is 20:19. |