Posted in January 18, 2010 ¬ 21:53h.Ronald Landheer-Cieslak
Sometimes it’s real fun to see how easily you can confuse the compiler. In the error below, function is a macro that takes three parameters: filename.c(453) : error C2220: warning treated as error – no ‘object’ file generated filename.c(453) : warning C4013: ‘function’ undefined; assuming extern returning int filename.c(466) : error C2064: term does not [...]
Read the rest of this entry »
Posted in January 16, 2010 ¬ 23:58h.Ronald Landheer-Cieslak
Bits of Evidence View more presentations from Greg Wilson.
Read the rest of this entry »
Posted in January 16, 2010 ¬ 15:57h.Ronald Landheer-Cieslak
In this last installment before we start our development project (and yes, there is a development project coming) we will talk a bit about the C++ type system, how to use it, how it ties in with object-oriented programming and how it ties in with what we’ve discussed earlier. We will see what the virtual [...]
Read the rest of this entry »
Posted in January 16, 2010 ¬ 00:42h.Ronald Landheer-Cieslak
One of the things I do as a analyst-programmer is write software – that would be the “programmer” part. I usually do that in C++ but, sometimes, when the facilities of C++ aren’t available (e.g. no exception handling and no RTTI) C becomes a more obvious choice. When that happens, RTTI is not the thing [...]
Read the rest of this entry »
Posted in January 8, 2010 ¬ 00:24h.Ronald Landheer-Cieslak
For software development, there are a few things we need on a daily basis: our source code, our documentation, our integrated development environment (IDE) and our hardware. Without any one of these, a software developer is as useless as… well… something very useless.
Read the rest of this entry »
Posted in January 1, 2010 ¬ 15:29h.Ronald Landheer-Cieslak
In standard C++, there is no garbage collector: there is no built-in mechanism that will magically clean up after you if you make a mess. You do, however, have the possibility to allocate resources, such as memory or files, and work with them. You should, therefore, be able to manage them consistently so you don’t [...]
Read the rest of this entry »