Less of a question, and more of a survey really. How do you define constants in your code? #define, enum or just const? What benefits are there (if any) to using any particular method?
fishybawb
Type: Posts; User: fishybawb
Less of a question, and more of a survey really. How do you define constants in your code? #define, enum or just const? What benefits are there (if any) to using any particular method?
fishybawb
Sorry, I should have mentioned that I tried that already and it didn't work! I thought this would be really simple, but it's starting to irritate me now :mad:
You could also try looking up some simple encryption/decryption routines. XOR's always good :)
fishybawb
Hello.
I'm planning to code a level editor for an old dungeon game, and thought it'd be nice to output the map file contents to the screen to see what's going on.
#include <iostream.h>...
What range of "random" numbers are you looking for?
Didn't there used to be a test board around here? Ah well, notice how I'm cunningly using this message to test here instead. I must be a genius or something. ;)