News:

How did you even find this place?

Main Menu

O.J. Simpson back in custody

Started by Killer360, January 11, 2008, 11:07:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rabbit

Quote from: Joe[ix86] on January 13, 2008, 09:42:57 AM
Quote from: rabbit on January 13, 2008, 12:24:37 AM
You can't make my value pointless, you never defined it!

int* pointless = 0;
pointless = 0x0000; // address, not value
int rabbit = *pointless;
That doesn't mean anything..

iago

Quote from: rabbit on January 13, 2008, 09:44:05 AM
Quote from: Joe[ix86] on January 13, 2008, 09:42:57 AM
Quote from: rabbit on January 13, 2008, 12:24:37 AM
You can't make my value pointless, you never defined it!

int* pointless = 0;
pointless = 0x0000; // address, not value
int rabbit = *pointless;
That doesn't mean anything..
It means you're 0. In fact, you're 0x0000. That's what people who think they're cool say instead of 0.

Joe

Quote from: iago on January 13, 2008, 11:01:43 AM
Quote from: rabbit on January 13, 2008, 09:44:05 AM
Quote from: Joe[ix86] on January 13, 2008, 09:42:57 AM
Quote from: rabbit on January 13, 2008, 12:24:37 AM
You can't make my value pointless, you never defined it!

int* pointless = 0;
pointless = 0x0000; // address, not value
int rabbit = *pointless;
That doesn't mean anything..
It means you're 0. In fact, you're 0x0000. That's what people who think they're cool say instead of 0.

He's a null address!
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


CrAz3D

Quote from: iago on January 13, 2008, 12:27:00 AM
First, you can't replace the word "is" with "=", that just doesn't make sense. You also can't use "==". "is" generally indicates a property, not equality.

In any case, about the whole topic, who cares? Some guy is being locked up for committing a crime. Big deal!
Oh yeah?  Well I'm going to say @ you that 4 right now using = is = to using is in Internet slang.     lol

Camel

#19
Quote from: Joe[ix86] on January 13, 2008, 09:42:57 AM
int* pointless = 0;
pointless = 0x0000; // address, not value
int rabbit = *pointless;

A) Something that is pointless doesn't point anywhere, unlike your pointer, which points to memory address zero.

B) You set pointless twice. It's double-pointed to zero.

C) Rabbit is still undefined, unless there's memory at address zero. A couple of years ago, I worked on an embedded system with a tiny heap and a bugged malloc()/free() system that could return zero without intending to indicate failure.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!