![]() |
Global pound define?
Is there a place you can globally #define so that
what's #define'd is in all classes' scope? Such as #include - other .c files for C? Thanks, Andrew |
Re: Global pound define?
Not really, AFAIK, each class has to declare what namespaces to import.
This uses the using keyword in C# or imports in VB.NET.... there's a good explanation of why this would really be a problem for an OO language: http://groups.google.com/groups?hl=e...=UTF-8&oe=utf- 8&threadm=dda1fb3a.0207221304.4d36d34b%40posting.g oogle.com&rnum=1&prev=/groups%3Fq%3DC%2523%2B%2523include%26num%3D50%26hl %3Den%26lr%3D%26ie%3DUTF- 8%26oe%3Dutf-8%26sa%3DN%26tab%3Dwg depending on your point of view... On Mon, 14 Jul 2003 09:06:40 -0700, Andrew <a@b.com> wrote: > Is there a place you can globally #define so that what's #define'd is in > all classes' scope? > > Such as #include - other .c files for C? > > Thanks, > > Andrew > -- Craig Deelsnyder Microsoft MVP - ASP/ASP.NET |
| All times are GMT. The time now is 05:44 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.