Watch Out for Number Conversion Errors
Converting from floating point numbers (e.g. double, single) to integers can be tricky.
Converting from floating point numbers (e.g. double, single) to integers can be tricky.
A reasonably sized software project is rarely delivered in time and under budget. This is a known fact in the software industry.
Download UniquePermutation.zip The numbers of permutations on a set of n elements is n! (see definition).
If you are looking for a programming position, chances are that you will be required to have x years of experience in language y.
Download Trie.zip Trie is a tree like data structure that can be used for fast text search.
We were supposed to have a winter storm last Thursday. But as it turned out, we just had some light snow instead.
In my post a week ago, I mentioned three ways to reverse a string. OK, I really meant three alternative ways to reverse a string.
In my previous post “How to Tab Through Controls on a Form With Alternative Keys using C#” I talked about one way to move the focus among all the controls on a form.
OK, conceptually, it’s quite easy. A couple of my friends got asked this question when interviewing. Here are what my solutions are:
Download RegExpBench.zip I created this little utility a while ago. It is a work bench for creating/validating regular expressions.
Download AltTab.zip We have taken it for granted that TAB and SHIFT + TAB move the focus from one control to the next depending on the TAB order, and rarely wonder how we would implement such functionalities ourselves.
I got an iWay 350c portable GPS a little more than a month ago.
Most of the people would definitely say Googlebot without hesitation, but my recent observations seem to suggest otherwise.
Download ColorPicker.zip I put this ColorPicker up for download about a year ago. Recently, I have updated it (some minor tweaks), and here it is again.