User profile: Bourgond Aries

User info
User name:Bourgond Aries
Name:Kevin
Location:Norway
Bio:Programming C++ since march 2012 or so.
History
Joined:
Number of posts:294
Latest posts:

Need help ASAP: Don't know how to fix this error
I think you're trying to create the class without ctor args somewhere. So you can either create a de...

problem 34, proj euler
I believe your factorial function is wrong. My calculator seems to agree... This should work. [code...

confuse on i++ and ++i
I believe that this is the case: [code] int i = 0; int array[2] {0}; array[++i] = 3; // i read as 1...

Why are destructors called in reverse?
I believe it is because in a class hierarchy, the derived classes may be using variables or data loc...

Help fixing an infinite loop
I believe it's [code]int main()[/code] I suggest you use std::string instead and your function seem...