※ 引述《Ihope (我期待..)》之銘言:
: 請問一下大家
: 如果今天我有一個字串
: test="(50-(5*2))"
: 我要怎麼寫才能讓test計算得到 40 這個答案呢??
變成前序or後序
再去計算
詳情請參照任一本講程式進階的書
--
≡ File Edit Search Run Compile Debug Project Options Window Help
╔[0] ══════════════ LPH66.CPP ═══════════════╗
║#include <PTT.h> ║
║#include <BBS.h> ║
C:\DJGPP>gpp LPH66.cpp -o LPH66.exe
--
※ 發信站: 批踢踢實業坊(ptt.csie.ntu.edu.tw)
◆ From: 163.15.56.3