PrevUpHomeNext

kcpp::kin.getline


kcpp::kin.getline()

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

#include <kcpp/io.hpp>

c++ example

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

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

Back

Back: Kcpp IO

See Also

kcpp::kin

kcpp::getline

kcpp::roll









________________________________________


PrevUpHomeNext

P   R   D