C++ | Computer Science homework help

I studied class, iterator, Pointers, Vector, List, and Operator in this course. This is homework about the recursion star battle puzzle. I can’t use getline() in this homework. The output of the program should be exactly the same as the example output file I uploaded. For example, if the example output file name is “out_twonot2_3_one_slow.txt”. There will take “twonot2.txt” as input file and 3 stars. “one” is the output mode mentioned in the hw.pdf. More detail in hw.pdf.