- Status Report (Stack and Tile)
- Back from Auckland
- Work in progress on the xHCI driver
- GSoC Introduction: BFS Partition Resizer
- GSoC Introduction: NFSv4 client
- GSoC Introduction: x86_64 port
- GSoC Introduction: OpenJDK port
- gsoc2012 cpuidle project introduction
- Playing Around With QEMU and VT-d
- A Short BeGeistert 025 Report
Lesson 12: OOPs I Did It Again!
This would be the only time I will capitalize on a really bad Britney Spears reference. I promise. ;-) This lesson introduces us to the wonderful world of C++ and Object Oriented Programming. It's not terribly code-heavy, so this might be a good time to look over past lessons to make sure you understand concepts pretty well -- it only gets bigger from here. :-)
Also, there is now an archive of all programming lessons at the redesigned version of my old website, now titled DarkWyrm's Library. If you've missed one and want to save yourself hunting around my blog or the Haiku website, go there.
- darkwyrm's blog
- Login or register to post comments







Comments
Re: Lesson 12: OOPs I Did It Again!
Hi,
i like your Lessons :-)
i found a small typing error.
When make a Pointer of Television() with "new", then it is a -> not a .
Television()* TV = new Television();
if(!TV->IsTurnedOn)
...
stargater
Re: Lesson 12: OOPs I Did It Again!
I've updated the PDF with the changes. Thanks for pointing it out! :)
Re: Lesson 12: OOPs I Did It Again!
Please continue posting, it is a great refresher for me. I have only recently started programming after a couple years. Your lessons are reminding me of all the basics again.
Thanks.
Re: Lesson 12: OOPs I Did It Again!
Your two unary constructors towards the end are not explicit. Is that an intentional omission or an accident?
Also, as far as I can see from the Haiku coding guidelines, nullary functions do not have a void in the parameter list.