Note
文章平均质量分 63
kevinkeyaa
这个作者很懒,什么都没留下…
展开
-
Accelerated C++ 笔记
Exercise 1-2 Are the following definitionsvalid? Why or why not? const std::string exclam = "!"; const std::string message = "Hello" + ", world" + exclam; Solution The first line is valid because原创 2015-05-09 22:43:03 · 248 阅读 · 0 评论 -
C++ Primer Plus
Listing 4.20 #include #include #include #include int main() { string h; using namespace std; char animal[20] = "bear"; // animal holds bear const char * bird = "wren"; // bird hol原创 2015-05-13 10:55:17 · 754 阅读 · 0 评论