
C++
小黄人的banana
码农,敲代码中
展开
-
c++之TinyXml使用与应用,包含简单的例子
TinyXml使用与简单例子应用(C++语言),xml文件读取,c++原创 2016-08-31 15:07:15 · 2904 阅读 · 1 评论 -
[leetcode]187. Repeated DNA Sequences
题目:All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: “ACGAATTCCG”. When studying DNA, it is sometimes useful to identify repeated sequences within the DNA.Write原创 2017-02-24 10:23:45 · 391 阅读 · 0 评论 -
【LeetCode】441. Arranging Coins
题目You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins.Given n, find the total number of full staircase rows that can be formed.n is a原创 2017-02-24 20:48:25 · 400 阅读 · 0 评论 -
c++ int 类型与string类型的相互转化
编程中经常遇到将int类型转换为string类型的情况,在网上看了几种方法后,觉得利用stringstream还是印象深刻,stringstream相当于将数据输入,然后根据输出类型,输出想要的数据,废话不多说,上代码原创 2016-08-24 10:15:56 · 450 阅读 · 0 评论