[問題] 判斷字串是否可以執行程式
用C語言
我想問
我如果scanf 字串a
if字串a=="abc"{ printf("你好")}
要怎麼讓電腦知道我輸入的是abc呢
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 120.96.205.84
※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1447243001.A.66F.html
※ 編輯: foog19960628 (120.96.205.84), 11/11/2015 19:57:44
→
11/11 19:58, , 1F
11/11 19:58, 1F
推
11/12 22:57, , 2F
11/12 22:57, 2F
→
11/13 23:07, , 3F
11/13 23:07, 3F