G
George Bell
OK BIG newbie question here.
I've been trying to write cout statements in a C++ program compiled with
gcc. The problem I'm having with the cout statements is that I can' get
anything to print unless there's a newline on the end:
cout << "Hello World"; or
cout << "Hello World\r"; or
cout << "Hello World" << '\r';
print absolutely nothing
while
cout << "Hello World\n"
prints "Hello World"
I'd like to print without the newline. Is it possible?
George
I've been trying to write cout statements in a C++ program compiled with
gcc. The problem I'm having with the cout statements is that I can' get
anything to print unless there's a newline on the end:
cout << "Hello World"; or
cout << "Hello World\r"; or
cout << "Hello World" << '\r';
print absolutely nothing
while
cout << "Hello World\n"
prints "Hello World"
I'd like to print without the newline. Is it possible?
George