Hi trying to raise a Matrix to the power of p, does not work. Where is my mistake.....

Thanks for help




int main()

{