0_0_17676840_17097.cpp:1:1: error: 'include' does not name a type
include <stdio.h>
^
0_0_17676840_17097.cpp: In function 'int main()':
0_0_17676840_17097.cpp:6:34: error: 'scanf' was not declared in this scope
while(~scanf("%d/%d/%d",&y,&m,&d))
^
0_0_17676840_17097.cpp:8:13: error: 'date' was not declared in this scope
date(y,m,d);
^
0_0_17676840_17097.cpp: In function 'void date(int, int, int)':
0_0_17676840_17097.cpp:23:18: error: 'printf' was not declared in this scope
printf("%d\n",d);
^
|