Language: C++

#define _USE_MATH_DEFINES
#include<iostream>
#include<vector>
#include<algorithm>
#include<string>
#include<cmath>
#include<list>
#include<stack>
#include<queue>
#include<iomanip>
#include<functional>
using namespace std;
typedef long long llong;
double digrad(double dig) { return dig*M_PI / 180.0; }
int main() {
	double d, a,q=90;
	double x = 0, y = 0;
	char f;

	double rad=M_PI*q/180;
	while (true) {
		cin >> d >> f >> a;
		if (d == 0 && a == 0)break;
		x += d*cos(digrad(q));
		y += d*sin(digrad(q));
	????????????//cout << "x: " << x << "  y: " << y << endl;
		q -= a;
	}
	x = (int)x;
	y = (int)y;
	cout << x << endl << y << endl;

	return 0;
}

Compiler output:
a.cc:26:19: warning: trigraph ??/ ignored, use -trigraphs to enable [-Wtrigraphs]
   26 |         ????????????//cout << "x: " << x << "  y: " << y << endl;
a.cc: In function 'int main()':
a.cc:26:9: error: expected primary-expression before '?' token
   26 |         ????????????//cout << "x: " << x << "  y: " << y << endl;
      |         ^
a.cc:26:10: error: expected primary-expression before '?' token
   26 |         ????????????//cout << "x: " << x << "  y: " << y << endl;
      |          ^
a.cc:26:11: error: expected primary-expression before '?' token
   26 |         ????????????//cout << "x: " << x << "  y: " << y << endl;
      |           ^
a.cc:26:12: error: expected primary-expression before '?' token
   26 |         ????????????//cout << "x: " << x << "  y: " << y << endl;
      |            ^
a.cc:26:13: error: expected primary-expression before '?' token
   26 |         ????????????//cout << "x: " << x << "  y: " << y << endl;
      |             ^
a.cc:26:14: error: expected primary-expression before '?' token
   26 |         ????????????//cout << "x: " << x << "  y: " << y << endl;
      |              ^
a.cc:26:15: error: expected primary-expression before '?' token
   26 |         ????????????//cout << "x: " << x << "  y: " << y << endl;
      |               ^
a.cc:26:16: error: expected primary-expression before '?' token
   26 |         ????????????//cout << "x: " << x << "  y: " << y << endl;
      |                ^
a.cc:26:17: error: expected primary-expression before '?' token
   26 |         ????????????//cout << "x: " << x << "  y: " << y << endl;
      |                 ^
a.cc:26:18: error: expected primary-expression before '?' token
   26 |         ????????????//cout << "x: " << x << "  y: " << y << endl;
      |                  ^
a.cc:26:19: error: expected primary-expression before '?' token
   26 |         ????????????//cout << "x: " << x << "  y: " << y << endl;
      |                   ^
a.cc:26:20: error: expected primary-expression before '?' token
   26 |         ????????????//cout << "x: " << x << "  y: " << y << endl;
      |                    ^
a.cc:27:23: error: expected ':' before ';' token
   27 |                 q -= a;
      |                       ^
      |                       :
a.cc:27:23: error: expected primary-expression before ';' token
a.cc:27:23: error: expected ':' before ';' token
   27 |                 q -= a;
      |                       ^
      |                       :
a.cc:27:23: error: expected primary-expression before ';' token
a.cc:27:23: error: expected ':' before ';' token
   27 |                 q -= a;
      |                       ^
      |                       :
a.cc:27:23: error: expected primary-expression before ';' token
a.cc:27:23: error: expected ':' before ';' token
   27 |                 q -= a;
      |                       ^
      |                       :
a.cc:27:23: error: expected primary-expression before ';' token
a.cc:27:23: error: expected ':' before ';' token
   27 |                 q -= a;
      |                       ^
      |                       :
a.cc:27:23: error: expected primary-expression before ';' token
a.cc:27:23: error: expected ':' before ';' token
   27 |                 q -= a;
      |                       ^
      |                       :
a.cc:27:23: error: expected primary-expression before ';' token
a.cc:27:23: error: expected ':' before ';' token
   27 |                 q -= a;
      |                       ^
      |                       :
a.cc:27:23: error: expected primary-expression before ';' token
a.cc:27:23: error: expected ':' before ';' token
   27 |                 q -= a;
      |                       ^
      |                       :
a.cc:27:23: error: expected primary-expression before ';' token
a.cc:27:23: error: expected ':' before ';' token
   27 |                 q -= a;
      |                       ^
      |                       :
a.cc:27:23: error: expected primary-expression before ';' token
a.cc:27:23: error: expected ':' before ';' token
   27 |                 q -= a;
      |                       ^
      |                       :
a.cc:27:23: error: expected primary-expression before ';' token
a.cc:27:23: error: expected ':' before ';' token
   27 |                 q -= a;
      |                       ^
      |                       :
a.cc:27:23: error: expected primary-expression before ';' token
a.cc:27:23: error: expected ':' before ';' token
   27 |                 q -= a;
      |                       ^
      |                       :
a.cc:27:23: error: expected primary-expression before ';' token