Search:

Type: Posts; User: oogabooga

Search: Search took 0.02 seconds.

  1. Replies
    7
    Views
    1,507

    Here are some possibilities. Use negative...

    Here are some possibilities.


    Use negative line numbers as special codes:


    #define CMD_NEXT -1
    #define CMD_PREV -2

    void print(Line *head, int lineNumber) {
  2. Replies
    7
    Views
    1,507

    They use a "variable argument list" using the...

    They use a "variable argument list" using the macros defined in stdarg.h. That might be what you want, but you'd have to explain exactly what you're trying to accomplish to get the best advice.
Results 1 to 2 of 2