Несмотря на то, что я боюсь казаться действительно глупым, я хотел бы спросить, почему эта программа: < /p>
#include
#include
int main(int argc, char * argv[]) {
std::ifstream fitData("./fitData.txt");
int line=1;
while (true) {
std::string compType;
bool isRS;
int dRecMode;
double mass;
fitData >> compType >> isRS >> dRecMode >> mass;
if ( fitData.eof() ) break;
std::cout
Подробнее здесь: https://stackoverflow.com/questions/739 ... -stdstream