WordPress’ new distraction-free writing space is truly a pleasure to use. But the font in the main interface has turned into Arial for me, which feels…colder. And the spell-check button in the post editor is still in full color while everything else is grayscale, which is pretty annoying.
So I’ve been learning some C++ for slightly over a year now. I still can’t do much more than read and write from files, but hey, I know what a class is now!
- cin.ignore() is not to be used indiscriminately!
- After closing, inf.clear() is useful //ifstream inf
- Open and close files within the loop if you need the file pointer to go back to the top with each pass
- In case of assertion failure/buffer overflow errors:
- have you initialized things that need to be initialized?
- have you tried replacing strcpy_s with strncpy? (“it just works”)
- Remember to close files after opening them
- When in doubt, add trace printouts everywhere so you know what’s going on
My logic or methods are probably totally against coding best practices. Also, you may notice that the Japanese-which-I-didn’t-know-how-to-pronounce-until-last-week (thanks for remedying that, _randName_) blog title is gone from the site, and that I finally put up a header image. It was liberating to finally get rid of those default blue leaves, but right now the header is just a rather badly balanced color-fest.
Okay, I just zoomed out. It’s just a bad picture. I’ll replace it with something better soon.
Edit: Right, I’ve changed the header image to a blurred crop of this photo.
Also did some reshuffling and renaming of the Projects and Tutorials pages. I don’t think anyone knew they existed before I switched to this layout.
