Language: C++

#include <iostream>
using namespace std;

int main()
{
   ??int a[10000];
    int count;
??   for (count = 0; count < 10000; count++) {
      ????int x;
   ????   cin >> x;
????      if (x == 0) break;
   ????   a[count] = x;
    }

??   for (int j = 0; j < count; j++) {
   ??    cout << "Case " << j+1 << ": " << a[j] << endl;
??   }
   ??return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:4: error: expected primary-expression before '?' token
    6 |    ??int a[10000];
      |    ^
a.cc:6:5: error: expected primary-expression before '?' token
    6 |    ??int a[10000];
      |     ^
a.cc:6:6: error: expected primary-expression before 'int'
    6 |    ??int a[10000];
      |      ^~~
a.cc:6:6: error: expected ':' before 'int'
    6 |    ??int a[10000];
      |      ^~~
      |      :
a.cc:6:6: error: expected primary-expression before 'int'
    6 |    ??int a[10000];
      |      ^~~
a.cc:6:6: error: expected ':' before 'int'
    6 |    ??int a[10000];
      |      ^~~
      |      :
a.cc:6:6: error: expected primary-expression before 'int'
    6 |    ??int a[10000];
      |      ^~~
a.cc:8:1: error: expected primary-expression before '?' token
    8 | ??   for (count = 0; count < 10000; count++) {
      | ^
a.cc:8:2: error: expected primary-expression before '?' token
    8 | ??   for (count = 0; count < 10000; count++) {
      |  ^
a.cc:8:6: error: expected primary-expression before 'for'
    8 | ??   for (count = 0; count < 10000; count++) {
      |      ^~~
a.cc:8:3: error: expected ':' before 'for'
    8 | ??   for (count = 0; count < 10000; count++) {
      |   ^  ~~~
      |   :
a.cc:8:6: error: expected primary-expression before 'for'
    8 | ??   for (count = 0; count < 10000; count++) {
      |      ^~~
a.cc:8:3: error: expected ':' before 'for'
    8 | ??   for (count = 0; count < 10000; count++) {
      |   ^  ~~~
      |   :
a.cc:8:6: error: expected primary-expression before 'for'
    8 | ??   for (count = 0; count < 10000; count++) {
      |      ^~~
a.cc:8:44: error: expected ';' before ')' token
    8 | ??   for (count = 0; count < 10000; count++) {
      |                                            ^
      |                                            ;
a.cc:15:1: error: expected primary-expression before '?' token
   15 | ??   for (int j = 0; j < count; j++) {
      | ^
a.cc:15:2: error: expected primary-expression before '?' token
   15 | ??   for (int j = 0; j < count; j++) {
      |  ^
a.cc:15:6: error: expected primary-expression before 'for'
   15 | ??   for (int j = 0; j < count; j++) {
      |      ^~~
a.cc:15:3: error: expected ':' before 'for'
   15 | ??   for (int j = 0; j < count; j++) {
      |   ^  ~~~
      |   :
a.cc:15:6: error: expected primary-expression before 'for'
   15 | ??   for (int j = 0; j < count; j++) {
      |      ^~~
a.cc:15:3: error: expected ':' before 'for'
   15 | ??   for (int j = 0; j < count; j++) {
      |   ^  ~~~
      |   :
a.cc:15:6: error: expected primary-expression before 'for'
   15 | ??   for (int j = 0; j < count; j++) {
      |      ^~~
a.cc:15:22: error: 'j' was not declared in this scope
   15 | ??   for (int j = 0; j < count; j++) {
      |                      ^
a.cc:18:4: error: expected primary-expression before '?' token
   18 |    ??return 0;
      |    ^
a.cc:18:5: error: expected primary-expression before '?' token
   18 |    ??return 0;
      |     ^
a.cc:18:6: error: expected primary-expression before 'return'
   18 |    ??return 0;
      |      ^~~~~~
a.cc:18:6: error: expected ':' before 'return'
   18 |    ??return 0;
      |      ^~~~~~
      |      :
a.cc:18:6: error: expected primary-expression before 'return'
   18 |    ??return 0;
      |      ^~~~~~
a.cc:18:6: error: expected ':' before 'return'
   18 |    ??return 0;
      |      ^~~~~~
      |      :
a.cc:18:6: error: expected primary-expression before 'return'
   18 |    ??return 0;
      |      ^~~~~~