PrevUpHomeNext

kcpp::getline


kcpp::getline

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

#include <kcpp/io.hpp>

c++ example

#include <kcpp/io.hpp>
#include <string>

int main()
{
	std::string line;
	auto bytes = kcpp::getline(kcpp::kin, line);
}

Back

Back: Kcpp IO

See Also

kcpp::kin.getline

kcpp::kin

kcpp::dice









________________________________________


PrevUpHomeNext

P   R   D