What is the difference between putch() and _putch()?

L

Lokicer

Hi
I note there are two functions putch() and _putch() in VC++ Library.
Which one should be used under specified situation. What is the difference
between putch() and _putch()?

Thanks!
 
J

Jack Klein

Hi
I note there are two functions putch() and _putch() in VC++ Library.
Which one should be used under specified situation. What is the difference
between putch() and _putch()?

Thanks!

Neither of these functions is part of the standard C++ library, or the
standard C library either, for that matter. So they do whatever
Microsoft says they do, and the differences between them are whatever
Microsoft says they are.

Since they are non-standard, we don't discuss them here, but if you
can't figure out the difference from the compiler's documentation
there are several places you can look for more information:

MSDN, on Microsoft's web site.

The Microsoft support groups in the family.

A newsgroup like
 
R

REH

Lokicer said:
Hi
I note there are two functions putch() and _putch() in VC++ Library.
Which one should be used under specified situation. What is the difference
between putch() and _putch()?

Thanks!

There is no difference, the one with the underscore in front is just the
decorated name.
 

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

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top