C++ and Modems

Discussion in 'C++' started by LuCk, Feb 15, 2004.

  1. LuCk

    LuCk Guest

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

    Regards,
    Carl
    LuCk, Feb 15, 2004
    #1
    1. Advertising

  2. LuCk

    Jack Klein Guest

    On Sun, 15 Feb 2004 23:49:17 GMT, "LuCk" <> wrote
    in comp.lang.c++:

    > 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.

    --
    Jack Klein
    Home: http://JK-Technology.Com
    FAQs for
    comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
    comp.lang.c++ http://www.parashift.com/c -faq-lite/
    alt.comp.lang.learn.c-c++
    http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html
    Jack Klein, Feb 16, 2004
    #2
    1. Advertising

  3. LuCk wrote:
    > 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
    Thomas Matthews, Feb 16, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Midnight Java Junkie

    future of high-speed cable modems?

    Midnight Java Junkie, Jun 20, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    438
    Midnight Java Junkie
    Jun 20, 2004
  2. avitus

    JTAPI - list of modems

    avitus, Oct 4, 2006, in forum: Java
    Replies:
    0
    Views:
    531
    avitus
    Oct 4, 2006
  3. titi

    if and and vs if and,and

    titi, Mar 9, 2007, in forum: VHDL
    Replies:
    4
    Views:
    570
    Mike Treseler
    Mar 11, 2007
  4. Midnight Java Junkie

    future of high-speed cable modems?

    Midnight Java Junkie, Jun 20, 2004, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    133
    Midnight Java Junkie
    Jun 20, 2004
  5. timgerr

    Perl and modems

    timgerr, Jul 7, 2004, in forum: Perl Misc
    Replies:
    2
    Views:
    80
    timgerr
    Jul 7, 2004
Loading...

Share This Page