设为首页收藏本站

最大的系统仿真与系统优化公益交流社区

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3758|回复: 1

请教高手

[复制链接]
发表于 2008-4-21 11:07:07 | 显示全部楼层 |阅读模式
5仿真币
请教各位高手,我在C++脚本中编写的代码:
char buffer[50];
int received = clientreceive(clientNo,buffer,49,1);
总是出现错误:
unknown variable char;
parse error,expecting;

然后我在Global Variable中定义了char为string后错现错误:
parse error,expecting;
不知道为什么,请高手指点!

 楼主| 发表于 2008-4-21 11:08:35 | 显示全部楼层
我用的软件是英文版4.0的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|SimulWay 道于仿真   

GMT+8, 2024-5-1 05:56 , Processed in 0.011447 second(s), 11 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表