![]() |
Problem
I have done a program, it works but i used a book to help me as i was seriously stuck and unsure what i have actually done in fields
"register an integar" as i normally put int iCount (iCount my integar i nominate) "Long factorial" and "Return 0" as i use getch(); normally My code: Code:
|
Re: Problem
So what you could not understand?
|
Re: Problem
The lines that i wrote
"register an integar" "Long factorial" "Return 0" I would usually make a comment after each for my understanding, eg. if i wrote getch(); // get a character from the keyboard something along those lines |
Re: Problem
Code:
register int count; // declare the first counter |
Re: Problem
Thank you so much, cleared it all up for me.
|
| All times are GMT +5.5. The time now is 20:03. |