alright, i know this is an extraordinarily n00bish question, but as a noob, i'm having trouble figuring this out.
so, imagine the input to a program is something like
"a5 to b4"
i need to take this from input, and split "a5" and "b4" into two seperate strings. i'm having trouble figuring out how to get it from input, how to seperate it, and how to put it into other strings.
any help would be great. Thanks.
by the way, i really don't get cin.getline(). i've only used it once, instead of cin >>, and the enter button had no effect. enlightenment on how cin.getline actually works would also be spectacular.