User profile: shacktar

User info
User name:shacktar
Location:Ontario, Canada
History
Joined:
Number of posts:1184
Latest posts:

VERY QUICK QUESTION!!
The following will make the median show with two decimal places: [code]cout << "The median of the a...

function overloading
The function declarations [code]int add(void);[/code] and [code]int add();[/code] are equivalent. Th...

Help understand pointer declaration
You could think of dereferencing a pointer as taking away a '*' from the type. For instance: [code...

Output won't move across the screen
[code]while (count > 15 || index < 70)[/code] This statement is false right away.

erase last vector element ( crash)
Because [code]sum[/code] was not being reset, your condition [code]if(sum < max && isPrime(sum))[/co...