Computing.Net > Forums > Programming > 2 questions on c++

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

2 questions on c++

Reply to Message Icon

Name: Tyler
Date: May 25, 2003 at 11:10:26 Pacific
OS: Windows xp
CPU/Ram: 800/256
Comment:

Hi, I am just learning c++ but am having a problem getting started. I have some very basic code,

#include

int main()
{
cout "Hey!\n";
return 0;
}

I go to compile and run it but when I run it I simply get the word hey flashing in a command prompt for fractions of a second, why wont it come up on the screen and stay there.

My second question is whether or not it is possible to communicate with people who are on msn. I just want to make something very basic where it shows your online contacts and allows you to talk with them, no emoticons or anything like that just a very basic msn. I know you can communicate with websites and take information from them by making a tcp connection, could someone give me brief information on how you'd connect to msn. Would it be easier to do this is Visual Basics or C++. Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Tyler
Date: May 25, 2003 at 11:16:08 Pacific
Reply:

I've solved my first problem, now all I need is the msn question answered. Thanks again


0

Response Number 2
Name: kev
Date: May 25, 2003 at 18:57:17 Pacific
Reply:

Umm... the MSN thingie is probably out of your league. It would require network programming using sockets and such. If you want to try, start there.

Kev


0

Response Number 3
Name: anonproxy
Date: May 28, 2003 at 14:59:44 Pacific
Reply:

If you want to see what a chat client looks like, try an open source version:

http://www.srcf.ucam.org/~taw27/messenger.html

Or check out a PHP connection to MSN.
http://ma.tthias.be/openlogin/


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Animation in VB HTML / Screen Resolution



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: 2 questions on c++

2 questions on NQC www.computing.net/answers/programming/2-questions-on-nqc/12810.html

Opinions on C/C++ www.computing.net/answers/programming/opinions-on-cc/9523.html

Simple design questions in C++ www.computing.net/answers/programming/simple-design-questions-in-c/4384.html