progs/C2a.c
changeset 115 c4008b31df8e
parent 105 40c51038c9e4
child 211 e6e160c7ea33
equal deleted inserted replaced
114:3822d91a4639 115:c4008b31df8e
     1 // Since gets() is insecure and produces lots of warnings, 
     1 // Since gets() is insecure and produces lots 
     2 // I use my own input function instead.
     2 // of warnings, thereofre I use my own input 
       
     3 // function instead.
     3 char ch;
     4 char ch;
     4 int i;
     5 int i;
     5 
     6 
     6 void get_line(char *dst) {
     7 void get_line(char *dst) {
     7   char buffer[8];
     8   char buffer[8];