|
|
вернуться в форумhow we can use cin like scanf?[please answer] Послано mhg 2 июл 2014 16:21 hi, if we want to use cin in C++ how we can use it like below for scanf while( scanf( "%lf", &m ) != EOF ) can we edit while( cin >> m != EOF )??? Re: how we can use cin like scanf?[please answer] cin >> m; while ( m != EOF ) { //something cin >> m; } |
|
|