- I'm not sure, this operator is "called" from an object of your class, so you can use num and den without "this":
temp.num = (num * frac2.den) + (den * frac2.num);
- If that doesn't work try...
Type: Posts; User: urban
- I'm not sure, this operator is "called" from an object of your class, so you can use num and den without "this":
temp.num = (num * frac2.den) + (den * frac2.num);
- If that doesn't work try...
I write a piece these days...
I try to read bmp files and get their image data in RGB order. The out put is a table
containing BYTES. Each 3 byte is a color value.
e.x.
glColor2u( racher[0],...
Hi all...
I try, for some days now to write a bmp decoder without using any windows functions,
headers, or winAPI. For image preview i use openGL .I have managed to decode 4dit,1dit, 24bit and 8bit...
HI...
I am writing c++ for 6 months now, but I know a lot of java (objects,awt,swing,applets) so my problem is that I don't know how to make advanced grafics in c/c++... I tried OpenGL(glut.h) but...