\ in preprocessor directives

This is a discussion on \ in preprocessor directives within the C Programming forums, part of the General Programming Boards category; Hello, Can anyone tell me what the point of the \ is at the end of preprocessor directives? You often ...

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    7

    \ in preprocessor directives

    Hello,
    Can anyone tell me what the point of the \ is at the end of preprocessor directives? You often see them in #define clauses, but the compiler I use doesn't care whether they are there or not.

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    They allow you to continue the define on the next line.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21