>So whats wrong with my print function?
It uses other peoples print functions. Apart from that it should probably look something like -
Not sure why you're erasing outprint before outputting it though.
using namespace std;
void myprintf(string outprint, int integer, char character, float floatpoint);
myprintf("Hello World!!\n", 8, '\n', 9.70);
void myprintf(string outprint, int integer, char character, float floatpoint)
cout << outprint;
cout << integer;
cout << character;
cout << floatpoint;