一个C程序请帮助我 [英] a C program plz help me

查看:97
本文介绍了一个C程序请帮助我的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试过但没有任何结果T__T

这是程序,请帮助我,它真的很紧急.

编写一个C函数,该函数给出与指针关联的整数列表和整数A,删除所有值可被A整除的列表项.从条目列表中删除的项目必须形成一个新列表,以保持值在原始列表中的顺序(要执行此操作,从列表中删除的第一个元素应附加到结果列表中,而无需重新分配和重新分配内存) .指向该列表的指针应作为函数的结果返回.

i have try but without any result T__T

this is the program please help me it''s really urgent.

Write a C function that given a list of integers associated with pointers and an integer A, removes all list items whose value is divisible by A . Items removed from the list of entry must go to form a new list maintaining the order that the values were in the original list (to do this operation the first element removed from the list should be attached to the result list without deallocate and reallocate memory) . pointer to this list should be returned as the result of the function.

推荐答案

我们不为他们做家庭作业.但是,如果您有问题,请向我们显示您遇到问题的代码,您可能会得到答案.
We don''t do people''s homework assignments for them. However, if you have a problem, show us the code you''re having trouble with, and you just might get answers.


这篇关于一个C程序请帮助我的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆