idtype => vttype, linesnumtype => edtype
i++ => ++i
main.c