《深入理解Android:Telephony原理剖析与最佳实践》一2.5 使用Source Insight方便阅读C/C++代码
2.5 使用Source Insight方便阅读C/C++代码 Android源码中有非常多的C/C++代码,Source Insight是当前比较流行和方便使用的C/C++代码阅读编辑工具,我们选择它来建立Android C/C++代码相关的工程。Source Insight是基于Windows平...
《C++ Templates中文版》——1.3 如何阅读本书
本节书摘来自异步社区出版社《C++ Templates中文版》一书中的第1章,第1.3节,作者: 【美】David Vandevoorde , 【德】Nicolai M. Josuttis,更多章节内容可以访问云栖社区“异步社区”公众号查看。 1.3 如何阅读本书 如果你是一个希望学习或者温习模板概...
《C++ Templates中文版》——1.1 阅读本书所需具备的知识
本节书摘来自异步社区出版社《C++ Templates中文版》一书中的第1章,第1.1节,作者: 【美】David Vandevoorde , 【德】Nicolai M. Josuttis,更多章节内容可以访问云栖社区“异步社区”公众号查看。 1.1 阅读本书所需具备的知识 为了能够理解本书中的大部...
2015级C++第16周程序阅读 文件操作
1、请写出下面程序的输出结果 (1) #include <iostream> #include <fstream> using namespace std; int main() { fstream outfile,infile; outfile.open("data.dat...
C++范型程序补充阅读
(1)下面程序通过输入流迭代器来填充vector容器,通过输出流迭代器来写入“流cout”。程序执行时,如果输入为:1 2 3 4 5 q 则输出为:1,2,3,4,5, 1 | 2 | 3 | 4 | 5 | 请填空将程序补充完整。 #include<iostream> #includ...
2015级C++第15周程序阅读 范型程序设计
阅读下面的程序,对照运行结果,领会STL的用法 (1) #include <string> #include <set> #include <iterator> #include <iostream> using namespace std; int ...
2015级C++第14周程序阅读 STL中的简单容器和迭代器
阅读并运行程序,解释程序执行得到的结果 (1) #include<iostream> #include<vector> #include<iterator> using namespace std; int main() { vector<int> i...
2015级C++第10、11周程序阅读(补充) 继承和派生
(1) #include<iostream> using namespace std; class G { public: static int m; G( ){ //构造函数 m++; cout<<"G begins\n"; } ~G( ) { cout<<"G...
2015级C++第10、11周程序阅读 继承和派生
阅读程序,请写出这些程序的运行结果 (1)阅读程序,写出执行结果 #include <iostream> using namespace std; class Data { public: Data(int i):x(i){cout<<"A";} ~Data(){ cout&...
2015级C++第9周程序阅读 类和指针
阅读程序,写出程序的运行结果并理解其运行机制。 (1) #include <iostream> using namespace std; class A { public: A(){cout<<"A";} ~A(){cout<<"~A";} }; class B ...
本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。
社区圈子