Now I know what type it is!
-
Finally I've figured out what kinda data type
void*
is! It's kind of a bisexual data type, if it want to, it can act as anint
,char
,float
or any data type! Isn't this revolutionary? :-D Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C#, ASP.NET and C++! -
Finally I've figured out what kinda data type
void*
is! It's kind of a bisexual data type, if it want to, it can act as anint
,char
,float
or any data type! Isn't this revolutionary? :-D Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C#, ASP.NET and C++!Rickard Andersson wrote: It's kind of a bisexual data type, if it want to, it can act as an int, char, float or any data type! I think you are talking about transexualism, not bisexualism (there is a, not so subtle, difference you know ;)) However, transsexuals are usually transsexuals by free will. An int wants to be an int. The compiler wants it too. But evil type system marauder (you, the programmer!) doesn't. I think we should all respect the sexualities of all types! BTW, sizeof(void*) != sizeof(float) in most modern 32 bit compilers. Be careful! -- standing so tall, the ground behind no trespassers, on every floor a garden swing, and another door she makes it clear, that everything is hers A place of abode, not far from here, Ms. Van de Veer
-
Rickard Andersson wrote: It's kind of a bisexual data type, if it want to, it can act as an int, char, float or any data type! I think you are talking about transexualism, not bisexualism (there is a, not so subtle, difference you know ;)) However, transsexuals are usually transsexuals by free will. An int wants to be an int. The compiler wants it too. But evil type system marauder (you, the programmer!) doesn't. I think we should all respect the sexualities of all types! BTW, sizeof(void*) != sizeof(float) in most modern 32 bit compilers. Be careful! -- standing so tall, the ground behind no trespassers, on every floor a garden swing, and another door she makes it clear, that everything is hers A place of abode, not far from here, Ms. Van de Veer
Jörgen Sigvardsson wrote: I think you are talking about transexualism, not bisexualism (there is a, not so subtle, difference you know ) That's why I wrote "kind of a bisexual"..... :) Jörgen Sigvardsson wrote: An int wants to be an int. The compiler wants it too. But evil type system marauder (you, the programmer!) doesn't. I think we should all respect the sexualities of all types! Yeah! Jörgen Sigvardsson wrote: BTW, sizeof(void*) != sizeof(float) in most modern 32 bit compilers. Be careful! I will... :suss: Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C#, ASP.NET and C++!
-
Finally I've figured out what kinda data type
void*
is! It's kind of a bisexual data type, if it want to, it can act as anint
,char
,float
or any data type! Isn't this revolutionary? :-D Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C#, ASP.NET and C++!It's a bloody disaster. void* is NO data type, which is why you can cast it into any data type. The compiler has no idea, and trusts YOU to know. As has been said, beware...... Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
-
Finally I've figured out what kinda data type
void*
is! It's kind of a bisexual data type, if it want to, it can act as anint
,char
,float
or any data type! Isn't this revolutionary? :-D Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C#, ASP.NET and C++! -
It's a bloody disaster. void* is NO data type, which is why you can cast it into any data type. The compiler has no idea, and trusts YOU to know. As has been said, beware...... Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
Christian Graus wrote: It's a bloody disaster. void* is NO data type, But take me as an ABSOLUTLY newbie, which think
void*
is data type and then got a thought about it could be a bisexual/trasexual datatype! :) Of course it's not a data type if we talk seriously, Christian!! If you declare avoid*
it is used to point to whatever data type you want and I know that you know that too, but that's why I made this joke (or what to call it) :) Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C#, ASP.NET and C++! -
Christian Graus wrote: It's a bloody disaster. void* is NO data type, But take me as an ABSOLUTLY newbie, which think
void*
is data type and then got a thought about it could be a bisexual/trasexual datatype! :) Of course it's not a data type if we talk seriously, Christian!! If you declare avoid*
it is used to point to whatever data type you want and I know that you know that too, but that's why I made this joke (or what to call it) :) Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C#, ASP.NET and C++!Rickard Andersson wrote: but that's why I made this joke (or what to call it) I'm not sure what to call it, either :-) Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
-
Christian Graus wrote: It's a bloody disaster. void* is NO data type, But take me as an ABSOLUTLY newbie, which think
void*
is data type and then got a thought about it could be a bisexual/trasexual datatype! :) Of course it's not a data type if we talk seriously, Christian!! If you declare avoid*
it is used to point to whatever data type you want and I know that you know that too, but that's why I made this joke (or what to call it) :) Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C#, ASP.NET and C++!what about ?
void datatype(par1,par2) { return; }
I'm sure we can force it to be how we want it !! Regardz Colin J DaviesSonork ID 100.9197:Colin
You are the intrepid one, always willing to leap into the fray! A serious character flaw, I might add, but entertaining. Said by Roger Wright about me.