it says it has bugs, and if you type foo it would type random numbers. im working on fixing the bugs, and BTW im using quincy 2005. is that a good editor?
int usually allows just a little over 2 billion, but you should focus on relevant numbers for your calculator. If you have something specific you want to do with a program use long or long long. Congrats with a nice little program there. My first programs didn't have that cool output. You should make sure to include some cool interface/output to make it interesting. :)
> what does #include <cstdlib> do for this program
A name must be declared before it can be used. <cstdlib> is a header file, just as <iostream> is another header file. The header <cstdlib> has the declaration for the function std::system() just as <iostream> has the declaration for std::cout
So, if you want to use std::cout, #include <iostream>
If you want to use std::system(), #include <cstdlib>
> and if you think the system ("color 3f"); doesnt work, you didnt run it
I didn't say it wouldn't work on a particular machine. I just pointed out that it may not work on every machine.