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

December 15th, 2006, 12:52 AM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
How to make program chat using C++
Hi,
Anyone have sample code to make program chat using C++
Thanks
|

December 15th, 2006, 09:11 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2006
Posts: 103
Thanks: 0
Thanked 1 Time in 1 Post
|
|
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
|

December 15th, 2006, 11:18 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2006
Posts: 103
Thanks: 0
Thanked 1 Time in 1 Post
|
|
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!
|

December 16th, 2006, 12:38 AM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

December 18th, 2006, 08:35 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2006
Posts: 103
Thanks: 0
Thanked 1 Time in 1 Post
|
|
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!
|

December 19th, 2006, 03:15 AM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

December 19th, 2006, 04:43 AM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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..
|

December 19th, 2006, 08:08 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2006
Posts: 103
Thanks: 0
Thanked 1 Time in 1 Post
|
|
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!
|

March 20th, 2007, 01:35 AM
|
|
Registered User
|
|
Join Date: Mar 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|
 |