Re: 請教MPLAB C的三維陣列 extern的寫法!!
|
||||
---|---|---|---|---|
版主
![]() ![]() ![]() |
C18 無法支援三維陣列,C18 只支援到二維。
發表於: 2006/11/30 16:00
|
|||
|
請教MPLAB C的三維陣列 extern的寫法!!
|
||||
---|---|---|---|---|
新會員
![]() ![]() ![]() |
使用的是PIC18F8722
source files裡掛一個BUFFER.c 內容是unsigned char digit[10][4][8]= ............ Header Files裡的BUFFER.h 內容是extern unsigned char digit[10][4][8]; main的c 裡面有#include "buffer.h"了 但是組譯出現Error - section '.idata_buffer.o' can not fit the section. Section '.idata_buffer.o' length=0x00000140 另外使用的函式 TEST_SAMPL(digit[0]); 也出現Warning [2054] suspicious pointer conversion 麻煩高手教導一下正確的語法~~感激!!
發表於: 2006/11/29 19:24
|
|||
|