I am declaring a class in a header file something like: /////////////// headerfile A.h //////////// #include "B.h" class A { private: B val; // Blah } As can be seen above, i've declared a class 'A' in its header file. I've created an object of class 'B' as a private member of class 'A'. Class 'B' also got a 'zero argument constructor'. As such will it be get called ??? How can i make sure that 'zero argument constructor' of class B, must be get called before i use it in any method of class A ???
S
saad shah
@saad shah
Posts
-
A c++ question -
What Serves as a ClassWizard in VC++7.Christian Graus wrote: VC++8. Really !! I mean are you saying this seriously??? Do microsoft have plans to include class wizard in next major version of Visual Studio ?????
-
C# Vs Managed C++I've not yet entered into the .NET world, though i have some primary knowledge about C#. Can anyone one tell me, according to your experience, which one is faster whether MC++ or C#. Suppose we develop a program in C# which is a stand alone program and not mixes with C++ code, then will this program be faster than similar C# program ????