Thanks for the tip JoS, it worked like a charm!
I was given the impression that 'long' always meant 64 bits. I didn't know that the standard only requires 'unsigned long' to support numbers in the range of an unsigned 32-bit integer.
Thanks for this tip!...
User Profile
Collapse
-
assigning 64-bit hex values to unsigned long variables
I'm having a problem with assigning 64-bit hex values to unsigned long variables in MS VS2005 c++ compiler.
Code:unsigned long Number; Number = 0x1000000000000000UL;
-
Question About glut and OpenGL
I have been trying to write a small glut program that uses popup context menus on right clicks to draw objects. However, every time I do this, the area underneath the submenu item I clicked does not refresh.
Here's a helpful test program I've found from Mindf**k's glut tutorial...
Code:#include <iostream> #include <GL/glut.h> #include <cstdlib> using namespace std; void
-
Need help merging 4 rows into 1.
Hello Experts,
Let's say I have 4 lines in a child table that point to a line in a parent table. Right now I'm INNER JOINing them on the parent table's primary key, and it's giving me 4 records that look like this...
Key | child1val
Key | child2val
Key | child3val
Key | child4val
What I'd like to do is merge these all into 1 row that looks like this...
Key | child1val...
No activity results to display
Show More
Leave a comment: