Search:

Type: Posts; User: heygirls_uk

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    13,761

    Multiple values for a #define

    Hi,

    Is there any way of allowing a #defined constant to take on multiple values? What I'd like to do is declare a single constant to contain the values of several strings, as in:

    #define A...
  2. Replies
    4
    Views
    1,514

    Thanks very much, I'm pretty sure that answers my...

    Thanks very much, I'm pretty sure that answers my question. If not I'll post some code

    cheers

    Paul
  3. Replies
    4
    Views
    1,514

    Linked list question

    Hi,

    I am having difficulty deleting nodes from a singly linked list.

    If I have the following structure:

    NODE1----->NODE2----->NODE3

    ...and wish to delete NODE2, I have been setting a...
  4. Replies
    5
    Views
    9,307

    Thanks for clearing that up, it makes much more...

    Thanks for clearing that up, it makes much more sense now

    Paul
  5. Replies
    5
    Views
    9,307

    Many thanks for your help - I've got it all...

    Many thanks for your help - I've got it all working now.

    As regards the following statement:

    s_make[4] = ' ';

    This was supposed to read:

    s_make[4] = '\0'; /* null character */
  6. Replies
    5
    Views
    9,307

    Passing pointers between functions

    Hi,

    I have been having a big problem passing pointers between functions and really need some help!

    My program consists of a main function which calls other functions I've defined in a header...
Results 1 to 6 of 6