CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004
    Posts
    138

    fatal error C1016: #if[n]def expected an identifier

    Here is the code:

    #ifndef 17_1OBJECTS
    #include "17_1Objects.h"
    #define 17_1OBJECTS

    Here is the error:

    fatal error C1016: #if[n]def expected an identifier



    Very simple. Why? I've used #ifndef loads before and it has never given me this error.

  2. #2
    Join Date
    Aug 2004
    Posts
    138

    Re: fatal error C1016: #if[n]def expected an identifier

    Oh! OK it's because I can't use numbers. Got it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured