| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 3273 人关注过本帖
标题:[转载]学生信息管理系统(C结构体系),供学习~
只看楼主 加入收藏
C语言的深度
Rank: 16Rank: 16Rank: 16Rank: 16
来 自:卡特的怀抱
等 级:版主
威 望:1
帖 子:9577
专家分:19
注 册:2007-10-22
收藏
得分:0 

汗``


用代码打出楼房...用编程编出幸福...
2007-11-03 22:18
天人和一
Rank: 1
等 级:新手上路
帖 子:137
专家分:0
注 册:2007-10-11
收藏
得分:0 

1 for(;i<count;i++)
{
p_student->student=p_student[i+1]->student;
}


2 for(;i<count;i++)
{
p_student->student1=p_student[i+1]->student1;
}
--count; //成绩减1

--------------------Configuration: studentxitong - Win32 Debug--------------------
Compiling...
com.c
f:\c++workspace\student\studentxitong\com.c(327) : error C2232: '->student' : left operand has 'struct' type, use '.'
f:\c++workspace\student\studentxitong\com.c(1584) : error C2232: '->student1' : left operand has 'struct' type, use '.'
Error executing cl.exe.

studentxitong.exe - 2 error(s), 0 warning(s)


这两地方不会改了,不知道怎么改啊!!

2007-11-04 12:13
天人和一
Rank: 1
等 级:新手上路
帖 子:137
专家分:0
注 册:2007-10-11
收藏
得分:0 

改了一下不报那了
p_student->student=p_student[i+1].student;
不过有说:


Linking...
main.obj : error LNK2005: _filename1 already defined in com.obj
main.obj : error LNK2005: _filename already defined in com.obj
main.obj : error LNK2005: _sorcfile already defined in com.obj
main.obj : error LNK2005: _infofile already defined in com.obj
showmeun.obj : error LNK2005: _filename1 already defined in com.obj
showmeun.obj : error LNK2005: _filename already defined in com.obj
showmeun.obj : error LNK2005: _sorcfile already defined in com.obj
showmeun.obj : error LNK2005: _infofile already defined in com.obj
com.obj : error LNK2001: unresolved external symbol _submeun
Debug/studentxitong.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

studentxitong.exe - 10 error(s), 0 warning(s)



图片附件: 游客没有浏览图片的权限,请 登录注册

2007-11-04 12:31
yxwsbobo
Rank: 5Rank: 5
等 级:职业侠客
帖 子:345
专家分:306
注 册:2007-10-29
收藏
得分:0 
好复杂 辛苦了!

How are you 怎么是你?
How old are you   怎么老是你?
2007-11-04 12:48
jialong
Rank: 1
等 级:新手上路
帖 子:16
专家分:0
注 册:2007-9-4
收藏
得分:0 
看不太明白,太多了

2008-10-15 20:43
milkbo
Rank: 1
等 级:新手上路
帖 子:10
专家分:0
注 册:2008-10-11
收藏
得分:0 
2008-10-19 15:38
wasd11223312
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2009-10-24
收藏
得分:0 
谢谢!
2009-10-24 10:36
现实太狗
Rank: 1
等 级:新手上路
帖 子:46
专家分:0
注 册:2013-12-1
收藏
得分:0 
好帅的感觉啊!!你能不能只写一份删除的啊!!要有文件和结构体,不要太深奥了我还是个菜鸟,课程总结在删除上卡住了
2013-12-25 23:06
快速回复:[转载]学生信息管理系统(C结构体系),供学习~
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.035601 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved