Yes Dev-C++ comes with windows.h
Type: Posts; User: _Cl0wn_
Yes Dev-C++ comes with windows.h
I know how to view a timestamp but I would like to know if you can change the stamp to an earlier time. So if I accesed text.txt on Saturday November 12 at 6:30 PM can I make a program that will...
I want to start a new little project for myself and is something like this. In the game Counter Strike you are able to chat in a text based environment with the other players on the server, I want to...
Does anyone know of any good examples of how to implement the FLAP and SNAC headers. Examples on how to "pack" and send these would be helpful.
I have two questions. 1) Do you know where I can get C libraries for AOL Instant Messenger. I want to develop a program that will write to a file the time and name of a user who connects to AIM who...
Me again with the same program. I am gonna show what is happening at run time in both client and server and what they should be saying.
Client with problems:
Choose your IP address:
first...
Im will update it in a second
Oops...Thank you for the correction. Misstyped it and forgot to re-read my post.
int true=1;
int test=0;
test = (true==1) ? 1 : 0;
cout << test << endl;
The output would be 1. Read it like this, if test is equal to 1 then test equals 1, else test equals 0.
Ok...I have the screen name deal working now, in that it is sent but now Windows crashes when it is run.
So, with select and the ISSET macro. This checks to see if the socket descriptor in question has activity on it and if it does then the recv function is called to get that data after it has been...
Good ole Computer Science teacher was wrong. He said it would work but let's see if it solves the problem. One question that has been bothering me. The recv function, does it sit on the socket and...
You won't need as much. You would probably only need one file to do it. You would just need to set up a menu at start up where the user can make a choice to become the server or client. If he wants...
Updated
Hehe. Both of those I caught and I believe updated them with the new client. When the screen name is sent to the server, it is now getting to the line what it shows their screen name but instead of...
Client is updated
Ohh haha. I had made it like that to test something earlier and forgot to change it back. I still doesn't work though.
And this is the server
This is the client
I need some assistance. The server part of my program is not recieving the screen name that the client should be sending. I will include both the client and server source. The error in the client...
Thank you anyway. I won't bother you anymore.
I am using that to check to see who wants to say something, and if the activity is coming from the server then someone must be trying to connect so that person is accepted and then set to the set....
I am useing select in a chat program to read and write to clients. However when it is run after asking the user for his/her username I get a "select: Bad File Number" error. Sources included in zip.
I thank you all for your help. Mainly they were just little mistakes but I thank you.
I will just show you the full with error lines. They are in the zip file.