PrevUpHomeNext

kcpp::kerr


kcpp::kerr

kcpp::kerr is the c++ error output stream object of kcpp output stream class to the error character device.

kcpp::kerr is similar to std::cerr.

The error device might be a virtual device that can be anything which can record error logs.

include

#include <kcpp/io.hpp>

c++ example

#include <kcpp/io.hpp>

int main()
{
	kcpp::kerr << "Error is recorded" << ',' << 129 << kcpp::endl;
	// Error is recorded,129
}

Back

Back: Kcpp IO

See Also

kcpp::kout

kcpp::endl

kcpp::kin.getline









________________________________________


PrevUpHomeNext

P   R   D