I said it was a non-standard way of dividing an integer by 4. The standard way is to use the / operator. And it is off topic as you well understand. Highly entertaining and amusing, but of no benefit to the OP.
You can use the C++ Standard Library <cmath> and the function sqrt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include <iostream>
using std::cout;
using std::endl;
#include <cmath>
using std::sqrt;
//You can use "usign namespace std" instead of...
int main(){
int value=16;
cout<<sqrt(value)<<'\n'<<endl;
return 0; //indicate successful termination
}//end main