There is this function :
void func(const char *)
and I wanna use it like :
DWORD dWrd = 19;
func("I am " + dWrd + " years old!")
thanks..
Okay, I got this another function very related to the question above, hope I don't violate any rules.
So what if I have this function that accepts an argument that it would print using cout
and write to a file isinf fstream, what data type should I use?
void myFunc(char c)
?
void myFunc(const char c)
?
void myFunc(const char *c)
?