Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Convert Non-standard C struct data to standard C struct

by LanX (Canon)
on Apr 28, 2013 at 15:55 UTC ( #1031091=note: print w/ replies, xml ) Need Help??


in reply to Change the data to have the format which is like a C struct.

I'm not a C-programmer...

... but if this syntax is based on indentation, then you should keep track of the leading whitespace.

Push a closing delimiter like '}' to a @stack for each step forward, and pop it after each step backwards.

BTW: you asked this already didn't you?

Cheers Rolf

( addicted to the Perl Programming Language)


Comment on Re: Convert Non-standard C struct data to standard C struct
Re^2: Convert Non-standard C struct data to standard C struct
by dwslovedh (Novice) on Apr 29, 2013 at 01:44 UTC
    No, I have not asked this~

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031091]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (14)
As of 2015-07-07 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls