I\'m writing a C program in class that requires us to input dates as integers in a structure defined as:
typedef struct date{ int month; int day;
scanf("%d/%d/%d",&d,&m,&y);
Is probably what you are looking for. This will ignore the / in the input