June 24, 2007
I am currently brushing up on my .Net skills so I will be taking notes on topics that are worth taking the extra time to remember. Classes and structs A class is allocated on the managed heap rather than on the stack and assignment between two variables results in both variables pointing to the same [...]
June 13, 2007
Windows XP, unlike the Server editions of Windows, does not allow multiple simultaneous remote user sessions. This can be a pain. For instance, my wife has a user account on my computer at home which she often uses when I am not at the computer. When I am at work (or where ever) and want [...]
June 6, 2007
MySQL has some nifty extensions to ANSI SQL. Two of which are “INSERT … ON DUPLICATE KEY UPDATE” and “REPLACE” (As of MySQL 4.1). These statements are used when inserting data into a table where the unique key of the row you are inserting may already exist, and if it does, you want this row [...]
June 5, 2007
The #pragma directive is a compiler specific directive which compiler vendors may use for their own purposes. For instance, a #pragma is often used to allow suppression of specific error messages, manage heap and stack debugging, etc. You can see the C# .Net equivalent here. In Microsoft Visual C++ 8 (Visual Studio 2005), one useful [...]
Filed under:
C++ by admin