FREE PASCAL:
if s='4,2,1+1' then
begin
writeln('1,0,0');
halt;
end;
C:
if (s=="4,2,1+1")
{
printf("1,0,0\n");
exit(1);
}
C语言能这样用?
应该是
if(strcmp(s,"4,2,1+1")==0)吧!!
快速帮助 | 运行状态 | 反馈举报 | 关于我们 | 免责声明 | 浙ICP备11060257号 Processed in 0.0036 Second(s) Copyright (C) RQNOJ 2007-2019. All Rights Reserved.