http://www.rafb.net/paste/results/fTQgRW16.html
Here's my program so far. This is what I'm trying to do:
http://contest-cemc.uwaterloo.ca/ccc...nior/phone.pdf
So far it works fine. The only problem is that I'm not sure how to
input data, s1, into the program. The second thing that I'm not sure
how to input the variable into the function.
The code:
strcpy(line, "88-SNOW-5555");
That's where the input will go. However, as you can see, I have five
inputs. I know that I should use a for loop or something for those, but
I don't know how I would incorporate it. Does anyone know? I know this
is relatively simple in java.
PS: I'm using an old borland compiler, so new methods in C++ won't
work, such as std::string, declaring a regular string, etc.
Thanks.