User profile: dhayden

User info
User name:dhayden
Name:Dave Hayden
Location:Central New Jersey, USA
Bio:I've been programming since the mid-1970s and doing it professionally since 1985.
Statistical data
Occupation:Programmer
Skills:C
BASIC
C++
Pascal
ADA
Delphi
Assembly
LISP
History
Joined:
Number of posts:5798
Latest posts:

txt file to vector giving wrong values
I really like mbozzi's suggestion, but if you want to read the numbers and skip the minus signs, her...

which one of these bytecode instruction designs is better?
I don't think either of these approaches of good. To see why, consider a program in this byte code. ...

Convert binary to base 58
You can convert binary to BCD using double-dabble (https://en.wikipedia.org/wiki/Double_dabble). Thi...

Guidelines are not rules
It's important to understand the [i]reason [/i]for the guideline/rule. Sometimes the reason doesn't ...

Collision detection using bit manipulation
Another way is to just determine the new position and then check both X and Y. I put the mapWidth an...