![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++ primer 习题
文章平均质量分 80
jyzgo0125
这个作者很懒,什么都没留下…
展开
-
C++ primer 课后习题
// CppPrimerExcercise.cpp : Defines the entry point for the console application. //4.9 #include "stdafx.h" #include "Sales_item.h" #include #include using namespace std; int _tmain(int原创 2013-08-14 10:21:18 · 279 阅读 · 0 评论 -
C++ primer 习题答案
周末被某大牛教育了一番,“代码学习没有捷径,必须一行行地敲!”。现在只能反思下,基本功薄弱是我等业余爱好者的通病,只能反复练习了。遂决定重新完成《C++ primer》的所有习题,之后再看别的,以此为证 习题3.13 [cpp] view plaincopyprint? #include "stdafx.h" #include "Sales_item.h" #includ原创 2013-08-14 10:18:01 · 411 阅读 · 0 评论 -
C++ Primer 课后习题 4.3.1
// CppPrimerExcercise.cpp : Defines the entry point for the console application. //4.28 #include "stdafx.h" #include "Sales_item.h" #include #include using namespace std; int _tmain(int原创 2013-08-17 20:08:49 · 273 阅读 · 0 评论 -
C++ primer 课后习题4.32-4.36
#include "stdafx.h" #include #include using namespace std; int _tmain(int argc, _TCHAR* argv[]) { const size_t arr_size=8; int int_arr[arr_size]; //input arr element cou原创 2013-09-16 15:14:22 · 410 阅读 · 0 评论 -
C++ primer 课后习题 第五章
// ConsoleApplication4.cpp : 定义控制台应用程序的入口点。 //C++ primer assignment 5.18 #include "stdafx.h" #include #include #include #include using namespace std; int main(int argc, _TCHAR* argv[])原创 2013-09-22 23:53:10 · 314 阅读 · 0 评论