About John McGehee
Posts by John McGehee:
By default SWIG generates C# and Java code that does not support downcast for polymorphic return types. I found a straightforward way to solve this, provided your C++ code has a way to identify the concrete class of the C++ instances that are returned. That is, this technique will work only if the C++ API you are wrapping with SWIG has something similar to C#
object.GetType() or Java
When you try to install files for East Asian languages, you are asked for a Windows XP installation disk. These days, Windows comes pre-installed, so few people have a real Windows XP disk. Here’s how to install without the DVD/CD-ROM. More
CMake creates software build systems for a wide variety of platforms based on a single, unified control file–it’s a makefile maker. You create the CMake control file once and based on this file, CMake will create almost any build environment for you: GNU Make for Linux, Eclipse project, Visual Studio solution for Windows, and the list goes on. More
In this article I show you how to use multilingual UTF-8 strings with standard, unmodified OpenAccess oa-22.04p028 release.
In the last article, I introduced UTF-8, the popular 8 bit encoding of Unicode into multibyte character strings that can represent virtually every written language in history. I presented the OpenAccess software changes required to fully support UTF-8 and showed you how to convert your existing application software to properly manipulate UTF-8 in the OpenAccess oaString class. More
I once had a job scrutinizing Virtuoso schematics that contained many useful annotations written in Italian. EDA tools generally support only ASCII strings, but the Italian designers were lucky–theirs is one of the few languages that can be written naturally using the same characters as English.
If you speak a foreign language, you would naturally like your children to learn it, too. However, look around you, and you will find that only a few children actually become fluent in their parents’ language, and fewer still can read or write it.
We reared a Japanese/English bilingual daughter in the United States. To help you formulate a plan for your own family, I will describe the strategy we used.