-
Alexandr Tarasov
Task: I need to write an external library in C. A list with the name of the array comes to the object's inlet. How to get a pointer to this array inside an external library in C language?
-
Alexandr Tarasov
Help me please! I need to implement the following code written in C # in the patch:
public static void FareiSequence(int n) { Console.WriteLine("{0} / {1}", 0, 1); FareiSequence(n, 0, 1, 1, 1); Console.WriteLine("{0} / {1}", 1, 1); } private static void FareiSequence(int n, int x, int y, int z, int t) { int a = x + z, b = y + t; if (b <= n) { FareiSequence(n, x, y, a, b); Console.WriteLine("{0} / {1}", a, b); FareiSequence(n, a, b, z, t); } }
How to organize recursion in a patch?