Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 imbibing at the Monastery: (9)
As of 2014-12-27 16:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls