码迷,mamicode.com
首页 > 编程语言 > 详细

C++ basic salient points that I made mistakes on

时间:2016-02-02 06:30:16      阅读:152      评论:0      收藏:0      [点我收藏+]

标签:

  1. int main(int argv, char* argc[]), argc[0] is always the program‘s name that you run
  2. switch() statement doesn‘t accept std::string. One way to solve this is to use enum, see here: link

C++ basic salient points that I made mistakes on

标签:

原文地址:http://www.cnblogs.com/RuiYan/p/5176676.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!