Why there is no output printed

i have write my code and it is compiling successfully but it doesn’t show any output.
my code is :-

#include
#include
using namespace std;

void replacepi(char a[], int i)
{
if(a[i]==’\0’ or a[i+1]==’\0’)
{
return;
}

if(a[i]=='p' and a[i+1]=='i')
{
	int j=i+2;
	while(a[j]!='\0')
	{
		j++;
	}
	while(j>=i+2)
	{
		a[j+2]=a[j];
		j--;
	}
	a[i]='3';
	a[i+1]='.';
	a[i+2]='1';
	a[i+3]='4';

	replacepi(a,i+4);
}
else
{
	replacepi(a,i+1);
}

}

int main() {
int t;
while(t–)
{
char a[1000];
cin>>a;
replacepi(a , 0);
cout<<a<<endl;
}

return 0;

}