|
21 Years, 1 Month
«_Superman_»
I love work. It gives me something to do between weekends.
Microsoft MVP (Visual C++) (October 2009 - September 2013) Polymorphism in C
|
|
|
|
|
23 years 2+ months
CP used to be part of another site--completely forget which--and then went independent. On July 6, 2000, Chris had to change something (new database?) and join dates were all reset. We would have gotten our pitchforks and torches but were too lazy.
|
|
|
|
|
Member since 24 Oct 2003, so four more weeks to go.
|
|
|
|
|
As a younger member 9 yr 8 mo
This is one of the most enjoyable group of professional people on the internet
Diversity of interests,backgrounds and real programmers
Some of you have pushed me to learn new ways when I started learning C#
that was very meaningful as a novice wannabe create of my own programs
I am 78 and have lost most of my childhood and high school friends from Ohio
and now live kind of remote in the mountains of Arizona few friends
So the Lounge is a little bit of social life with people from all over the world
Just enjoyable Thanks to All that reside here
|
|
|
|
|
Thats nice to hear, great to get to know you.
forging iron and new ideas
|
|
|
|
|
22 years now
"God doesn't play dice" - Albert Einstein
"God not only plays dice, He sometimes throws the dices where they cannot be seen" - Niels Bohr
|
|
|
|
|
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
|
|
|
|
|
Wordle 830 4/6
⬜⬜⬜🟨🟩
🟩⬜⬜🟩🟩
🟩⬜⬜🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 830 6/6
⬜⬜🟩🟨⬜
🟩⬜🟩⬜🟩
🟩⬜🟩⬜🟩
🟩⬜🟩⬜🟩
🟩🟨🟩🟨🟩
🟩🟩🟩🟩🟩
Just short of being symmetrical.
|
|
|
|
|
⬜⬜⬜⬜🟩
⬜🟨⬜⬜🟨
🟩⬜🟩⬜🟩
🟩🟨🟩⬜🟩
🟩🟩🟩🟩🟩
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 830 5/6
⬜⬜⬜🟨⬜
🟨⬜⬜🟨⬜
⬜🟨⬜🟨🟨
🟩🟨🟩🟨🟩
🟩🟩🟩🟩🟩
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
Wordle 830 2/6*
🟩⬜⬜🟩🟩
🟩🟩🟩🟩🟩
Happiness will never come to those who fail to appreciate what they already have. -Anon
|
|
|
|
|
Wordle 830 3/6
⬜⬜🟩⬜🟨
🟩🟨🟩🟨🟩
🟩🟩🟩🟩🟩
Almost had it in two!
|
|
|
|
|
Wordle 830 X/6*
⬜⬜⬜🟨🟩
🟩⬜🟩⬜🟩
🟩⬜🟩⬜🟩
🟩⬜🟩⬜🟩
🟩⬜🟩⬜🟩
🟩🟨🟩🟨🟩
Quit complaining! 
|
|
|
|
|
Wordle 830 4/6
⬛⬛⬛⬛🟩
🟩⬛🟩⬛🟩
🟩🟨🟩⬛🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 830 4/6*
⬜⬜⬜🟨🟩
🟩⬜🟩⬜🟩
🟩🟩🟩⬜🟩
🟩🟩🟩🟩🟩
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 830 3/6
⬛🟨⬛⬛🟩
🟩⬛⬛🟩🟩
🟩🟩🟩🟩🟩
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 830 5/6
⬛🟨⬛⬛⬛
⬛🟨⬛⬛🟩
⬛🟨⬛🟩🟩
⬛⬛🟩🟩🟩
🟩🟩🟩🟩🟩
Well, at least I made stairs.
Jeremy Falcon
|
|
|
|
|
Wordle 830 2/6
🟩🟨⬜⬜🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 830 4/6
🟨⬜⬜🟨🟩
🟩⬜⬜🟩🟩
🟩⬜🟩🟩🟩
🟩🟩🟩🟩🟩
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
It would be great to do an exploration of binary vs source level binding in C++ but I'm not sure what you'd call it.
For example, a pure virtual class (interface) is a binary binding mechanism. You are essentially passing around a table of function pointers. You can pass a class *instance* as a *function* argument and bind to it at run time.
An example of "source level binding" (if you want to call it that) would be passing a class as a template argument to a template class, and then operating on the first class's methods from inside the second class.
Anyone have any ideas?
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Not sure I understand, but I have done this.
I have an large array of function addresses.
They are indexed by "name" using a hash table and executed at run time.
???
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I'm referring to a vtbl, which is created by the C++ compiler.
in memory it exists as an array of pointers to functions. However, each function signature is potentially different than the next.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I understand. My implementation was pure C.
Not being a C++ expert, I may not be interpreting your approach the same.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
It was close. Subtract the hashtable, and make it so every pointer potentially points to a different sig of function. You can't make the construct yourself in pure C or C++ without hackery, but the C++ compiler makes them as I said.
What they do is they point to each "virtual" method in a class. Like in C#, virtual methods can be overridden. When that happens, the corresponding function pointer in the vtbl is corrected with the new function.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|