文件名称:shiyan2

  • 所属分类:
  • 汇编语言
  • 资源属性:
  • [Windows] [Visual.Net] [源码]
  • 上传时间:
  • 2012-12-11
  • 文件大小:
  • 5.08mb
  • 下载次数:
  • 1次
  • 提 供 者:
  • 梁**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

求一元n次多项式的值



一个n次多项式如:



其中 被称为系数。在本题中使用LinkedList类,其数据记录项Term中包含每一项的系数

及x的幂次。

struct Term

{

  double coeff

  int power

}

在程序中以(系数、幂次)对的序列输入一个多项式。在输入的幂次为0时终止程序,将每对系数/幂次存储到按幂次排序的链表中。

(a)按以下形式输出结果多项式中的每一项

ai*x^i

(b)输入x的3个值并调用函数

double poly(LinkedList<Term>&f, double x)

求出多项式的值并输出结果。

-Seeking an n times n times the value of the polynomial polynomial such as: which is called the coefficient. In this problem, use the LinkedList class contains a coefficient and a power of x times in its data entry Term. struct Term {double coeff int power } Enter a polynomial (coefficient, power) sequence in the program. The input power of 0 to terminate the program, each pair of coefficients/power storage to power sorted linked list. (A) the following form output to each one of the polynomial AI* X ^ i (b) the input x 3 value and call the function of double poly (LinkedList <Term> & F, double x) obtained polynomial values ​ ​ and output results.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





project2\Debug\project2.exe

........\.....\project2.ilk

........\.....\project2.pdb

........\ipch\project2-24079fe6\project2-706ddc75.ipch

........\project2\Debug\CL.read.1.tlog

........\........\.....\CL.write.1.tlog

........\........\.....\link-cvtres.read.1.tlog

........\........\.....\link-cvtres.write.1.tlog

........\........\.....\link.2592-cvtres.read.1.tlog

........\........\.....\link.2592-cvtres.write.1.tlog

........\........\.....\link.2592.read.1.tlog

........\........\.....\link.2592.write.1.tlog

........\........\.....\link.4464-cvtres.read.1.tlog

........\........\.....\link.4464-cvtres.write.1.tlog

........\........\.....\link.4464.read.1.tlog

........\........\.....\link.4464.write.1.tlog

........\........\.....\link.560-cvtres.read.1.tlog

........\........\.....\link.560-cvtres.write.1.tlog

........\........\.....\link.560.read.1.tlog

........\........\.....\link.560.write.1.tlog

........\........\.....\link.7704-cvtres.read.1.tlog

........\........\.....\link.7704-cvtres.write.1.tlog

........\........\.....\link.7704.read.1.tlog

........\........\.....\link.7704.write.1.tlog

........\........\.....\link.read.1.tlog

........\........\.....\link.write.1.tlog

........\........\.....\mt.read.1.tlog

........\........\.....\mt.write.1.tlog

........\........\.....\project2.exe.embed.manifest

........\........\.....\project2.exe.embed.manifest.res

........\........\.....\project2.exe.intermediate.manifest

........\........\.....\project2.lastbuildstate

........\........\.....\project2.log

........\........\.....\project2_cpp1.obj

........\........\.....\project2_manifest.rc

........\........\.....\rc.read.1.tlog

........\........\.....\rc.write.1.tlog

........\........\.....\vc100.idb

........\........\.....\vc100.pdb

........\........\project2.vcxproj

........\........\project2.vcxproj.filters

........\........\project2.vcxproj.user

........\........\project2_cpp1.cpp

........\project2.sdf

........\project2.sln

........\project2.suo

........\ipch\project2-24079fe6

........\project2\Debug

........\Debug

........\ipch

........\project2

project2

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org