problems with arrays

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,674件の閲覧回数
mr_venkatarao
Contributor I
Hi,
i put some values in an array at (initialisation)one location.When i am trying get array values at another location the first element of the array becomes sometimes zero and sometimes correct, other elements are ok.

when i am asigned the first element to some other varible(at initialisaton) ,when i read this variable i am getting correct value always.Indeed i have more array varible in my code but few arrays are behaving like this.some times all array elements make the problem....so please suggest me the solution...
i am using code warrior IDE for MPC5554 controller.
Do i need to modify compiler settings? 

thanking you.
regards,
venkatarao.k
0 件の賞賛
1 解決策
955件の閲覧回数
Alban
Senior Contributor II
Hello,

Please would all members ask CodeWarrior questions in the appropriate CodeWarrior board.
Otherwise you will probably not get an answer. Specialists look at their area and cannot follow the many messages all boards receive daily.

Also DO NOT forget to mention the CodeWarrior Version and the Processor you are targetting in the MESSAGE SUBJECT LINE.

Thank you,
Alban.

元の投稿で解決策を見る

0 件の賞賛
1 返信
956件の閲覧回数
Alban
Senior Contributor II
Hello,

Please would all members ask CodeWarrior questions in the appropriate CodeWarrior board.
Otherwise you will probably not get an answer. Specialists look at their area and cannot follow the many messages all boards receive daily.

Also DO NOT forget to mention the CodeWarrior Version and the Processor you are targetting in the MESSAGE SUBJECT LINE.

Thank you,
Alban.
0 件の賞賛