上例中結構變數taipei 的宣告, 當結構變數 taipei 宣告完成後即表示其成員包含 下列六項 :
| Example: union unit { char ch; int num; float fl; } object; |
object.ch = ‘a’;object.num = 100;object.fl = 3.41; |
| 歡迎光臨 中央論壇 - CENTER BBS (http://www.centerbbscom.dr376iik.a2hosted.com/) | Powered by Discuz! X3 |