Umm...that's not C++ either, and I'm not sure that C++ would help you. Besides, you're cross-posting in two forums, getting the same advice from several people in both places, and refusing to listen to any of it. You're wasting our time and that of the nice people at doom9.org. Just learn to program, then tackle this problem. Come back when you're not going to ask C programmers on a C programming forum to analyze some Avisynth script you don't understand. You have along way to go brother, and they haven't invented teleporters yet, so you gotta take that road step by step. We'll always be here to help you along the way if you have valid C questions.