how can i prevent including windows h and color h in main?
they are included once in moviefuncdef.cpp
and i want them in main.cpp ?? what can i do?
BTW:
- i know that i can include them both in one header and then use that header...
i know thats a solution, but i want to have them included in both seperated files..
- color.h is my library (dont think that it makes problems..)
Your "what here" could literally be any string, as long as they are unique to the class-definition. If I have a class Foo, I usually just do something like
Do not use names starting with two underscores or underscore and a capytal letter. Those names are reserved to use by compiler implementation by Standard.