kcpp::getline is a c++ input stream reader object of kcpp input stream object.
kcpp::getline reads a line from the input stream object.
The input stream object is commonly kcpp::kin, but it is not limited to kcpp::kin.
Many input stream objects can be used as the input stream of kcpp::getline.
#include <kcpp/io.hpp>
#include <kcpp/io.hpp> #include <string> int main() { std::string line; auto bytes = kcpp::getline(kcpp::kin, line); }
Back: Kcpp IO
________________________________________