看板 ASM 關於我們 聯絡資訊
/* Define Variable */ #define a 0x0000 #define c 0x0001 #define c 0x0002 void Main(void) { Hardware_Iinitialize(); Hello(a,b,c); } void Hello(a_Value,b_Value,c_Value) { unsigned char index; unsigned short Reg[] = {a_Value , b_Value , c_Value}; for (index = 0; index < 15 ; index++) { ......... } } =================================== 為什麼軟體告訴我..... MAIN.C(70): error C247: non-address/-constant initializer why?? 怎麼寫才對呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.195.194.110
wuzen:unsigened short a_Value........ 03/22 21:14