The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Any one around? by reddy2002-12-29 19:17:41
  Yup by Pic2002-12-29 20:27:13
    I always found that... by krupa2002-12-29 20:30:45
      That's kinda by Pic2002-12-29 20:31:44
        nonsense... by krupa2002-12-29 20:33:00
          Of course by Pic2002-12-29 20:35:02
            Strange errors? by krupa2002-12-29 20:52:00
              I can't quite by Pic2002-12-29 20:54:57
                I don't know about extern classes... by krupa 2002-12-29 20:59:43
but do you have these lines in your header files:

#ifndef _YOUR_LABEL_
#define _YOUR_LABEL_

and at the end of the file:

#endif

Those keep the header files from being read by the compiler more than once and giving errors about one function being repeatedly declared.

Also, the _YOUR_LABEL_ is usually the file name in all caps:

For instance, you have a header file total.h...

In total.h, have:
#ifndef _TOTAL_H_
#define _TOTAL_H_


At least that's the convention I use.
[ Reply ]
                  Here's the format I use by Pic2002-12-29 21:01:33
                    geez... by krupa2002-12-29 21:04:35
                      IIRC no identical func names by Pic2002-12-29 21:08:46

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)