Apologies if this is really obvious but I have tried a google search for an answer but can't seem to find one.
What I essentially want to do is define a class say MainApp, which would control the...
Type: Posts; User: will of fortune
Apologies if this is really obvious but I have tried a google search for an answer but can't seem to find one.
What I essentially want to do is define a class say MainApp, which would control the...
Try using two for loops. The second loops length should depend on the which stage of the first loop you are at.
I have been trying to implement a sort of mask with OpenGL for the last few days and have been unsuccessful so far.
I found this solution - c++ - OpenGL - mask with multiple textures - Stack...
All sorted now, needed to apply a few texture properties before filling the texture with information
glGenTextures(1, &background); //Make room for our texture
glBindTexture(GL_TEXTURE_2D,...
I've been playing about with Microsoft Kinect using the OpenNI SDK, and it has mostly been going well. I have managed to implement a user tracker to remove the background and replace it with a bitmap...
Thanks for the help, I thought it would involve malloc().
As Adak said, do I need to repeat for the second dimension, and also how do i go about accessing the array. I now get 97 "invalid types...
Hi all, not used this forum in quite a while but am a bit stuck on a programming assignment and would be grateful for a bit of help.
My assignment it to write a program that implements two kinds...
Aha that should work, although i found a way around it so i didn't need to have x amount of pointer, but that may be useful if i ever need it in the future.
Ahh sorry i should have been clearer in my original post, I need to be able to create a desired amount of pointers for use outside the loop.
Hi,
I trying to write a section of code that will initiate a pointer for each iteration of a loop. I have no idea how to do it but this is what i tried.
i++;
struct Employee...
Ahh I see, how can I set the age to the whole number and not just the first character?
I'm having trouble with a small segment of code which should find out wether the number entered is less than or equal to zero. The do while loop asking for employee age wont seem to work. When ever I...
Mostly the same code as before but I'm trying to use functions and calling by reference to input the matrices. But I'm still getting a similar error as before, and I can't see where I'm going wrong....
Ah you're right, it works now when I replace x and y with 2.
Thanks
Im trying to pass the array A into the function 'determinant' in order to calculate its determinant. However I keep getting the following error: cannot convert `float (*)[((unsigned int)((int)x))]'...