Everytime i try to debug my program i keep getting
Instruction at 0x0000000000000000 referenced memory at
0x0000000000000000.The memory could not be written.
Sorry for the late reply.I've been following casey's handmade hero and the only switch using cl is -Zi.Debugging in VS throws no error at all.
Hope that helps