I am very new to programming and I am trying to create an application that will add 1 to 0000000000000000000, once it has added one and creates 0000000000000000001, then if i run the function again it will make 0000000000000000001 equal 0000000000000000002.
Any help would be greatly appreciated
Advertisements. Register and be a member of the community to get rid of them.
0000000000000000000 is no different from 0 (assuming you're just processing them as numbers, not strings)
Code:
int num = 0;
void function()
{
num = num + 1;
}
__________________
If the Start Windows Restart when Windows starts check box is checked Windows Restart will start automatically every time Windows is started. - Actual excerpt from a windows program help file