C++ Tip for Accessing Derived Class Functions Indirectly

2020, base class, c++, coding, computer science, Computers, Computing, derived class, functions, inheritance, pointers, static cast, tables

So, if you are a newb coder like me, and you are studying inheritance, and it all just seems to come crashing down when you can’t seem to access a derived class’s function, take heart! There’s always a way. Just passing along info. gleaned from the interwebs that was used in my team’s code that I found VERY helpful! See image above for more.

Structs and Classes!

2018, Art, artist, arts & crafts, Cartoon, computer science, Computers, Computing, drawing, drawings, Karla Fant, Kristin Bell, magnet, Nerd, pass by reference, pass by value, Portland State University, PSU, structs and classes

IMG_5545

So, I’ve been taking some computer science classes. My teacher is just great, and she is very funny. In class she’ll say things like “NEVER!!! Pass a class or struct by value! NEVER!” Also, she’ll talk about how her stuff on the bottom of her stairs compares to a sorting algorithm and stuff. Anyway, it is total nerd joke stuff, and I love it! hahaha. So one day I got the idea to make a drawing of her with something she says. Then I turned the drawing into some bookmarks and magnets. I did give some to her, and she laughed. LOL. Plus the TAs seem to like them too. This photo is of one of the magnets. ;)

Interesting Video: Reclaiming DaVinci

Art, Computers, Computing, Kristin Bell, Mathematics, Science, Vision, Visualization

TED Talk About Art & Technology

Art, Computers, Computing, Kristin Bell, Technology

This is a really wonderful presentation/talk about art and technology! You’ll probably laugh and have fun watching too. Very interesting!

http://www.ted.com/talks/golan_levin_ted2009.html

Review: The Shallows-What the Internet Is Doing to Our Brains

Anxiety, Bibliophiles, Biology, Books, Computers, Computing, Geek, Internet, Kristin Bell, Psychology, Technology

“The Shallows: What the Internet is Doing to Our Brains” by Nicholas Carr is a terrific and fascinating book. I couldn’t put it down. It would be easy to dismiss Carr and say “oh yah, whatever, the internet is making us all dumb, riiiiiiight,” but his case is compelling and hard to dismiss. He isn’t even so much saying that technology is bad at all. His point seems to be that we should be more mindful of the impact that technology has on us. Only Carr talks about it with interesting and thought-provoking examples from ancient history to current psycho-biology! You’d do well to read this book in print and NOT on an ebook reader too!

This book is engaging, well written and thought-provoking. If you really believe you are getting so many things done by doing 100 things at once, you should pick up this book and think again. Well worth the thoughtful contemplation time. (  )

eye heart apple

Apple, Blogging, Computing, Cool, Cult, Cute, Engineering, Fun, Function, G3, G4, G5, Happy, iMac, Love, Mac, Macintosh, Microsoft, Nerd, obsession, Olden Dayz, PC, Steve Jobs

iheartmac

I just watched the documentary “Welcome To Macintosh” which I purchased for $19.84 (plus tax and shipping from filmbaby.com) and I have to say that it was pretty great. Okay, they couldn’t get an interview with Steve Jobs, but whatever. And, well, probably only Mac people would be so enthralled by this movie, but since I’m a Mac lover it brought me joy! What can I say? I’m not that hard to please! Why do Apple lovers love Apple and love to love Apple and love to talk about how they love Apple? Cult much? Meh! I’m not into cults at all, but I love my computer as much as it is possible to have a fondness for inanimate objects! I’m sorry. I can’t help it. My Mac is my portal to so much joy, you have no idea!

Oh, there are some good