If I have a input string like
rows: 3
I'd like to assign that "rows" to a particular string and "3" to a integer variable. how do I do it...
similar to python where I simply take
Code:val = int ( raw_input("Enter") )
If I have a input string like
rows: 3
I'd like to assign that "rows" to a particular string and "3" to a integer variable. how do I do it...
similar to python where I simply take
Code:val = int ( raw_input("Enter") )