C++ and Modems

L

LuCk

Does anyone know about connecting to a modem and listening dial tones to see
what button the user pressed with C++?

Regards,
Carl
 
J

Jack Klein

Does anyone know about connecting to a modem and listening dial tones to see
what button the user pressed with C++?

Regards,
Carl

The C++ language itself, the only topic here, does not define any
interface to any hardware devices at all. All input and output is
provided in terms of iostream objects and FILE * streams.

Your specific compiler and operating system might provide its own
particular extensions for doing this, but they are not part of the
language and they are vastly different from one
compiler/computer/operating system combination to the next.

So you need to ask this question in a support group for your
particular compiler.
 
T

Thomas Matthews

LuCk said:
Does anyone know about connecting to a modem and listening dial tones to see
what button the user pressed with C++?

Regards,
Carl

You may want to search the web and newsgroups
for Modem standards. Not all modems are the same nor
do they all pass back or interpret the dial tones.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library
 

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,776
Messages
2,569,603
Members
45,190
Latest member
Martindap

Latest Threads

Top