|
-
Nov 2nd, 2017, 09:56 AM
#1
Thread Starter
New Member
[RESOLVED] Multidimension Structure array? Multidimension Array List? HELP
I am looking for direction here. I have a file that could have 500 lines to 10000+ lines of data. Its structured like C# (Example below). I need to know how I can find the first line that is the name of the function then the opening bracket to the closed bracket. It can have multiple opening and closing brackets in the middle of the first one and inside of those, I need that data loaded into an array. I have built structure arrays in the past but I think I need a different array… List of T? I will have to size the arrays differently while reading the function. I have an example below of how I need to structure the data. I need something that can sort and be read quickly.
Function Name
UserName=”” time=””/* date */
{
Param1=””
Param2=””
}
Definition Name=”” Cat=””
UserName=”” time=””/* date */
{
Desc=””
FBD1=””
{
Param1=””
Param2=””
}
FBD2=””
{
Param1=””
Param2=””
Param2=””
}
EXP1 Name=””
}
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|