Originally Posted by
Bokarinho
Thanks for your comments.
1. I will stop casting malloc, its a University habit a teacher always casting malloc in C, still does though i have told him why not.
2. The code i write is in a way very fast and typical, i want to help not to sell a 'perfect project' to someone.
3. About strlen that was something i never had in mind, thanks for the tip, i will use it.
4. Oh my god even the comments bother you??????
5. The else statement goes(it is no harm to use else statements in your code) to help my mind work better and never forget the previous code, but if there is wrong with that i will stop it too.
6. On closer look i mispeled your name i am curious how you couldnt see that too.......
7. I am not an advanced C programmer, i want to state that, i have some C knowledge i want to help other people solve their problems.
However, thanks for the comments i always learn from my mistakes.