Hi
This weekend I felt I wanted to get back to my roots. No mfc or windows. no fancy graphics, so I wrote a strict C program handling the inventory on a car spare part store. You know one of those homework tasks with a doubly linked list and pointers twidling. Anyway I realised how fast I forgete things.
There are some input functions(getchar() fgets().,,,etc) that aren't looked upon as safe. What input functions should I stay away from?.Any other standard functions that are dangerous or bad practice to use. What is your favorit function to hate?
After a while the file get pretty big, When do you guys split the file? 500 lines, 1000lines, 2000lines,???
Thanks