2014-01-24 94 views

回答

0

你的问题是,通过将引用操作操作,你要指定哪些指针specPtr点,而不是它实际上是什么。

尝试此代替

float **specPtr; 
specPtr = &spec; // Note the omission of the '*' 
+0

这是错误的。右侧等于'spec',并且不能将'float *'分配给'float **'。 –

0
float **specPtr; 
specPtr = &spec; 

规范是一个指针,所以spePtr是指针点符合规格

相关问题