|
|
back to boardCommon BoardHelp to find out / Помогите разобраться пожалуйста Posted by SKYDOS 28 Jul 2009 01:52 Re: Help to find out / Помогите разобраться пожалуйста char c = getchar(); Or I don't understand you? Re: Help to find out / Помогите разобраться пожалуйста Posted by SKYDOS 28 Jul 2009 04:11 char c = getchar(); Or I don't understand you? no, not using getchar() I think something like this: while (!eof(f)) { getline (cin, str); } but I am not sure... Re: Help to find out / Помогите разобраться пожалуйста Try this while (getline(cin, s, '\n')) { } It works fine :) Re: Help to find out / Помогите разобраться пожалуйста Posted by SKYDOS 28 Jul 2009 11:52 thanks a lot! спасибо большое! Try this while (getline(cin, s, '\n')) { } It works fine :) |
|
|