0_0_17562779_21384.cpp:6:5: error: stray '\' in program
while(scanf(\"%s\",str)!=EOF)
^
0_0_17562779_21384.cpp:6:5: error: missing terminating " character
0_0_17562779_21384.cpp:9:9: error: stray '\' in program
printf(\"300 420 moveto\\n310 420 lineto\\n\");
^
0_0_17562779_21384.cpp:9:9: error: missing terminating " character
0_0_17562779_21384.cpp:10:9: error: stray '\' in program
for(i=0;str[i]!=\'\\0\';i++)
^
0_0_17562779_21384.cpp:10:9: error: missing terminating ' character
0_0_17562779_21384.cpp:12:13: error: stray '\' in program
if(x>fx&&str[i]==\'V\')
^
0_0_17562779_21384.cpp:12:13: error: missing terminating ' character
0_0_17562779_21384.cpp:13:13: error: stray '\' in program
{fx=x;fy=y;y+=10; printf(\"%d %d lineto\\n\",x,y);
^
0_0_17562779_21384.cpp:13:13: error: missing terminating " character
0_0_17562779_21384.cpp:15:13: error: stray '\' in program
if(x>fx&&str[i]==\'A\')
^
0_0_17562779_21384.cpp:15:13: error: missing terminating ' character
0_0_17562779_21384.cpp:16:13: error: stray '\' in program
{fx=x;fy=y;y-=10; printf(\"%d %d lineto\\n\",x,y);
^
0_0_17562779_21384.cpp:16:13: error: missing terminating " character
0_0_17562779_21384.cpp:18:13: error: stray '\' in program
if(y>fy&&str[i]==\'V\')
^
0_0_17562779_21384.cpp:18:13: error: missing terminating ' character
0_0_17562779_21384.cpp:19:13: error: stray '\' in program
{fx=x;fy=y;x-=10; printf(\"%d %d lineto\\n\",x,y);
^
0_0_17562779_21384.cpp:19:13: error: missing terminating " character
0_0_17562779_21384.cpp:21:13: error: stray '\' in program
if(y>fy&&str[i]==\'A\')
^
0_0_17562779_21384.cpp:21:13: error: missing terminating ' character
0_0_17562779_21384.cpp:22:13: error: stray '\' in program
{fx=x;fy=y;x+=10; printf(\"%d %d lineto\\n\",x,y);
^
0_0_17562779_21384.cpp:22:13: error: missing terminating " character
0_0_17562779_21384.cpp:24:13: error: stray '\' in program
if(y<fy&&str[i]==\'V\')
^
0_0_17562779_21384.cpp:24:13: error: missing terminating ' character
0_0_17562779_21384.cpp:25:13: error: stray '\' in program
{fx=x;fy=y;x+=10; printf(\"%d %d lineto\\n\",x,y);
^
0_0_17562779_21384.cpp:25:13: error: missing terminating " character
0_0_17562779_21384.cpp:27:13: error: stray '\' in program
if(y<fy&&str[i]==\'A\')
^
0_0_17562779_21384.cpp:27:13: error: missing terminating ' character
0_0_17562779_21384.cpp:28:13: error: stray '\' in program
{fx=x;fy=y;x-=10; printf(\"%d %d lineto\\n\",x,y);
^
0_0_17562779_21384.cpp:28:13: error: missing terminating " character
0_0_17562779_21384.cpp:30:13: error: stray '\' in program
if(x<fx&&str[i]==\'V\')
^
0_0_17562779_21384.cpp:30:13: error: missing terminating ' character
0_0_17562779_21384.cpp:31:13: error: stray '\' in program
{fx=x;fy=y;y-=10; printf(\"%d %d lineto\\n\",x,y);
^
0_0_17562779_21384.cpp:31:13: error: missing terminating " character
0_0_17562779_21384.cpp:33:13: error: stray '\' in program
if(x<fx&&str[i]==\'A\')
^
0_0_17562779_21384.cpp:33:13: error: missing terminating ' character
0_0_17562779_21384.cpp:34:13: error: stray '\' in program
{fx=x;fy=y;y+=10; printf(\"%d %d lineto\\n\",x,y);
^
0_0_17562779_21384.cpp:34:13: error: missing terminating " character
0_0_17562779_21384.cpp:39:9: error: stray '\' in program
printf(\"stroke\\nshowpage\\n\");
^
0_0_17562779_21384.cpp:39:9: error: missing terminating " character
0_0_17562779_21384.cpp: In function 'int main()':
0_0_17562779_21384.cpp:8:15: error: expected '}' before ';' token
fx=300;fy=420;x=310;y=420;
^
0_0_17562779_21384.cpp:8:15: error: expected ')' before ';' token
0_0_17562779_21384.cpp:8:15: error: expected ')' before ';' token
0_0_17562779_21384.cpp:10:9: error: expected primary-expression before 'for'
for(i=0;str[i]!=\'\\0\';i++)
^
0_0_17562779_21384.cpp:11:9: error: expected primary-expression before '{' token
{
^
0_0_17562779_21384.cpp:40:5: error: expected primary-expression before '}' token
}
^
0_0_17562779_21384.cpp: At global scope:
0_0_17562779_21384.cpp:41:5: error: expected unqualified-id before 'return'
return 0;
^
0_0_17562779_21384.cpp:42:1: error: expected declaration before '}' token
}
^
|