文件名称:VarianceCalc
-
所属分类:
- 标签属性:
- 上传时间:2014-07-02
-
文件大小:14.8kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
方差计算器软件以及C++源代码,源码添加了注释,自认为已经很详细,但是有关于数据结构的部分我可以算没有添加任何注释了,因为数据结构这个东西我不认为添加一点注释是能够理解的。
用VC6编写,Win32 Application程序,源码均由个人完成。实现大致思路:
定义一个字符串,用于存储输入的数据,提取第一个字符到 mbi,如果其中有一个字符不是为数字、小数点、负号,将终止循环,那么mbi的值将不会是 \0 ,如果负号出现在除位置1以前的其它位置,或者小数点的个数已经超过1,那么将终止循环,如果这是一个小数点,那么将0赋值给num,可以防止在用户输入小数点后没有输入数据但检测不到错误的情况,重新给mbi赋值 如果此时已经是next字符串的最后一个字符,那么赋值之后mbi的值便是 \0 -Variance calculator software and C++ source code, source code to add a note, since that is already very detailed, but there on the part of the data structure that I can count did not add any comments, because the data structure of this thing, I do not think that adding a little note to be able to understand the.
Written by VC6, Win32 Application procedures source completed by the individual. Achieve general idea:
Define a string input for data storage, extract the first character to mbi, if there was a character not as a number, decimal point, minus sign, will terminate the loop, then the value will not be mbi \ 0 If a negative number in addition to a previous position elsewhere, or decimal number has more than one, then the cycle will be terminated if it is a decimal point, then 0 is assigned to num, can prevent the user input is not entered after the decimal point data but does not detect the error, re-assignment to mbi next if this time is the last character of the string, the
用VC6编写,Win32 Application程序,源码均由个人完成。实现大致思路:
定义一个字符串,用于存储输入的数据,提取第一个字符到 mbi,如果其中有一个字符不是为数字、小数点、负号,将终止循环,那么mbi的值将不会是 \0 ,如果负号出现在除位置1以前的其它位置,或者小数点的个数已经超过1,那么将终止循环,如果这是一个小数点,那么将0赋值给num,可以防止在用户输入小数点后没有输入数据但检测不到错误的情况,重新给mbi赋值 如果此时已经是next字符串的最后一个字符,那么赋值之后mbi的值便是 \0 -Variance calculator software and C++ source code, source code to add a note, since that is already very detailed, but there on the part of the data structure that I can count did not add any comments, because the data structure of this thing, I do not think that adding a little note to be able to understand the.
Written by VC6, Win32 Application procedures source completed by the individual. Achieve general idea:
Define a string input for data storage, extract the first character to mbi, if there was a character not as a number, decimal point, minus sign, will terminate the loop, then the value will not be mbi \ 0 If a negative number in addition to a previous position elsewhere, or decimal number has more than one, then the cycle will be terminated if it is a decimal point, then 0 is assigned to num, can prevent the user input is not entered after the decimal point data but does not detect the error, re-assignment to mbi next if this time is the last character of the string, the
(系统自动生成,下载前可以参看下载内容)
下载文件列表
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/109.ico
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/button.cpp
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/List.cpp
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/msg.cpp
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/resource.h
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/Resource.rc
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/VarianceCalc.dsp
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/VarianceCalc.dsw
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/VarianceCalc.h
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/WinMain.cpp
VarianceCalc/VarianceCalc Source V1.0/说明.txt
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc
VarianceCalc/VarianceCalc Source V1.0
VarianceCalc
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/button.cpp
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/List.cpp
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/msg.cpp
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/resource.h
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/Resource.rc
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/VarianceCalc.dsp
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/VarianceCalc.dsw
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/VarianceCalc.h
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc/WinMain.cpp
VarianceCalc/VarianceCalc Source V1.0/说明.txt
VarianceCalc/VarianceCalc Source V1.0/VarianceCalc
VarianceCalc/VarianceCalc Source V1.0
VarianceCalc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.