I have unsuccessfully been able to create a pointer for the following data structures
char hpfpID[55][4][60];
char hpopID[55][4][60];
char lpfpID[55][4][60];
char lpopID[55][4][60];
Type: Posts; User: Jubba
I have unsuccessfully been able to create a pointer for the following data structures
char hpfpID[55][4][60];
char hpopID[55][4][60];
char lpfpID[55][4][60];
char lpopID[55][4][60];
First of all I am pretty much a novice when it comes to Windows programming so no laughing!!
Here is the deal....
I have created a MFC app with the main window being a dialog that has 5 ActiveX...
Is it possible to develop and run OpenGL programs in Windows XP? I only ask since in the MSDN reference section under OpenGL they never mention XP, only 95/98, NT and 2000.
Thanks in advance.
Is it possible to develop and run OpenGL programs in Windows XP? I only ask since in the MSDN reference section under OpenGL they never mention XP, only 95/98, NT and 2000.
Thanks in advance.
Thanks for the info guys. Very helpful as usual :)
I recently obtained a copy of Petzolds "Programming Windows 5th edition" (wooohooo finally). He is teaching assuming VC++6.0 and Win98. I am running .NET on a XP machine. Since I don't know that...
Does Microsoft Visual C++ .NET come with a C# compiler?
If so, is it possible to integrate this into the IDE? What exactly are the differences between Microsoft Visual C++ .NET and Microsoft...
I am looking for everyones opinions on the best vehicle to launch a C/C++ developer into the wide wonderful world of windows programming. MFC, Win32API, or Managed code using .NET ( if .NET, then...
I would do this...
#include <math.h>
double d = 2.4;
int i = (int)ceil(2.4);
while((++i)%4); // i is now round to highest multiple of 4
I read the thread you suggested and still don't have a firm grasp on why the compiler thinks an empty struct will take up one byte of memory. Be patient with me I can be slow on the uptake :)
The...
I was messing around the other day with the sizeof() function(or is it a macro??..shrug), testing the sizes of various types on my machine when I came across something I did not expect. I executed...
for(p=1; p<=n-1; p++)
for(q=0; q<p; q++)
{
temp = a[p][q];
a[p][q] = a[q][p];
a[q][p] = temp;
};
looks like the first line should read
Hey guys, quick question.
What exactly is the difference(benefit) of using calloc over malloc
They seem dreadfully similar to me.
int *p;
int *q;
p = (int *)calloc(5,sizeof(int)); //...
What exactly are you flattening?
Looks to me like you are just referring to elements in the array with a 2nd pointer. Since the address and size of the array matrix is constant, then the array...
A quick question...
How do you delete a dynamically created array composed of base class pointers, where each pointer is pointing to objects of the base class and various derived classes?
...
I am looking for confirmation from all of you C++ gurus that my thinking is correct with regards to the copy constructor.
Ok, basically the default copy is just a direct memberwise copy operation....