|登录 |注册
原帖由 goodhermit95 于 2008-11-26 02:14 PM 发表 C#好像跟C++一样的,可是我就是弄不到!!他说什么VIOD的 if(this.text = this.text) { //TODO }else{ //TODO }
原帖由 毛毛小子 于 2009-1-7 01:23 AM 发表 toupper 是否和 if(variable=='Y'||variable=='y') 一样呢?这个我又有点不明白。 你能写一行scanf让我看下吗?因为我初学者 scanf 是否和 print,println,printf类似呢?
原帖由 Super-Tomato 于 2009-1-7 08:45 PM 发表 toupper 就如字面上一樣, 把文字轉換為大寫, if(variable=='Y'||variable=='y') 這樣的寫法太累贅了, 所以使用 toupper 直接判斷 if(toupper(variable) == "Y") scanf 會掃描使用者輸入的文字 print ...
发表回复 回帖后跳转到最后一页
JBTALKS.CC |联系我们 |隐私政策 |Share
GMT+8, 2026-5-21 07:20 AM , Processed in 0.095058 second(s), 21 queries .
Powered by Discuz! X2.5 © 2001-2012 Comsenz Inc.