Thread: Creating a pseudo-chat program

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    155

    Creating a pseudo-chat program

    Could anyone help me use sockets to create a program that would allow a person to say, run a program, choose a person from a list of those currently using the program, and be able to send a message to them?

  2. #2
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    Could anyone help me
    possibly. go to google.com first and branch off of there. in particular, look into socket programming.

  3. #3
    Registered User
    Join Date
    Oct 2002
    Posts
    155
    http://www.cpp-home.com/tutorial.php?26_1

    Will this site help me do what I want to do?

  4. #4
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Will this site help me do what I want to do?
    Perhaps you should try it out and see for yourself
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  5. #5
    Registered User
    Join Date
    Oct 2002
    Posts
    155
    I don't want to waste my time reading it if it isn't what I need

  6. #6
    Registered User Azuth's Avatar
    Join Date
    Feb 2002
    Posts
    236
    Because you fear you may learn something you don't need right now?
    You == L<<A<<Z<<Y
    Demonographic rhinology is not the only possible outcome, but why take the chance

  7. #7
    Registered User
    Join Date
    Oct 2002
    Posts
    155
    I did search google but there seems to be so many types...! I merely ask which one I am supposed to be looking for, or a link that would help me out

  8. #8
    Have you searched THESE forum's? had you, you would have found that sockets have been asked about frequently. And, you would have tound links to good socket programming tutorials. Look at me, i read and wrote a simple chat client in two hours.
    Compilers:
    GCC on Red Hat 8.1 (Primary)
    GCC on Mac OS X 10.2.4 (Secondary)

    Others:
    MinGW on XP

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Creating a PING PROGRAM help??
    By adn in forum C++ Programming
    Replies: 5
    Last Post: 02-23-2008, 12:36 AM
  2. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 12:27 PM
  3. SO close to finishing chat program...!
    By Nakeerb in forum C++ Programming
    Replies: 13
    Last Post: 10-26-2002, 12:24 PM
  4. Chat Program
    By Unregistered in forum C++ Programming
    Replies: 15
    Last Post: 04-10-2002, 11:50 AM
  5. Chat program advice
    By gogo in forum C++ Programming
    Replies: 11
    Last Post: 01-04-2002, 10:45 AM