Topic: 求教:怎么用键盘为一个对象的变量输入值?

  Print this page

1.求教:怎么用键盘为一个对象的变量输入值? Copy to clipboard
Posted by: c00lzhang
Posted on: 2005-10-24 13:27

我建立了一个People类,一个对象zz,有属性 姓名,性别,年龄等,现在我想用键盘来输入属性姓名的值,代码应该怎么编写啊?我试了好久了 谢谢高手指教

2.Re:求教:怎么用键盘为一个对象的变量输入值? [Re: c00lzhang] Copy to clipboard
Posted by: bluecrystal
Posted on: 2005-10-24 13:47

请参看下面一个帖子:
http://www.cjsdn.net/post/view?bid=1&id=160500&sty=1&tpg=1&age=0


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923