Question: For C++ i have developed while loop to read new c-string cin.getline(name, SIZE); however, the compiler skips this line in while loop. I know I
For C++
i have developed while loop to read new c-string
cin.getline(name, SIZE);
however, the compiler skips this line in while loop. I know I could use something like cin >> ws, cin.ignore, cin.sync or whatever,
but my professor won't admit anything outside of book,,
Is there way to debug it other than the methods I listed above?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
