Thread: Compiling warning..

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    51

    Compiling warning..

    I get this warning when compiling,...what does it mean?

    utils.hh:102:8: warning: extra tokens at end of #endif directive

    Also, if a constructor has paramters

    apple(int ns, int nc, int nl, bool zm = false);

    bool x = 0;
    so i create an apple object using apple myapp(1,2,3,x)??

    thx
    Which is the master, which is the student?

  2. #2
    Registered User Dual-Catfish's Avatar
    Join Date
    Sep 2001
    Posts
    802
    I spent a few hours looking for a link for you
    I finally found one.
    http://www.google.ca/search?q=extra+...irective&hl=en

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    51
    I thought I made this post about 10 minutes ago...I guess I'm drunk....time really flies when you're programming...

    Thanks for spending hours to look up that link for me

    But can someone also answer the second question I posted in this thread??
    Which is the master, which is the student?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 10
    Last Post: 07-10-2008, 03:45 PM
  2. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  3. <Gulp>
    By kryptkat in forum Windows Programming
    Replies: 7
    Last Post: 01-14-2006, 01:03 PM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM