I included a .zip file in this post. The zip file contains one source code and one header file. No executables, because I know how must of you guys are scared to run those.
Anyways, in the header file I created a class with an operator overloader using the macro <<(the same macro used for cout). I put it to good use in the main source code.
I cheated a little in the operator<<. Inside I used printf(). In iostream there is no printf() to display text/numbers onto the console/screen.
For all you veterans out there. Have any tips, suggestions or ideas to improve my home-made functions?