hey im new at c++ programming and i know cout, but i was wondering how and why you would use printf()
thanks for the help
hey im new at c++ programming and i know cout, but i was wondering how and why you would use printf()
thanks for the help
"uh uh uh, you didn't say the magic word"
-Jurassic Park
printf should never be used unless you do C programming instead of C++ programming.
The printf command is as I said a C command and is used as following
ex.
#include <stdio.h>
int main()
{
printf("Message");
return 0;
}