I foolishly (due to inexperience) did a project (with 30+ programs) using the compiler that came with DevCPP. The compiler allowed code like...
...which I'd imagine would not be allowed by modern 64 bit compilers. I've used this so much that I cannot go back and ammend my code (too much hassle as I'd have to use new and manage memory as well). Does anyone know a 64 bit compiler that will compile this type of syntax?
I really recommend you go back and fix these issues. I really suspect that if you were doing this you didn't do very much validation on the variable that should probably also be taken care of. Even using the vector approach I recommend first validating your input parameter to insure it is indeed a valid number.