There are three header files to include when using C++ I/O .... #include . .. int i; float fl; char temp[100]; std::cin.getline(temp, 100); fl=strtof(temp,0); ...
www.augustcouncil.com