Thread: Code Doubt?

  1. #1
    Registered User
    Join Date
    Apr 2008

    Code Doubt?

    Dear All,
    Please any one clerify what is the function of following peace of code?

    #ifndef FS_AdcStatusChn0
       #error (undefined function switch: FS_AdcStatusChn0)

  2. #2
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Once you've learnt C it should read like a book. Perhaps get a book on C yourself...

    Anyway, if FS_AdcStatusChn0 is not defined it gives an error at compile (or pre-compile) time. That error being undefined function switch: FS_AdcStatusChn0.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Values changing without reason?
    By subtled in forum C Programming
    Replies: 2
    Last Post: 04-19-2007, 10:20 AM
  2. Obfuscated Code Contest: The Results
    By Stack Overflow in forum Contests Board
    Replies: 29
    Last Post: 02-18-2005, 04:39 PM
  3. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 03:17 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM
  5. Replies: 0
    Last Post: 02-21-2002, 05:05 PM
Website Security Test