摘要:        
利用字符串流类可实现字符串转换为其他类型,采用字符串流类可以很容易的把各种类型的字符串(不管是c类型还是string类型)转换为单精度,双精度。使用字符串流类,需要包含头文件#include,对于istringstream提供读字符串的功能,ostringstream提供写字符串的功能,str...    阅读全文
posted @ 2016-04-30 16:16
硫酸亚铜
阅读(284)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include#include //STL链表 usingnamespace std; int maxdigit(int data[], intn) //判断最大的数的位数{ intd = 1; intp = 10; for(int i = 0; i ...    阅读全文
posted @ 2016-04-30 15:51
硫酸亚铜
阅读(228)
评论(0)
推荐(0)
        
            
        
        
摘要:        
QueueLi.h头文件源代码:#ifndef_QUEUELI_H_#define_QUEUELI_H_ templateclassQueue{public: Queue(); //构造函数 ~Queue(); //析构函数 boolIsEmpty()const...    阅读全文
posted @ 2016-04-30 00:02
硫酸亚铜
阅读(162)
评论(0)
推荐(0)
        
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号