14
Well, it is very common in programming languages to have responsible keywords for printing data output.
Some are classic like echo, print, printf and write, etc..
But in the C/C++ we have the cout. For me, this word makes no sense to be related to printing data (I mean in a translation, for example). I couldn’t even find a translation for that word.
For example:
int main()
{
cout << "Imprimindo o famoso HELLO WORLD!!!\n";
return 0;
}
What is the meaning of the word cout after all?
fopen()it’s also not so obvious so hehe.– rray
@rray
f=> file.– Wallace Maxters
In C the identifier
coutis not reserved. You can use it for whatever you want, for example:int cout = 42;orstruct cout { double cin; };...– pmg