This post is about defining custom keywords in Visual C++. Microsoft’s IDE, even the 2010 version, lacks the feature to show user-defined keywords (for example, names of classes you create) in the default blue color used for standard keywords (like int).
While this can be rather annoying, there is a simple way to solve the problem. However, if you have a large number of classes, structures, enums, it can become a bit tedious. If you think it is worth the effort, then, by all means, do it. Anyway, this is how it’s done:
This post is for people who want to use Visual C++ 2010 Express. The new version of the IDE requires registration. If you don’t register it, you will be able to use it only for 30 days. Registration is free and will enable you to use the IDE for an indefinite period of time. Here is how to do it:
Hi there! It’s been seven months since I’ve last updated the blog. I really don’t know why. Anyway, I’ll try to make up for lost time by posting articles on different subjects and by coming up with new, cool content. I’m sure you’ve noticed that the website received a new face, which I’m really enjoying. Even though I’m busy with college these days, I will update the blog periodically.
I’ve recently upgraded to Visual C++ 2010 Express and decided to write about the new features of the IDE, as well as my own opinion about it. The IDE is still free and available for download and you can find it on this page.
It’s been a while since my last post but now I’m ready to start writing again. So what have I been doing? Mainly, I’ve been working on my Pong clone (which in the end turned out to be quite different from the original Pong actually). Initially, I wanted to make a whole different game, but then I realized that every programmer should have a Pong clone in his portfolio. Naturally, I put everything else on hold and I started developing Pong.
The game has three modes: One Player, Two Players and Wall Pong(which is a single player mode in which you have to stay alive and beat the high score). It took me about a week to get aPong (that’s the name of the game) done and I have to say that I’m quite satisfied with the outcome.
So what is the purpose of this blog anyway ? Well, I’m going to use this blog as a development blog for my game projects. However, I might post articles on C++, DirectX or other articles regarding programming or game development aspects.
I am by no means an expert in DirectX programming but I am fluent in C/C++ and in C#. I am fascinated by the game industry (I would love to work as a professional game developer) and I have a passion for programming games. I am still learning, gathering insight into the great, vast field of game development (one can never learn enough, right ?) and I tend to make little notes of new things I learn. Maybe these little notes will serve as tips for other people who are just starting out with game programming.