This repository contains an implementation of the power function as a primitive recursive function. It was made for the Computational Complexity subject at ULL.
The code is in C++ and you can compile it yourself or use the makefile prepared for that matter.
make
The program will ask you for two numbers and then will output the result. This by itself isn't remarkable at all, but the code tries to mimic primitive recursive functions, which is what makes it special.