problems with arrays

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

problems with arrays

跳至解决方案
1,750 次查看
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 解答
1,031 次查看
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 回复
1,032 次查看
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 项奖励
回复