A safe or secure type means that you can tell by looking at the source code whether your program is working properly.
The statement is std::cout << xalways correct, assuming that it xhas a clearly defined meaning (and is not, say, uninitialized); this is what you can guarantee by looking at the source code.
, C : , , :
int main(int argc, char * argv[])
{
if (argc == 3)
printf(argv[1], argv[2]);
}
, , "%s".
, C, , . printf . , , , , , .