游玩C语言-putchar输出字符函数 错误:cannot convert parameter 1 from 'char [2]' to 'int'

cannot convert parameter 1 from ‘char [2]’ to ‘int’
This conversion requires a reinterpret_cast, a C-style cast or function-style cast

错误意思是:字符单双撇号使用错误,将下列“” ,修改为 ‘ 即可。

#include

int main(){
   
     
	//错误示例
	putchar("^");
	putchar(

你可能感兴趣的:(畅游C代码,做个简单的技术宅,c语言)