How to fix this error? #2414 (2/19/2013 9:04:37 PM) comp.lang.c++ Hello,
I am trying to include a c++ library in my project. The project is a mix
of C++ and Objective C, in xCode for the mac and for iOS.
When I compile for OS X, I get this error:
Address of overloade... Bint
What does !! do?3226 (1/23/2013 3:24:08 PM) comp.lang.c++ I haven't seen this syntax before. What does "!!" do in C++?
As in this statement
int t = !!(x & size);
Thanks!
B
... Bint
Must use 'struct' tag to refer to type433 (12/17/2012 9:37:48 PM) comp.lang.c++ Hello,
I am getting this message when I try to include a '.h' file that I need:
"Must use 'struct' tag to refer to type"
It is coming from this in the header:
struct fchar {
unichar val;
... Bint
Good way to construct animation player?534 (9/11/2012 2:06:04 PM) comp.lang.javascript Hello,
I have an animation gallery online -- the animations are represented as
folders of sequentially numbered image frames (PNG files). I want to make a
player for these, where the user can click on a... Bint
Button mouseover is spotty435 (7/24/2012 7:37:18 PM) comp.lang.javascript Hello,
Boy this newsgroup sure is spammed out!
I have not much experience in javascript (or html, really) and am coming
back to work on a little project I started last year.
I've got a couple of butt... Bint
Complicated hit buffer question170 (7/21/2012 6:52:12 PM) comp.graphics.api.opengl Hello,
I have an iphone app which uses OpenGL ES 1.x. I detect hits on objects
by drawing vertex buffer objects into an offscreen hit buffer, where each
object's color is a different number. Then I rea... Bint
How expensive timewise to enable/disable GL_LIGHTING?256 (2/28/2012 9:44:21 PM) comp.graphics.api.opengl Hello, I have one shape I would like to draw without the lighting on. Is it like throwing a wrench into the timing to just bracket the drawing of this one shape with calls to glDisable/Enable(GL_LIGHTING)? T... Bint
Zoom in 3d space question392 (2/17/2012 10:11:28 PM) comp.graphics.api.opengl Hello, I have an iPad game where I calculate my view matrix like this: glScalef(scale,scale,scale); glTranslate(x,y,z); ... Draw model .. Now, when I want to zoom in on a particular point, I've been inte... Bint
How to free this memory?3144 (1/13/2012 5:05:19 PM) comp.lang.c++ Hello, I am allocating some vertices to pass to a function, and then I want to free the memory. How do I do this? The compiler is giving me warnings when I do it this way: trivertex **vertices; ... Bint
Simple argument question1742 (12/17/2011 12:46:01 AM) comp.lang.c++ Hi can someone answer a simple question involving arguments to functions? I need to call a library function which expects an argument like this Function(double pointlist[][3]); My question is how do I make on... Bint
bint1668's replies:
Items(9) /1
What does !! do?3226 (1/23/2013 3:24:08 PM) comp.lang.c++ I haven't seen this syntax before. What does "!!" do in C++?
As in this statement
int t = !!(x & size);
Thanks!
B
... bint1668(31)
Must use 'struct' tag to refer to type433 (12/17/2012 9:37:48 PM) comp.lang.c++ Hello,
I am getting this message when I try to include a '.h' file that I need:
"Must use 'struct' tag to refer to type"
It is coming from this in the header:
struct fchar {
unichar val;
... bint1668(31)
Good way to construct animation player?534 (9/11/2012 2:06:04 PM) comp.lang.javascript Hello,
I have an animation gallery online -- the animations are represented as
folders of sequentially numbered image frames (PNG files). I want to make a
player for these, where the user can click on a... bint1668(31)
Button mouseover is spotty435 (7/24/2012 7:37:18 PM) comp.lang.javascript Hello,
Boy this newsgroup sure is spammed out!
I have not much experience in javascript (or html, really) and am coming
back to work on a little project I started last year.
I've got a couple of butt... bint1668(31)
How to free this memory?3144 (1/13/2012 5:05:19 PM) comp.lang.c++ Hello, I am allocating some vertices to pass to a function, and then I want to free the memory. How do I do this? The compiler is giving me warnings when I do it this way: trivertex **vertices; ... bint1668(31)
Simple argument question1742 (12/17/2011 12:46:01 AM) comp.lang.c++ Hi can someone answer a simple question involving arguments to functions? I need to call a library function which expects an argument like this Function(double pointlist[][3]); My question is how do I make on... bint1668(31)
Question1464 (9/26/2011 4:08:53 PM) comp.databases.mysql Hi, Can someone tell me why this little piece of php/mysql code fails? $row = $result->fetch_assoc(); if ($clog) fwrite($logfile,"row['nametag'] {$row['... bint1668(31)
How to load binary file data from URL?257 (2/14/2011 5:42:25 PM) comp.lang.javascript Hello, I have a bunch of binary files stored on my server. I want my javascript page, given a filename as an argument, to be able to load the named file and read the data. How do I do that? Can I do it? ... bint1668(31)
File read function from memory AND a file?1086 (2/10/2011 6:14:39 PM) comp.lang.c++ Hello,
I have a function which reads a file using std::ifstream infile, and a
bunch of functions like this:
infile.read((char *)&f,sizeof(float))
I would like to be able to use the same fun... Bint