在embarcaro devc--里写了一个可爱的模板函数,爆出了一堆可爱的错误
  • 板块灌水区
  • 楼主luogu_tanbozhi
  • 当前回复1
  • 已保存回复1
  • 发布时间2024/6/6 19:48
  • 上次更新2024/6/6 22:03:50
查看原帖
在embarcaro devc--里写了一个可爱的模板函数,爆出了一堆可爱的错误
1321076
luogu_tanbozhi楼主2024/6/6 19:48

代码:

#include <bits/stdc++.h>
using namespace std;
template <class T>
T print(T a){
	cout<<a;
}
void RWspeed(){
	cin.tie(0)->sync_with_stdio(false);
	return ;
}
int main(){
	RWspeed();
	print("abc");
	print(123);
}
2024/6/6 19:48
加载中...