I think you nailed it! Thank you for your insights=) I'll run off and find some books to brush up on my skills.
Cheers,
Type: Posts; User: Hubas
I think you nailed it! Thank you for your insights=) I'll run off and find some books to brush up on my skills.
Cheers,
I realize that my post wasn't at all that informative, and that your reply was really insightful since I didn't provide much information at all.
namespace Core {
class Download {
...
he thanks:)
Hi!
I was browsing through some open source apps and came across this snippet which I can't quite bend my head around. I'd really like a little help from the gurus in here=)
template...
ok:)...thanks...
Thanks for your speedy answer!
That's not what I meant though. I'm asking about how to pass the array to the function. Not how to define the function.
/Hubas
I was wondering how I would go about to pass a constant float array into a function in the same way you can pass const char arrays.
eg.
parse_file("load.txt");
for the moment I write it...
What's your target audience? Are you developing this in your spare time just for fun or are you going to sell the program? If you're not planning on selling it maybe you could start a project on...
ahh! that makes sense
thank you:)
Ok, here is an example that compiles fine using the float variant but fails when I use the GLfloat variant.
// test.cpp
#include "c_color.h"
#include <iostream.h>
void main()
{
c_color...
I have to ask about an error which I encounter from time to time but don't understand.
In gl.h GLfloat is typedefed as a regular float.
so why is there a difference between the classes posted...
I miss matlab;)
But things are beginning to fall into place for me now:)
I still have some problems but I'm trying to read up on them.
OK, I can only call superclass constructors through initiatialisaiton lists. Thanks for alll your help guys:)
Edit:
Better answer above :)
Wow! It works:)
I don't really understand why but I'm going to pick the code apart to see why. Maybe the destructors makes all the difference?
Thank you very much:)
Edit:
It seems to be...
Perhaps you should tell us what it is you don't understand?
The friend statement is there to give that function right to access private members of the two classes.
GL
I'm running into problems when I try to access a multidemensional array,which is of type stl::vector<stl::vector<controlp>> from a derived class. I've temporarily made the superclass's datamembers...
I made a new project from scratch, (same source files). And now I don't have to press GO anymore:) But debug mode still looks strange. These are my warnings. It doesn't really matter since the...
I've been working on a graphics project for a couple of weeks now where I handle transformations, polygon filling, light calculations, z-buffer etc. without using any API or third party libraries.
...
Don't do a search for matrix or vector because you'll get tons of answers wich are irrelevant to you. Search for "Linear Algebra" wich is the branch of math that introduces matrices and vectors.
...
Strange, I tried that before I posted because it seemed logical. I'll try to make a DIBbitmap instead and se if that helps things.
Hello everyone!
I've made a small 3dapp without using OpenGL or DX, just GDI for displaying my buffer on a bitmap wich is copied to the screen.
I'd like to make it compatible with 16bit...
Thanks for clearing this up grib:) I suspected it to be like this I had never seen it before though.
Thanks, but I meant the other one with the empty initializers?
hwColorType():r(),g(),b(){}
Ah well:)...I suppose I can live with it:)
Hi!
I'm a bit unsure about a konstruktor in a class deklaration.
what does "hwColorType():r(),g(),b(){}" mean?
Is it really needed?