搜索资源列表
简单的四则运算题
- 编程序,循环进行如下的处理过程:由计算机生成简单的四则运算题;用户给出答案;计算机判断对错。直到用户回答说不再继续做了时结束程序。 提示:可让用户选择指定出加、减、乘、除哪一种运算题,以及出一位数还是两位数的运算题;而后通过使用“rand()%10”或“rand()%100”来获得一个0到9的一位整数随机值或得到0到99的两位整数随机值来为用户出题。还可进一步对用户所做算术题的对错次数进行记录,结束程序时给出一个某种形式的成绩。 ,Programmed, recycling process
hugeInt
- 一个练习时写的hugeInt,简单实用 给学习的人做参考,exception没有做太多考虑-Written by a practicing hugeInt, simple and practical。Exceptions are not considered fulluy.
quadraticCal
- 读取文本中的一元二次方程,并输出到目标文本其计算结果。完善出错机制-read quadratic equations from text file.And output the results to another text file. It updated the Exception throwing function.
finite
- 测量中点云六参数法求参数近似值矩阵,检核点的拟合高程异常,检合点的高程异常与其拟合值之差以及拟合精度。-The six-parameter method to calculate the parameter matrix approximation, the fitting of the check point elevation is abnormal, check the elevation of the chalazal exception with its fitted value of
prol_1
- 在C++中实现两个数的加,减,乘,除及比大小-Two numbers in C++, plus, minus, multiply, with the exception than the size of
matrix
- 实现了矩阵中的各种操作, 包括矩阵相加,相减,矩阵乘法,矩阵转秩,余子式,求行列式的值,求矩阵特征值,LU 分解,QR 分解,求现行方程组的解等等。 是任何做科学计算工作者必备的类库。 此类库也是C++初学者极好的参考资料。类库的实现运用了运算符重载,友元,异常处理,文件输入输出,函数重载,指针,动态分配内存等一系列C++技术。-Matrix in a variety of operations, including matrix addition, subtraction,
test
- 判断输入的一个整数是否为素数,要求必须加上异常处理-Determines whether the input whether an integer is a prime number, the requirements must be coupled to exception handling,
print_format
- 各种int型的输出说明符的详细展示,避免因为格式说明符造成输出结果的异常-Int type the output specifier show, avoid caused the exception of the output format specifiers
primer
- 一个小的代码:// stack堆栈中保留两个数据(皇后所在的行和列),总共有八个皇后 // 住要特别注意入栈和出栈的顺序。 最后输出计算的结果。-The eight queens puzzle is the problem of placing eight chess queens on an 8×8 chessboard so that no two queens threaten each other. Thus, a solution requires that no