I want to post some code but do not how to do it on this site?

Post it between [noparse]




[/noparse] tags (note: glsl is also a valid language for the highlight tag).

Just keep in mind, the more code you post, the less chance someone is going to wade through it to try to help.