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!
 
Ad

Advertisements

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
 
Ad

Advertisements

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

Top