Language: C++

a[11],b[11],C,f;main(){for(;~scanf("%s",f++?b:a);)strstr(strcat(strdup(b),b),a)&&C++;C=!printf("%d\n",C);}

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a[11],b[11],C,f;main(){for(;~scanf("%s",f++?b:a);)strstr(strcat(strdup(b),b),a)&&C++;C=!printf("%d\n",C);}
      | ^
a.cc:1:17: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    1 | a[11],b[11],C,f;main(){for(;~scanf("%s",f++?b:a);)strstr(strcat(strdup(b),b),a)&&C++;C=!printf("%d\n",C);}
      |                 ^~~~
a.cc: In function 'int main()':
a.cc:1:41: error: 'f' was not declared in this scope
    1 | a[11],b[11],C,f;main(){for(;~scanf("%s",f++?b:a);)strstr(strcat(strdup(b),b),a)&&C++;C=!printf("%d\n",C);}
      |                                         ^
a.cc:1:45: error: 'b' was not declared in this scope
    1 | a[11],b[11],C,f;main(){for(;~scanf("%s",f++?b:a);)strstr(strcat(strdup(b),b),a)&&C++;C=!printf("%d\n",C);}
      |                                             ^
a.cc:1:47: error: 'a' was not declared in this scope
    1 | a[11],b[11],C,f;main(){for(;~scanf("%s",f++?b:a);)strstr(strcat(strdup(b),b),a)&&C++;C=!printf("%d\n",C);}
      |                                               ^
a.cc:1:30: error: 'scanf' was not declared in this scope
    1 | a[11],b[11],C,f;main(){for(;~scanf("%s",f++?b:a);)strstr(strcat(strdup(b),b),a)&&C++;C=!printf("%d\n",C);}
      |                              ^~~~~
a.cc:1:65: error: 'strdup' was not declared in this scope
    1 | a[11],b[11],C,f;main(){for(;~scanf("%s",f++?b:a);)strstr(strcat(strdup(b),b),a)&&C++;C=!printf("%d\n",C);}
      |                                                                 ^~~~~~
a.cc:1:58: error: 'strcat' was not declared in this scope
    1 | a[11],b[11],C,f;main(){for(;~scanf("%s",f++?b:a);)strstr(strcat(strdup(b),b),a)&&C++;C=!printf("%d\n",C);}
      |                                                          ^~~~~~
a.cc:1:1: note: 'strcat' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
  +++ |+#include <cstring>
    1 | a[11],b[11],C,f;main(){for(;~scanf("%s",f++?b:a);)strstr(strcat(strdup(b),b),a)&&C++;C=!printf("%d\n",C);}
a.cc:1:51: error: 'strstr' was not declared in this scope
    1 | a[11],b[11],C,f;main(){for(;~scanf("%s",f++?b:a);)strstr(strcat(strdup(b),b),a)&&C++;C=!printf("%d\n",C);}
      |                                                   ^~~~~~
a.cc:1:51: note: 'strstr' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
a.cc:1:82: error: 'C' was not declared in this scope
    1 | a[11],b[11],C,f;main(){for(;~scanf("%s",f++?b:a);)strstr(strcat(strdup(b),b),a)&&C++;C=!printf("%d\n",C);}
      |                                                                                  ^
a.cc:1:86: error: 'C' was not declared in this scope
    1 | a[11],b[11],C,f;main(){for(;~scanf("%s",f++?b:a);)strstr(strcat(strdup(b),b),a)&&C++;C=!printf("%d\n",C);}
      |                                                                                      ^
a.cc:1:89: error: 'printf' was not declared in this scope
    1 | a[11],b[11],C,f;main(){for(;~scanf("%s",f++?b:a);)strstr(strcat(strdup(b),b),a)&&C++;C=!printf("%d\n",C);}
      |                                                                                         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | a[11],b[11],C,f;main(){for(;~scanf("%s",f++?b:a);)strstr(strcat(strdup(b),b),a)&&C++;C=!printf("%d\n",C);}