我的程序哪里错了,为什么会出现 debug Assertion Failed? 请各位大侠帮忙看一下,谢谢!

[复制链接]
查看11 | 回复1 | 2011-3-8 17:08:11 | 显示全部楼层 |阅读模式
首先这个题目没有你写的这样麻烦,其次是你的指针用的不好!指错地方啦!指针用不好就避免去使用它,经过多看书多看程序后再使用!我给你改 了下,希望你能满意!#include#includeintmain(void){ void int_insert(int * ,int ); int a; int str[5]={1,3,5,7,9}; printf("please input the integer to be inserted:\n"); scanf("%d",&a); int_insert(str,a); return 0;}void int...
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行