March 2nd, 2004, 02:12 PM
September 30th, 2003, 10: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, 10:23 PM
If XEON were here STL MAN
is sure he would "HANDLE" the
September 30th, 2003, 10:22 PM
I know it is not a language, but STL MAN started with STL.
STL MAN SAYS YAH! STL
September 30th, 2003, 06:08 PM
September 27th, 2003, 02:55 AM
September 27th, 2003, 02: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, 02: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, 02: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, 01: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, 12: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, 12: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, 12: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 26th, 2003, 11:57 PM
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 26th, 2003, 11:25 PM
BRAVO FOR YOU SIR!!!
Come away from the dark side.
Another book is Effective STL by Scott Meyers
Here is a link
September 26th, 2003, 11:17 PM
MSDN is a terrible source for info on the STL. There are mistakes in the documentation!!!
September 26th, 2003, 11:11 PM
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 26th, 2003, 11:08 PM
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...