Recursive function with no parameters[quote]As I understand this function decreases 10 until it's 0 am I right Coder?[/quote]Yes.
OPENING A TEXT FILE@softwaretime
No. That is .Net and CLI. It'd look like this:
[code]StreamReader^ sr = gcnew StreamR...
Random numbers in a arrayOn line 30 you already use local variables. They reallY don't hurt:)
Recursive function with no parametersUse global variables:[code]int x = 10;
if(x > 0)
Random numbers in a arrayOn line 41/42 you use the global variables form line 22. But since they permanently change (like on ...