Browsing this Thread:
1 Anonymous Users
|
Re: [請問]出現下列error
|
|
新會員
Joined
: 2005/4/6 11:49 最後登入時間
: 2005/5/3 16:58
Group:
註冊會員
Level : 1 HP : 0 / 21 MP : 3 / 1212 EXP : 86
|
會不會跟要移位的位元數有關ㄚ?? 改為小於8試試... 若沒問題可能跟資料型態及Compiler的限制有關吧... 個人愚見...
發表於: 2005/5/2 17:30
|
|
|
[請問]出現下列error
|
|
新會員
Joined
: 2005/4/21 12:03 最後登入時間
: 2005/5/12 16:07
Group:
註冊會員
Level : 1 HP : 0 / 8 MP : 1 / 475 EXP : 34
|
我的程式式 ' long x; float a_x=10.9983, b_x=0.0086, k_x=0.735, xx=0, xxx=0, x_xx=0, xx_xx=0, errx=0, w_x =0; if(err_X != 0) { err_X = errx - w_x; xxx = b_x * errx; xx = xxx + x_xx; if(xx<0){xx=-xx;xx>>=10;xx=-xx;}<====出現error1 else xx>>=10;<=====出現error2 x += xx; balabala.. ' 編譯後出現 warning: large integer implicitly truncated to unsigned type error1: invalid operands to binary >> error2: invalid operands to binary >>
請問是什麼問題
麻煩指導一下 謝謝
發表於: 2005/4/29 11:04
|
|
You can view topic.
你 不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.