Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
|
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 15th, 2006, 12:52 AM
bLo bLo is offline
Registered User
 
Join Date: Dec 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to make program chat using C++

Hi,

Anyone have sample code to make program chat using C++

Thanks

Reply With Quote
  #2 (permalink)  
Old December 15th, 2006, 09:11 AM
Friend of Wrox
 
Join Date: Jan 2006
Posts: 103
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Geo121
Default

Well considering this sounds more like a curious question then an assignment I will help

Becouse I want you to learn how to do it yourself I wont give you the code

I will however tell you how to make it and give you help with what to do on certain things

before I can however I must know what kind of chat?

Similar to an Instant Messaging Program?

Or like a chat room program?

Is like a mail system?

There are several ways to make it just let me know and I can help you out

I would also like to know what you want it for if you dont mind

~ Geo

 ~ You are unique, just like everyone else
Reply With Quote
  #3 (permalink)  
Old December 15th, 2006, 11:18 AM
Friend of Wrox
 
Join Date: Jan 2006
Posts: 103
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Geo121
Default

I am also interested in how you would like to distribute the program

~ Geo

~ Don't take life too seriously, you'll never get out alive!
Reply With Quote
  #4 (permalink)  
Old December 16th, 2006, 12:38 AM
bLo bLo is offline
Registered User
 
Join Date: Dec 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sory for my englsih! :D

Im not profesional programming(Newbie).

I want to make program chat like MIRC, or Instant Messaging

Im only know C++, not good,

Why i make program chat?

because i want learning about network

like program ping.

well, it's hard to say

Maybe anyone have reference to make it.

Thanks


Reply With Quote
  #5 (permalink)  
Old December 18th, 2006, 08:35 AM
Friend of Wrox
 
Join Date: Jan 2006
Posts: 103
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Geo121
Default

alright network programming is a tricky task

do you know anything about basic C++?

If you dont know C++ then you should learn it first because once you jump into

network programming...

theres no turning back

and its a scary place out there =P

~ Geo

~ Don't take life too seriously, you'll never get out alive!
Reply With Quote
  #6 (permalink)  
Old December 19th, 2006, 03:15 AM
bLo bLo is offline
Registered User
 
Join Date: Dec 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

do you know anything about basic C++? <<- Not at all

What header i must be use to make program ping[windows]
especially in windowz.

Thanks
Reply With Quote
  #7 (permalink)  
Old December 19th, 2006, 04:43 AM
bLo bLo is offline
Registered User
 
Join Date: Dec 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found this :

Network Programming for Microsoft Windows 2nd Edition

Book Description
This updated edition provides the latest information about how to write applications that take advantage of the advanced networking protocols and technologies that Microsoft Windows XP supports-Internet Protocol (IP) versions 4 and 6, Pragmatic General Multicasting (PGM) protocol, Internet Group Management Protocol 3 (IGMPv3), IPv6 multicasting, the Network Location Awareness (NLA) namespace provider, the Winsock Provider Interface, 64-bit Winsock APIs, and .NET Sockets. The book includes code samples in the Microsoft Visual Basic, Microsoft Visual C++, and Microsoft Visual C# development systems.

i have book and souce code.
i'll be learn for moment..



Reply With Quote
  #8 (permalink)  
Old December 19th, 2006, 08:08 AM
Friend of Wrox
 
Join Date: Jan 2006
Posts: 103
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Geo121
Default

Alright, when you are finished with the book just let me know

I would however suggeset you learn basic C++ before just jumping into the socket stuff

because after you start, it's really hard to start over from scratch

~ Geo

~ Don't take life too seriously, you'll never get out alive!
Reply With Quote
  #9 (permalink)  
Old March 20th, 2007, 01:35 AM
Registered User
 
Join Date: Mar 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Groogy
Default

Yo!

I'm also trying to make a C++ chat program for my guild so we can coordinates attacks better in a game.
Problem is, I got no idea of what I'm doing.
I've studied C++ for some time and can do easy programs in DOS and such.
But I got no idea of how to make it interact with a server and then send messages.

I can make the login, easy!
But if you would help me out here on how to make it I'd be really glad.
(It's enough if the program is only in DOS, since that's how I want it, "easy and fast!")
So please master.. TEACH ME :D


Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make Live Voice Chat through ASP.NET ? savan_thakkar ASP.NET 1.0 and 1.1 Professional 2 January 22nd, 2013 12:30 PM
chat program needs help.. maricar C# 0 September 12th, 2008 02:53 AM
Chat program doubt vinodkalpaka J2EE 0 June 29th, 2005 11:07 PM
How can I make Child applet for chat?? rabindratm Java GUI 0 May 10th, 2005 09:48 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.