March 2nd, 2004, 03:12 PM
September 30th, 2003, 11:35 PM
Homey. MFC is just a library written in C++ to wrap the Win32 API. So you can see that your question about using C++ in MC
makes no sense.
VB is of course easier than MFC.
September 30th, 2003, 11:23 PM
If XEON were here STL MAN
is sure he would "HANDLE" the
September 30th, 2003, 11:22 PM
I know it is not a language, but STL MAN started with STL.
STL MAN SAYS YAH! STL
September 30th, 2003, 07:08 PM
September 27th, 2003, 03:55 AM
September 27th, 2003, 03:52 AM
Hmm.. I am not sure how you got what you are saying working at all. Could you post all the code?
Where you declare m_pStatic.
What I would suggest is to use a vector to store synamically...
September 27th, 2003, 03:27 AM
Just felt compelled to butt in here and say: Use a vector.
typedef std::vector<std::vector<int> > 2D_ARRAY;
void foo(2D_ARRAY& a2DArray)
September 27th, 2003, 03:16 AM
Well it is clear you don't know what a template class is and you
don't know what the particular template class vector is. I think
you need to do some research before you use them.
September 27th, 2003, 02:56 AM
Now you have me confused?
You are defining a template class called Employees. When
you declare an instance of this class you specify what the template
parameter is. In this case this template...
September 27th, 2003, 01:35 AM
This is done when the template class is instantiated
SomeEmployess will now have a member which is a vector
which holds WHATEVER. It is empty.
September 27th, 2003, 01:21 AM
You do not need count if its purpose is to keep track of the size
of the vector.
You do not need to "initialize the vector" unless you actually want
it to hold a real object of TYPE.
September 27th, 2003, 01:00 AM
STL MAN is not here to ask for help, but to provide it if possible.
If a passion for the STL and a willingness to express that passion
in a load voice is "causing trouble" then
STL MAN IS GUILTY...
September 27th, 2003, 12:57 AM
STL MAN does not know how providing a link for a site devoted to
the STL is causing trouble. It is true that there are no really good
sites devoted to the STL, but probably the worst is MSDN....
September 27th, 2003, 12:25 AM
BRAVO FOR YOU SIR!!!
Come away from the dark side.
Another book is Effective STL by Scott Meyers
Here is a link
September 27th, 2003, 12:17 AM
MSDN is a terrible source for info on the STL. There are mistakes in the documentation!!!
September 27th, 2003, 12:11 AM
The STL is a coders greatest ally in the prevention of memory leaks. That and not being a sloppy and lazy programmer.
STL OR DIE!!!!!
September 27th, 2003, 12:08 AM
I have been waiting in the shadows for my moment to come!
AT LAST IT IS HERE
who dares to call the usefullness of the STL into question?
Could it be that your hate is rooted in your lack of...