User profile: shacktar

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

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...

erase last vector element ( crash)
Your vector is indeed empty at the point where the program crashes. It looks like you forgot to rei...

Are there any games written in C++?
Doom 3 was written in C++ and its code has been shared https://github.com/TTimo/doom3.gpl/tree/mast...