string parsing

closed account (2hCSLyTq)
Hi I need a help in reading a specific input syntax.
something like

<Input> :: R C <Content>

3
3

.3. .15 9.2
.1. ..6 ...
6.5 7.. ...

... .5. ..9
4.7 .8. 1.6
9.. .6. ...

... ..1 7.4
... 6.. .9.
5.1 49. .3.

any help will be highly appreciated.

Thanks.
¿what?
if you can write a regex to match the string, you can use std::regex described in C++ 11.

I have a litte wrapper around it if you are interested.

See http://en.wikipedia.org/wiki/Regular_expression or

http://www.cplusplus.com/reference/regex/regex/?kw=regex for info.
Last edited on
Topic archived. No new replies allowed.