int puts(const char *kcpString);
#include <cstdio>
int main()
{
// Write to stdout.
int iRet = puts("Write a string to stdout");
// Check whether or not some characters were written
if (iRet == EOF) {
perror("puts() call failed");
}
return 0;
}
© 20072025 XoaX.net LLC. All rights reserved.