programming-examples/c++/Others/Write a character using cout.cpp
2019-11-15 12:59:38 +01:00

15 lines
175 B
C++

Write a character using cout
#include <iostream.h>
#include <stdlib.h>
int main()
{
char *url = "WWW";
while(*url)
cout.put (*url++);
cout<<endl;
return 0;
}