Я не понимаю Std :: String от std :: StreamC++

Программы на C++. Форум разработчиков
Anonymous
Я не понимаю Std :: String от std :: Stream

Сообщение Anonymous »

Несмотря на то, что я боюсь казаться действительно глупым, я хотел бы спросить, почему эта программа: < /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

Вернуться в «C++»