Coding output (Help needed)

i want to create my own standard library without opencv, just a simple output.
So, i created my own coded vector without any libraries included, and i want to code my own
cout function. (Without doing extern “C” int printf(const char*))
Can anyone help with this?

this is not a general programming forum. this forum is for OpenCV.

please find a general programming forum.