CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2012

    EXTREMELY simple chat with Borland C++ builder

    Hello, i need your help with this:
    i am making a skype "analog". It is just very basic chat, no ip. The main principle is to have two classes:
    class User and class Server. I now need to send user1 message to user2. Of course that message should be sent to server (class Server), and then server would redirect it to the user2.
    Message should be packed in an array or string.

    Question: can you give me an example on how to send a message from memo1 box to "server" and then from "server"to memo2 (this is user2) box.
    I think that i should write a message to array (array structure: user_id chat_text ), but HOW TO DO IT?

    Everything should be done very basic, using structures and classes (and functions), no sockets!!!

    I would be very grateful for your help.

    Here is how the program window looks:

    Name:  71J63.png
Views: 753
Size:  37.7 KB

  2. #2
    Join Date
    Nov 2012

    Re: EXTREMELY simple chat with Borland C++ builder

    Name:  3qGMh.png
Views: 652
Size:  50.2 KB

  3. #3
    Join Date
    Oct 2006

    Re: EXTREMELY simple chat with Borland C++ builder

    I'm sorry but very few people use Borland these days so you might get better response on a Borland site.
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here

    Get your free MS compiler here

  4. #4
    Join Date
    Nov 2000
    Voronezh, Russia

    Re: EXTREMELY simple chat with Borland C++ builder

    Besides, this forum name clearly states Visual C++ Programming, ain't it?
    Best regards,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.