Counting Money Function

[b][red]This message was edited by ljs at 2002-10-28 7:40:5[/red][/b][hr]
I need a money function for my game Im programming. I want it to count long integers only. A range of 5-1,000,000. So if my character was to make money it increases, if my character was to lose money it decreases. Im a beginning programmer.

int money();

int main()
long maximumCash;
long minimumCash;


This is all I have.


  • that shouldnt be too hard but without knowing how you have done everything else then its kinda hard. if you could send me the code you have i can read it thru and knock summin up for ya m8.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion