Hi,
Thanks for the suggestions. Salem you mentioned in your post that :
No guarantee that waiting this long (or any other value) will result in a message being received.
You are correct...
Type: Posts; User: StanleyC
Hi,
Thanks for the suggestions. Salem you mentioned in your post that :
No guarantee that waiting this long (or any other value) will result in a message being received.
You are correct...
Thanks bithub, Ive adjusted my code to use the error checking correctly. Hopefully this will cure the problem.
Much appreciated.
Stan
Hello all,
Maybe someone can shed some light on this problem for me as ive ran out of ideas here. I have a client/server style game and dont have any probs on the server side but the client side...
Dave, Sorry I was in the middle of posting a reply while your post came in. I agree, trying to determine whats in a file on your own would result in you learning more than using a predefined struct...
Thanks for the advice. I read up about allignment and padding and from what i read it looked liked the problem was related to how my struct was laid out. Apparently if I had laid it out biggest to...
Hello,
Ive been at this for hours and cant figure out where its going wrong. Im simply trying to open a bitmap read its header information into a struct and display it. Ive checked around and...
Thanks Bajanine thats a great article and has seemed to answer all my questions.
Cheers
Stan
Do you need to store the strings or just print them out ? If just printing them out you dont really need to use sscanf.
How about something like this :
#include <stdio.h>
void...
Hello,
Im just looking for any words of wisdom anyone with any experience of these things may have to offer.
Im getting a new laptop tommorow which i would like to run slackware on, ive got a...
Hi there,
I first wanted to write muds about 6 months ago and found it pretty hard going as my network programming was limited to say the least and all the resources I could find were over...
Greetings all,
Im writing a small text based mmorpg and its going pretty good. Luckily im not stuck at the moment but I was told something a while ago and am now contemplating using it within the...
void cool()
Should be :
void cool();
Your actual calls to cool() need a semi colon aswell like :
cool();
Wow Dave, thanks alot, thats impressive and without using strtok at all I didnt know about all those special characters which can be used with sscanf, they seem very powerful.
I will study sscanf...
Hello there,
Im been having some problems spliting my strings into tokens. I may be wrong here but to my knowledge I cant get around the problem with sscanf because my strings have multiple...
Ahh splendid.
Thank you very much.
Stan
Hello,
Wonder if anyone can shed any light on this..
Ive recently switched from using Standard List boxes to experimenting in List Views (Note this is non-mfc and a C/API combination)
My...
Not sure if this is the best method but it works for me :
#include <stdio.h>
int main(void)
{
FILE *filepointer = popen("date", "r");
char output[30];
Ok thanks Hammer, i must have got the wrong end of the stick.
I guess he means adding something like
struct sockets
{
int sock;
char out_buf[1024];
};
Hello all,
Ive wrote a server in c using select to handle the data received by the clients however im using the select function only for receiving data and not sending. When i need to send Im...
Thank you very much Ken, after using those messages its scrolls correctly now.
Stan
Greetings all,
Im having a really torrid time trying to figure out an auto-scroll problem im having with an application running under Windows 98.
Ive wrote this simple application which serves...