Wordpad Application designed in C