So I have do use recursive procedure "poolita ()" in my program where input is dynamic sequence of positive integers called "jarjend" and positive integer called "arv". This is my code so far and I have no idea how I should do it and if im right so far. Every kind of help is appreciated.
1 2 3 4 5 6 7 8 9 10 11
#include <fstream>
#include <iostream>
usingnamespace std;
void poolita() {
int arv;
int *jarjend = newint[arv];
}
int main () {
return 0;
}