拜托大家帮帮我看看这个第十题我是哪里出了问题!谢谢大家救救傻子学生!

拜托大家帮帮我看看这个第十题我是哪里出了问题!谢谢大家救救傻子学生!
void print(int n, char t='*')
{
	int count = 1; //当前行的字符数量
	for(int i=0; i<n; i++)
	{
		for(int j=0; j<count; j++)
			cout << t;
		count << endl;
		count += 2; //下一行,将字符数量+2
	}
}

 

c++里面好像没有print语句,你试试cout<<a<<b;这样