我有一個程序,我試圖編譯但它顯示編譯錯誤: 在第22行:「無效的操作數到二進制==」 我搜索了各種可用的解決方案,但不能'爲我的問題尋找解決方案。代碼如下:無效的操作數到二進制==
#include <stdio.h>
typedef struct nx_string_t
{
char *buf;
}nx_string_t;
typedef struct nx_value_t
{
union
{
nx_string_t strng;
}
} nx_value_t;
void func(nx_value_t *vale);
void func(nx_value_t *vale)
{
if(vale->strng == NULL) // Error occurs here.
{
printf("its done");
}
}
請突出線22 – 2013-02-15 09:38:08
如果這是你的實際代碼,我只想說,隨着rndmly delted vwels話mstly incmprehnsble。理解它們所需要的精神努力就是打字。 – molbdnilo 2013-02-15 11:18:40