Some C-code
UTI.C /* ** Naam sourcefile : uti.c ** Versie : 1.00 ** Datum : 5 februari 2001 ** Beschrijving : Implementatie van hulpfuncties */ #include <stdio.h> #include <string.h> #include <stdarg.h> #include <ctype.h> #include "globals.h" /* Naam : IntToString() ** Doel : - converteer een intwaarde naar characters ** Invoer : - int,String ** Return : - String ** Datum : 12 maart 2000 */ void IntToString( int n , char s[] ) { int c,i,j, sign; if ((sign = n) < 0) n = -n; i = 0; do { s[i++] =n % 10 + '0'; } while ((n /= 10) > 0); if (sign <0) s[i++] = '-'; s[i]='\0'; for ( i = 0,j = strlen(s)-1; i<j ; i++, j--) { c=s[i]; s[i]=s[j]; s[j]=c; } } /* IntToStr...