Parsing.

Hello,

I want to use oop and STL etc to parse a buffer.

My Buffer contains

ABCDXXXX333$$$$YYYY

I need to seperate ABCS XXXX 333 $$$$ YYY and movethem to struct. I have their offset defined in one of the rule table and how many elements are in the buffer, few of the fields are delimited also.

Any suggestions what STL features I can use.

Any sample code will work, I will build on top of it.

I will be using this AIX (Unix) Box.

Thanks in advance.

Last edited on
I know that wxWidgets version of <string> has .Net like methods (one useful here would be SubString or something similar). That is, if you are doing a GUI app. If you are going console/UIless, boost has a good string implementation as well.
Topic archived. No new replies allowed.