Search:

Type: Posts; User: StanleyC

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    2,619

    Hi, Thanks for the suggestions. Salem you...

    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...
  2. Replies
    9
    Views
    2,619

    Thanks bithub, Ive adjusted my code to use the...

    Thanks bithub, Ive adjusted my code to use the error checking correctly. Hopefully this will cure the problem.

    Much appreciated.

    Stan
  3. Replies
    9
    Views
    2,619

    FD_READ occasional data going missing..

    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...
  4. Replies
    7
    Views
    13,854

    Dave, Sorry I was in the middle of posting a...

    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...
  5. Replies
    7
    Views
    13,854

    Thanks for the advice. I read up about allignment...

    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...
  6. Replies
    7
    Views
    13,854

    Reading Bitmap File Header Problem.

    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...
  7. Replies
    6
    Views
    1,368

    Thanks Bajanine thats a great article and has...

    Thanks Bajanine thats a great article and has seemed to answer all my questions.

    Cheers

    Stan
  8. Thread: sscanf

    by StanleyC
    Replies
    2
    Views
    2,018

    Do you need to store the strings or just print...

    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...
  9. Replies
    6
    Views
    1,368

    Wi-Fi, Linux and Laptops

    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...
  10. Replies
    6
    Views
    6,687

    Hi there, I first wanted to write muds about...

    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...
  11. Replies
    1
    Views
    2,744

    Using zlib to compress traffic

    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...
  12. Replies
    9
    Views
    2,150

    void cool() Should be : void cool(); ...

    void cool()

    Should be :

    void cool();

    Your actual calls to cool() need a semi colon aswell like :

    cool();
  13. Replies
    2
    Views
    1,501

    Wow Dave, thanks alot, thats impressive and...

    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...
  14. Replies
    2
    Views
    1,501

    Tokenising Tokens..

    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...
  15. Ahh splendid. Thank you very much. Stan

    Ahh splendid.

    Thank you very much.

    Stan
  16. Listview Entry Associating an Item Pointer

    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...
  17. Replies
    3
    Views
    1,190

    Not sure if this is the best method but it works...

    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];
  18. Replies
    4
    Views
    8,379

    Ok thanks Hammer, i must have got the wrong end...

    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];
    };
  19. Replies
    4
    Views
    8,379

    Using select() for writing

    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...
  20. Replies
    2
    Views
    1,554

    Thank you very much Ken, after using those...

    Thank you very much Ken, after using those messages its scrolls correctly now.

    Stan
  21. Replies
    2
    Views
    1,554

    Windows 98 Auto Scroll Problem

    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...
Results 1 to 21 of 21