kcpp::kin.getline() is a c++ method of the kcpp input stream class object kcpp::kin.
It reads a whole line from standard input kcpp::kin as its return value of the calling.
Keyboard is commonly used as the standard input device.
#include <kcpp/io.hpp>
#include <kcpp/io.hpp> #include <string> int main() { std::string line; auto bytes = kcpp::kin.getline(line); }
Back: Kcpp IO
________________________________________