0
Data type error?
if I input a data including much number(int) and string (like ADD,SUB), and I don't know the order they do, so how can I declare they in different variables?
2 Answers
+ 1
Can you explain better your doubt? That is not clear to me. =\
0
if input is (ADD 1 SUB 2 MUL 2 3)
the code need a something to store what I input, declare a int or char X like " int x; cin>>x" to store ADD, but my question is I don't know the data I input order, how can I declare using right data type?