If you use Qt, often it means that you are developing cross platform applications. One thing that can annoy you and your customers is that your code works on one platform and does
not work on another one. One little evil is that your variables are not initialized automatically(on some platforms) and set to junk which can bring your code down. Therefore, a good habit is that always initialize all your variables with some values which make some senses. It is hard to
find this type of bugs. In this way you can save a lot of time.
[ 此贴被steinlee在2009-01-30 04:14重新编辑 ]