If you post an example of what you are talking about in C, I could probably help.

Please put the following tags around your C code: [code] [/code]