当分配不兼容的类型为类型 - ç [英] Incompatible types when assigning to type - C
本文介绍了当分配不兼容的类型为类型 - ç的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在code工作::在C.项目块
I'm working in Code::Blocks on a project in C.
当我编译时出现错误:不兼容的类型分配给从类型'双'类型'双*'时,上线81,85,90,91
When I compile I get the error: "incompatible types when assigning to type 'double *' from type 'double'" on lines 81, 85, 90, 91.
该项目是采取一个单位转换工具,并在主要包含多种功能,而不是一切()。
The project is to take a unit conversion tool and incorporate multiple functions instead of everything under the main().
推荐答案
尝试取消引用指针:
*pKelvin = PROD((fahrenheit+459.67),ytemp);
^
这篇关于当分配不兼容的类型为类型 - ç的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文