Search:

Type: Posts; User: Sparky

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    3,574

    In my humble opinion... you only need one book...

    In my humble opinion... you only need one book really,
    "The C programming Language", Brian W. Kernighan and Dennis M. Richie

    You won't find OS stuff in there, but for that I'll buy a separate...
  2. Thread: char* function

    by Sparky
    Replies
    8
    Views
    1,607

    Thank you, I agree with both these points. If...

    Thank you, I agree with both these points. If one thinks about it, it is merely a "rule-of-thumb" that is violated. Of course, with languages such as C, "rule-of-thumbs" are often broken to...
  3. Thread: char* function

    by Sparky
    Replies
    8
    Views
    1,607

    Hmmm... I don't like it either... I like your...

    Hmmm... I don't like it either... I like your idea better. I think I will change it - especially since I now know that the structure is shared and manipulated internally by the time library.
  4. Thread: char* function

    by Sparky
    Replies
    8
    Views
    1,607

    Interesting... I learned something today. Never...

    Interesting... I learned something today. Never thought of this trick. Of course, it could cause some problems if incorrectly used.

    Thank you.
  5. Thread: char* function

    by Sparky
    Replies
    8
    Views
    1,607

    char* function

    Hi all

    I am sure this has been posted previously, but I am unable to find anything. I have written a chess engine in C and it plays adequately already. I have added a new logging function during...
  6. Replies
    5
    Views
    5,735

    Total beginner questions

    Good day all - this is my first post.

    I've recently started to learn C and I love to be so close to the hardware. However, I have a question about char *. Does the following code cause a memory...
Results 1 to 6 of 6