C/C++
文章平均质量分 72
NYCode
这个作者很懒,什么都没留下…
展开
-
牛顿迭代公式求根式
#include using namespace std; ////////////////////////////// /////// 变量 //////// //xn 第N项x的值 //k_xn x=xn时的导数值 //fxn x=xn时的函数值 //xn1 利用牛顿迭代公式计算所得的第n+1项的x值 ////////////////////////////原创 2013-05-05 16:12:03 · 1121 阅读 · 0 评论 -
C++面向对象编程实例——实现学生信息的添加与查询
// ZhengTest.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include using namespace std; /*学生信息类*/ class stud_info { private: string m_strName;//学生姓名 string m_strCode;//学生编号 string m_st原创 2013-05-06 09:09:34 · 2580 阅读 · 1 评论