Having problem with class decaration when Building a class libraray
Tech-Archive recommends: Speed Up your PC by fixing your registry
Hello!
I try to build a class library but I run into some problems.
In the code for this class library there are some rows that have this kind
of look
public bool IsBottomMixValid(MeltPracDataGmix.BottomBlowing mix, int
maxBottomFlow)
As you can see here we have a class named MeltPracDataGmix that exist in the
code for the project
that build the actual exe file. So the class definition does not exist in
this project for this class library.
My qustion is what is the solution to this kind of problem.
I assume if this was C++ it would be enough to include the class declaration
which is the header file.
But in C# we don't have any header files. So how do I do here?
//Tony
.
Relevant Pages
- Re: Not using .cpp files when programming...
... >> right in the .H header file with the class definition. ... > Your compiles will be slower. ... > functions static or inline in the class to avoid the name space problems, ... (comp.programming) - Re: Javas performance far better that optimized C++
... > If you want you can place the class definition in the header file, ... > collector destroys the object (for managed objects). ... It is not the same as destructor, it is used to call destructors ... (comp.lang.cpp) - Re: organising classes c++
... jsut one other point. ... > header file to the main .cpp file in order to create associations? ... > main .cpp file have to include the class definition here and in the header ... (alt.comp.lang.learn.c-cpp) - parser stack overflow, program too complex eroor C1026
... Apparently there is a limit to how complex a single header file with a huge ... class definition in it can be. ... This diagnostic occurred in the compiler generated function 'void ... (microsoft.public.dotnet.languages.vc) - Re: organising classes c++
... Placing this in a source file is correct. ... member functions that you want inline need to be in the header file - either ... > header file to the main .cpp file in order to create associations? ... > main .cpp file have to include the class definition here and in the header ... (alt.comp.lang.learn.c-cpp) |
|