找回密码
 注册
LabVIEW+单片机学习套件全套教程资料下载[免费]LabVIEW论坛精华列表贴USB0816数据采集卡《LabVIEW宝典》
LabWindows/CVI论坛精华贴NET0816以太网数据采集卡RC0210远程设备授权系统 关闭关停锁定打开设备 户外分布式数据采集
NET1624低速高精度以太网数据采集卡WIFI0824SD无线WIFI网络数据采集卡脱机运行 SD存储 小尺寸微型 串口采集远程采集 安卓 手持移动采集 纪录仪
查看: 2060|回复: 4

请教高手,labwindows中的这程序怎么这么出错,

[复制链接]
发表于 2005-8-19 06:51:58 | 显示全部楼层 |阅读模式
<>void  CycleEnd(int Oven)

{ char ch[12]="Component";
EndOfCycle[Oven]=1;
int iStreamNumber=0;  (1)
char cStreamCmp[17];} (2)</P>
<>(1)这句编译后1  Illegal statement termination. Undeclared identifier 'iStreamNumber'.
(2)   Illegal statement termination.     Illegal statement termination.</P>
<>Illegal statement termination</P>
<P>其中的int EndOfCycle[2]={1,1};</P>
<P>   .
</P>
<P>
</P>
发表于 2005-8-20 03:39:19 | 显示全部楼层
<>变量声明之后才能进行赋值之类的操作吧</P><>试试把EndOfCycle[Oven]=1;这句放到(1),(2)之后</P><>void  CycleEnd(int Oven)

{ char ch[12]="Component";
int iStreamNumber=0;  
char cStreamCmp[17];</P><P>EndOfCycle[Oven]=1;</P><P>}</P><P>看看这样行不
</P>
回复 顶

使用道具 举报

发表于 2005-8-24 23:33:02 | 显示全部楼层
回复 顶

使用道具 举报

发表于 2005-9-11 06:22:23 | 显示全部楼层
<>同意二楼的看法</P><>
</P>
回复 顶

使用道具 举报

yangjianye 该用户已被删除
发表于 2005-11-9 22:38:38 | 显示全部楼层
回复 顶

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cpubbs论坛. ( 粤ICP备09171248号 )

GMT+8, 2026-9-28 03:55 , Processed in 0.031464 second(s), 9 queries , Gzip On, File On.

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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