View Full Version : Programming: Need some help


Afrinux
4th January 2006, 05:40
I want to create a program that can make an *.ifo file.
For example: video_ts.ifo file.
First we have the _mat table, followed by the tt_pointers table, pgcitables, ...
I would like to know a good way to program it. Should I used linked lists?
If I have to use linked lists, can someone please give me a good website with linked lists' resources, so I can learn it.
A good sample program would be a great help.
Thanks in advance.
P.S. I use C++ language for coding, and I have C programming basic knowlegde.

Afrinux
5th January 2006, 09:21
Here is what I want to do:
http://img216.imageshack.us/img216/364/datastruct6oz.jpg

1. Create DATA_INFO
typedef struct{
...
}DATA_INFO; will do, I guess
2. Create DATA_SRP
typedef struct{
..
}DATA_SRP;
The number of DATA_SRP is variable from 1 to k

3. CREATE DATA
typedef struct{
...
}DATA;
The number of DATA is variable from 1 to m

4. Get DATA_INFO, all the DATA_SRP and all the DATA and put at the
address as shown in the image.

I am stuck at 2, 3 and 4. Can someone give me a little advice or hint.
Thanks for helping.
Afrinux