text format question
i'm sorry, i'm really stupid with these things. i was messing with condition-zero mission files. they use a text format like that Quote:
i was wondering if it's a standard notation, and if there's some 'reader component' as so to make things easier... :) |
Re: text format question
You can do quite a bit of cheap string hacks to read something like that.
For example, at some point in time I needed to parse something like "variable/value". What I did was do strstr with the "/" character and if it was found I set the character to a null terminator. So now original_string is the variable and slash_character + 1 is the value. Or atleast thats how I remember it. |
All times are GMT +2. The time now is 10:34. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.