添加设备void addDeviceDevice device int count printf请输入设备名称 ; scanfs devicecountname; char name20; strcpynamedevicecountname; forint i=0;icount;i++ if strcmpname deviceiname == 0 printf已有该名字设备
入口参数:Device device[],int *count 出口参数:无
AI 优化版
原文地址:https://www.cveoy.top/t/topic/hS02 著作权归作者所有。请勿转载和采集!