User profile: TwilightSpectre
|User name:||TwilightSpectre |
|Old user name:||NT3|
|Location:||Australia, Sydney, NSW|
|Bio:||A programmer guy. Enjoy's randomly reading things, writing things, solving things, making problems, and all manner of various shenanigans. |
|Number of posts:||1321|
Writing to two dimensional vector within structure
You can do it pretty much the same way you might expect. Based off your code:
No. A virtual destructor is for if you are using a base class pointer to point to an instance of a d...
How to find memory leaks?
Valgrind is only really for *nix, unfortunately. When you can use it, it's an amazing tool. Although...
Your way was telling the program to generate a random number between 0 and (upper + lower - 1).
How to write single class private data member to binary file
Again, not really. [tt]reinterpret_cast[/tt] is just a safer, more explicit form of casting than the...