print problem

N

nick

I want to print something without a '\n' automatically added at the end,
I know

print 1,
print 2,
print 3,

can partially solve the problem. But it added an space behind each
variable. So the statements above will print out:

1 2 3
instead of
123

Any way that I can just use it as printf in C?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,201
Messages
2,571,049
Members
47,652
Latest member
Campbellamy

Latest Threads

Top