- Joined
- Apr 14, 2012
- Messages
- 2,585
- Reaction score
- 0
- Points
- 36
If you don't explicitly initialize a variable with a defined value. it contains either garbage, which will be rather easy to spot as bug, or in this case, the last stored value before power was turned off, which is a valid value for the variable and thus harder to spot during debugging.
Ah,
Ive heard that also tends to be the major problem with crashes caused by dereferencing a pointer to an element that has been deleted; The program calls delete to the pointer, but its data is still in place until a new memory allocation overwrites its block of memory and it can be accessed until it is. If the developer is testing with only a few programs open, bugs like that might not be spotted during the development process. At least that was what I was told, I havent tested it yet.
Bit of an odd question, but this is the RTC, so here goes:
Is there any way to request high resolution satellite imagery of a specific site (middle of nowhere in northern Ontario) as a civilian? Google maps imagery just does not cut it in this case.