Groups
Groups
Sign in
Groups
Groups
tw.bbs.comp.oop
Conversations
About
Send feedback
Help
Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more
Re: [°ÝÃD]¦p¦óC»y¨¥§âºâ¦¡ªº¼Æ¦r¸ò²Å¸¹¤À¶}?
0 views
Skip to first unread message
jpchern
unread,
Jun 3, 2004, 11:08:27 PM
6/3/04
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
※ 引述《
guanch...@bbs.sayya.org
(Aery)》之銘言:
> 轉信站: KimoWebBBS!
netnews.kimo.com.tw
!news.csie.ncu!news.ice.cycu!
News.Math.NC
> Origin:
kenduest.math.nctu.edu.tw
> 像是一個1+2*3/5/(2-3)
> 怎麼把數字跟+-*/()分開
> 我試過
> scanf("%d%c%d%", &num[0], &opt, &num[1]);
> 這樣可以不過~~~好像是笨方法~"~
> 而且只能用少數個
> 有沒有別的方法呢???
> thx
一個個character讀進來, 用ASCII判斷
--
[1;33m※ Origin: [36m奇摩 大摩域 [37m<
http://bbs.kimo.com.tw/
> [m
[1;35m◆ From: 24.62.69.150
0 new messages