Computer ForumsComputers  

Go Back   Computer Forums > Programmers Lounge > Programming Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 12-13-2006, 12:53 AM   #1 (permalink)
Newb Techie
 
Join Date: Jan 2006
Posts: 20
Send a message via Yahoo to Chaosenemy
Default Sending info via internet/network in C++ console apps

Yo, not sure if this is possible, but is there a way to send information to other computers in a simple C++ console application?

Example: Battling a friend over a LAN in a text-RPG.

Example 2: Messaging a friend over the internet in your program.

All done in a C++ console application in the command prompt. So... is any of this possible? If so, where do I start on learning how to put these features in my program?
Chaosenemy is offline   Reply With Quote
Old 12-13-2006, 10:51 PM   #2 (permalink)
Software Developer
 
Join Date: Mar 2006
Location: Columbus, OH
Posts: 471
Default

Why C++? For the purposes you've described, I would use a language like Python or Java. C++ has no notion of networking, but, if you're determined to use that language, google "C++ socket programming".
jaeusm is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:24 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0