![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
Tech_Neo
这个作者很懒,什么都没留下…
展开
-
The meaning of "argc" and "argv" in programming
We often find two parameters named "argc" and "argv" in main function like, int main(int argc, char** argv) {return 0;} "argc" is the number of parameter we input in command line. "argv" saves a原创 2015-07-06 17:23:48 · 325 阅读 · 0 评论 -
Solution to Maximum Subarray in linear-time algorithm with time complexity is O(n)
This algorithm realises the searching method for maximum subarray by changing the initial value when the sum is below 0. The C++ code shows as follow:原创 2015-07-05 16:34:26 · 382 阅读 · 0 评论