Help Me Get Started On A program

This is a discussion on Help Me Get Started On A program within the C++ Programming forums, part of the General Programming Boards category; I have read through a lot of beginner tutorials and can make basic programs. A few friends and me play ...

  1. #1
    Registered User
    Join Date
    Oct 2003
    Posts
    29

    Help Me Get Started On A program

    I have read through a lot of beginner tutorials and can make basic programs.

    A few friends and me play video games online on their private server and I want to create a program to help us communicate to eachother while in the game. We don't have microphones and the ones that do, theirs don't work well.

    If one person presses a button, the program will send information to a server program, which relays that information to everyone that is connected to the server program. Once it relays it to everyone, I am plannning on making it play a .wav (or other format) file that plays "Incoming Right" or "I need Backup."

    I am using Devcpp with mingw compiler(?). So the questions I have are how to get input into the program(so that the game doesn't pick it up), send it to the server, and then have the cleint relay it to the server and the server relay it back to all the client programs. (probaly just a number like 1-255). When the cleints recieve the information it checks the number and plays the the wav that is associated with it to keep it simple. All the wav files will be stored on that persons computer. How would I play a .wav file?

    How would I go about doing this? Thankyou for your time
    Last edited by rainmanddw; 08-20-2004 at 04:55 PM.

  2. #2
    Registered User
    Join Date
    Aug 2004
    Posts
    6
    You say you have a basic knowledge of C++, but if I were you I would read a good tutorial on winsock and network programming.
    Take a look at this:
    http://www.hal-pc.org/~johnnie2/winsock.html

    and this

    http://www.ecst.csuchico.edu/~beej/g...tml/index.html

  3. #3
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Send me a PM and I'll get back to you when I have more time - I've done a very similar project and can help you out. You need to learn stuff a lot harder than network programming. You're gonna have to do hooks? Haven't heard of them? That should give you a clue.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 12:27 PM
  2. BOOKKEEPING PROGRAM, need help!
    By yabud in forum C Programming
    Replies: 3
    Last Post: 11-16-2006, 10:17 PM
  3. Help getting started :(
    By blackocellaris in forum C Programming
    Replies: 4
    Last Post: 11-05-2006, 05:50 PM
  4. Can someome help me with a program please?
    By WinterInChicago in forum C++ Programming
    Replies: 3
    Last Post: 09-21-2006, 10:58 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21