C++ is fun
-
Nishant S wrote: It's not the this pointer, it's a pointer variable named this_ And you call this fun??? I see dead pixels Yes, even I am blogging now!
Like this?
(this_->obj->*(this_->fun))();
Pandoras Gift #44: Hope. The one that keeps you on suffering.
aber.. "Wie gesagt, der Scheiss is' Therapie"
boost your code || Fold With Us! || sighist | doxygen -
peterchen wrote: just wrote this: (this_->m_obj->*(this_->m_func))(); Nothing exceptional, but I enjoy th arrows C++, the only language with a built-in code obfuscater. :suss:
Don't forget about PERL, specifically when using regex's :)
Searching the web without Google is like straining sewage with your teeth.
Userfriendly, 2003/06/07 -
I need a T-Shirt: "Obfuscating and proud!"
Pandoras Gift #44: Hope. The one that keeps you on suffering.
aber.. "Wie gesagt, der Scheiss is' Therapie"
boost your code || Fold With Us! || sighist | doxygenHow's about, "C++ coders Obfuscate regularly" :) Chris Meech I am Canadian. [heard in a local bar] Remember that in Texas, Gun Control is hitting what you aim at. [Richard Stringer] Nice sig! [Tim Deveaux on Matt Newman's sig with a quote from me]
-
peterchen wrote: just wrote this: (this_->m_obj->*(this_->m_func))(); Nothing exceptional, but I enjoy th arrows C++, the only language with a built-in code obfuscater. :suss:
-
peterchen wrote: just wrote this: (this_->m_obj->*(this_->m_func))(); Nothing exceptional, but I enjoy th arrows C++, the only language with a built-in code obfuscater. :suss:
Roland Pibinger wrote: C++, the only language with a built-in code obfuscater. Man, you have obviously never tried Perl. Not to mention APL[^] or BF[^](kid sister - safe variant of its name). Having said that, I agree that all C-like languages have too expressive syntax. Who needs that with today's IDEs and monitors? Bjarne Stroustrup himself wrote he would have prefered to use Algol68 as a base for his language rather than C. Then we would have had Algol++ and Algol# - I just wonder how Java would be called. Maybe Alcohol :~
My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
-
just wrote this:
(this_->m_obj->*(this_->m_func))();
Nothing exceptional, but I enjoy th arrows
Pandoras Gift #44: Hope. The one that keeps you on suffering.
aber.. "Wie gesagt, der Scheiss is' Therapie"
boost your code || Fold With Us! || sighist | doxygenI wrote probably over 10 million lines of code in c++ but the more I use c# the more C++ starts to look like Greek to me!:)
"In our civilization, and under our republican form of government, intelligence is so highly honored that it is rewarded by exemption from the cares of office." - Ambrose Bierce
-
peterchen wrote: just wrote this: (this_->m_obj->*(this_->m_func))(); Nothing exceptional, but I enjoy th arrows C++, the only language with a built-in code obfuscater. :suss:
Roland Pibinger wrote: C++, the only language with a built-in code obfuscater. You obviously have never had the "pleasure" of coding in Perl!
A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine. - Murphy's Law of Computing
-
just wrote this:
(this_->m_obj->*(this_->m_func))();
Nothing exceptional, but I enjoy th arrows
Pandoras Gift #44: Hope. The one that keeps you on suffering.
aber.. "Wie gesagt, der Scheiss is' Therapie"
boost your code || Fold With Us! || sighist | doxygenI agree C++ is cool in a Brain Teaser kind of way. It's good to live, Josef Wainz Software Developer
-
just wrote this:
(this_->m_obj->*(this_->m_func))();
Nothing exceptional, but I enjoy th arrows
Pandoras Gift #44: Hope. The one that keeps you on suffering.
aber.. "Wie gesagt, der Scheiss is' Therapie"
boost your code || Fold With Us! || sighist | doxygenIt's been awhile since I coded in C, I'm trying to decipher what that even means... some variable named "this_" is dereferenced, and is used to access m_obj, which is dereferenced to access the pointer to ... a function?
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Horrific Minnesota Radio Judah Himango
-
just wrote this:
(this_->m_obj->*(this_->m_func))();
Nothing exceptional, but I enjoy th arrows
Pandoras Gift #44: Hope. The one that keeps you on suffering.
aber.. "Wie gesagt, der Scheiss is' Therapie"
boost your code || Fold With Us! || sighist | doxygenI hope those pointers are not NULL... :)
-
I hope those pointers are not NULL... :)
Do you think it would be better if they were 0x000001 instead ;P
My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
-
just wrote this:
(this_->m_obj->*(this_->m_func))();
Nothing exceptional, but I enjoy th arrows
Pandoras Gift #44: Hope. The one that keeps you on suffering.
aber.. "Wie gesagt, der Scheiss is' Therapie"
boost your code || Fold With Us! || sighist | doxygenAnd we wonder why people think programers are boring.
-
just wrote this:
(this_->m_obj->*(this_->m_func))();
Nothing exceptional, but I enjoy th arrows
Pandoras Gift #44: Hope. The one that keeps you on suffering.
aber.. "Wie gesagt, der Scheiss is' Therapie"
boost your code || Fold With Us! || sighist | doxygen -
Don't forget about PERL, specifically when using regex's :)
Searching the web without Google is like straining sewage with your teeth.
Userfriendly, 2003/06/07Bruce Duncan wrote: Don't forget about PERL, specifically when using regex's Fortunately C++ will have a regex lib in the future. Imagine regex, STL, Boost libraries, and MFC/COM/ATL/WTL in one program. Unbeatable!
-
Roland Pibinger wrote: C++, the only language with a built-in code obfuscater. You obviously have never had the "pleasure" of coding in Perl!
A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine. - Murphy's Law of Computing
Eddie Velasquez wrote: You obviously have never had the "pleasure" of coding in Perl! From the CUJ newsletter May 2, 2005
4. Coming Up in the July 2005 Issue
*** Java and C/C++ ***
...
Perl, C++, & Java: Making it easy to execute Perl subroutines from
within C++
... -
It's been awhile since I coded in C, I'm trying to decipher what that even means... some variable named "this_" is dereferenced, and is used to access m_obj, which is dereferenced to access the pointer to ... a function?
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Horrific Minnesota Radio Judah Himango
It's redirecting an Async procedure call to another object's member function. this_ is a ptr to the proxy object (passed to APCProc as
ULONG_PTR
), and contains an instance pointer m_obj
and a member function pointer m_func
Pandoras Gift #44: Hope. The one that keeps you on suffering.
aber.. "Wie gesagt, der Scheiss is' Therapie"
boost your code || Fold With Us! || sighist | doxygen -
Nishant S wrote: It's not the this pointer, it's a pointer variable named this_ And you call this fun??? I see dead pixels Yes, even I am blogging now!
Of course it's fun. :) -- Schni Schna Schnappi! Schnappi Schnappi Schnapp!
-
Bruce Duncan wrote: Don't forget about PERL, specifically when using regex's Fortunately C++ will have a regex lib in the future. Imagine regex, STL, Boost libraries, and MFC/COM/ATL/WTL in one program. Unbeatable!
Are you talking about the project I'm currently working on? Well.. hm.. I don't have MFC in it, so it's pretty tidy. :) -- Schni Schna Schnappi! Schnappi Schnappi Schnapp!
-
peterchen wrote: just wrote this: (this_->m_obj->*(this_->m_func))(); Nothing exceptional, but I enjoy th arrows C++, the only language with a built-in code obfuscater. :suss:
C++ is expressive and quite orthogonal, compared to other half assed languages. Besides, it's what you make of it that counts. -- Schni Schna Schnappi! Schnappi Schnappi Schnapp!
-
Roland Pibinger wrote: C++, the only language with a built-in code obfuscater. Man, you have obviously never tried Perl. Not to mention APL[^] or BF[^](kid sister - safe variant of its name). Having said that, I agree that all C-like languages have too expressive syntax. Who needs that with today's IDEs and monitors? Bjarne Stroustrup himself wrote he would have prefered to use Algol68 as a base for his language rather than C. Then we would have had Algol++ and Algol# - I just wonder how Java would be called. Maybe Alcohol :~
My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
Nemanja Trifunovic wrote: Maybe Alcohol Alcohol usually gets you in a good mood. Java don't. But then again, too much alcohol makes you sick, just like java. ;) -- Schni Schna Schnappi! Schnappi Schnappi Schnapp!