User profile: megatron 0

User info
User name:megatron 0
Bio:What if this really is a simulation?
Number of posts:471
Latest posts:

Populating an array with data from in ifstream
When loading files into memory, I prefer to localise filestreams inside a function. Alongside this, ...

Problem Testing values of 2D Array
Hi Andy, When I said "size - 1" I didn't mean in the for loop, though I probably should have stated...

Problem Testing values of 2D Array
First off: [code]for (int r = 1; r < 18; r++)[/code] is going out of bounds on the array, arrays st...

operator overloading
Or you can define the overloads as friend functions: [code] #include <iostream> class Box { privat...

a^b digit calculation with big numbers
Because the number is so long the number gets truncated to what I guess is a standard form for big n...