help
-
Chris Maunder wrote: :omg: I never noticed before, the twiching left eye on that icon. Very nice. :)_**
I'm never gonna work another day in my life.
The gods told me to relax,
They said I'm gonna get fixed up right.**_
Monster Magnet, Powertrip
My favorite part of the icon :-) :omg: :omg: :omg: :omg: :omg: :omg: :omg: :omg: :omg: Open eyes, blink, open mouth, twitch... perfect :) James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971
-
My favorite part of the icon :-) :omg: :omg: :omg: :omg: :omg: :omg: :omg: :omg: :omg: Open eyes, blink, open mouth, twitch... perfect :) James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971
Reminds me of Shrek - 'Look at my eye twitch !!!' Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. "I'm somewhat suspicious of STL though. My (test,experimental) program worked first time. Whats that all about??!?! - Jon Hulatt, 22/3/2002
-
Use the
this
keyword. Thethis
keyword tells the compiler to ignore what you're telling it and do what needs to be done. You can use thethis
keyword anywhere this is necessary, for instance:double sqrt(double v)
{
return (double)this;
}void DeleteTempFiles()
{
memset(this, 0, sizeof(this));
}If at any time when using
this
the compiler gives you errors, it's just being lazy. Give your machine a good stiff kick, and tell that worthless compiler to get back to your work._**I'm never gonna work another day in my life.
The gods told me to relax,
They said I'm gonna get fixed up right.**_
Monster Magnet, Powertrip
Shog9 wrote: The this keyword tells the compiler to ignore what you're telling it and do what needs to be done Oh, you mean like
DWIM
assembly language instruction ? Bruce Duncan CP#9088, CPUA 0xA1EE, Sonork 100.10030
Hi everyone. My name's Bruce. And I suffer from VB. -
Shog9 wrote: The this keyword tells the compiler to ignore what you're telling it and do what needs to be done Oh, you mean like
DWIM
assembly language instruction ? Bruce Duncan CP#9088, CPUA 0xA1EE, Sonork 100.10030
Hi everyone. My name's Bruce. And I suffer from VB.Bruce Duncan wrote: Oh, you mean like DWIM assembly language instruction ? But
this
of course, being C++ gives it that tasty, crunchy, extra-wholesome cross-plaform goodness. :-D_**Developers that like shiny objects also dig case mods and scratch-and-sniff stickers.
**_
Klaus Probst, The Lounge
-
Bruce Duncan wrote: Oh, you mean like DWIM assembly language instruction ? But
this
of course, being C++ gives it that tasty, crunchy, extra-wholesome cross-plaform goodness. :-D_**Developers that like shiny objects also dig case mods and scratch-and-sniff stickers.
**_
Klaus Probst, The Lounge
I would expect all good compilers to optimise any statement containing
this
to a singleDWIM
instruction, or whatever is equivalent for the target platform. :-D Shog9 wrote: tasty, crunchy, extra-wholesome cross-plaform goodness :laugh: Bruce Duncan CP#9088, CPUA 0xA1EE, Sonork 100.10030
Hi everyone. My name's Bruce. And I suffer from VB. -
Use the
this
keyword. Thethis
keyword tells the compiler to ignore what you're telling it and do what needs to be done. You can use thethis
keyword anywhere this is necessary, for instance:double sqrt(double v)
{
return (double)this;
}void DeleteTempFiles()
{
memset(this, 0, sizeof(this));
}If at any time when using
this
the compiler gives you errors, it's just being lazy. Give your machine a good stiff kick, and tell that worthless compiler to get back to your work._**I'm never gonna work another day in my life.
The gods told me to relax,
They said I'm gonna get fixed up right.**_
Monster Magnet, Powertrip
I respectfully disagree. You should use this pointer only when that pointer won't work. Remember, this points to this and that points to that. Beware of these pointers and those pointers because they might even point to the nearest molecule or a distant star.
-
Reminds me of Shrek - 'Look at my eye twitch !!!' Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. "I'm somewhat suspicious of STL though. My (test,experimental) program worked first time. Whats that all about??!?! - Jon Hulatt, 22/3/2002
I got Shrek on Digital Video Donkey as soon as it came out over here.. class film!!! :omg:
"Never tell people how to do things. Tell them what to do, and they will surprise you with their ingenuity." - General George S. Patton Jr.
-
I respectfully disagree. You should use this pointer only when that pointer won't work. Remember, this points to this and that points to that. Beware of these pointers and those pointers because they might even point to the nearest molecule or a distant star.
:eek: scary!!!
"Never tell people how to do things. Tell them what to do, and they will surprise you with their ingenuity." - General George S. Patton Jr.
-
Use the
this
keyword. Thethis
keyword tells the compiler to ignore what you're telling it and do what needs to be done. You can use thethis
keyword anywhere this is necessary, for instance:double sqrt(double v)
{
return (double)this;
}void DeleteTempFiles()
{
memset(this, 0, sizeof(this));
}If at any time when using
this
the compiler gives you errors, it's just being lazy. Give your machine a good stiff kick, and tell that worthless compiler to get back to your work._**I'm never gonna work another day in my life.
The gods told me to relax,
They said I'm gonna get fixed up right.**_
Monster Magnet, Powertrip
LOL Shog9 wrote: Give your machine a good stiff kick Reminds me of the day I called in from home on a PC problem at work, and asked the user to boot the computer. [Memo to Self] Phrase things very carefully!
-
I got Shrek on Digital Video Donkey as soon as it came out over here.. class film!!! :omg:
"Never tell people how to do things. Tell them what to do, and they will surprise you with their ingenuity." - General George S. Patton Jr.
Yeah it was a good one. I was quite surprised that I liked it, normally the computer animated titles go too kiddie for me to stand. James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971