User profile: coder777

User info
User name:coder777
History
Joined:
Number of posts:4512
Latest posts:

Recursive function with no parameters
[quote]As I understand this function decreases 10 until it's 0 am I right Coder?[/quote]Yes. [quote...

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 array
On line 30 you already use local variables. They reallY don't hurt:) [code]void mine_set() { d...

Recursive function with no parameters
Use global variables:[code]int x = 10; void decrease() { --x; if(x > 0) decrease(); }[/code...

Random numbers in a array
On line 41/42 you use the global variables form line 22. But since they permanently change (like on ...