手机版
热门标签
站点地图
我要投稿
广告合作
联系我们
搜 索
广告位招租
广告位招租
切换导航
首页
编程教程
编程导航
编程百科
编程问答
编程博文
编程实例
硬件设备
网络运营
软件教程
移动数码
办公软件
操作系统
人工智能
栏目导航
▸ 编程语言
▸ 前端开发
▸ 移动开发
▸ 开发工具
▸ 程序设计
▸ 行业应用
▸ CMS系统
▸ 服务器
▸ 数据库
公众号推荐
微信公众号搜
"智元新知"
关注
微信扫一扫可直接关注哦!
子栏目导航
php实例代码
Javascript实例代码
python实例代码
Shell实例代码
Sql实例代码
正则表达式实例代码
Python函数
Java实例代码
C#实例代码
C语言实例代码
C++实例代码
Erlang实例代码
Dart实例代码
D3.js实例代码
D语言实例代码
CSS实例代码
Cobol实例代码
Clojure实例代码
Bootstrap实例代码
Vue实例代码
Angular实例代码
汇编语言实例
编程之家
C++实例代码
C++数组最大整数
#include <iostream> using namespace std; const int MAX = 3; int main () { intvar[MAX] = {10, 100, 200};
作者:编程之家 时间:2022-07-04
C++指针数组
#include <iostream> using namespace std; const int MAX = 3; int main () { intvar[MAX] = {10, 100, 200};
作者:编程之家 时间:2022-07-04
C++指针和数组
#include <iostream> using namespace std; const int MAX = 3; int main () { intvar[MAX] = {10, 100, 200};
作者:编程之家 时间:2022-07-04
C++指针比较
#include <iostream> using namespace std; const int MAX = 3; int main () { intvar[MAX] = {10, 100, 200};
作者:编程之家 时间:2022-07-04
C++递减指针
#include <iostream> using namespace std; const int MAX = 3; int main () { intvar[MAX] = {10, 100, 200};
作者:编程之家 时间:2022-07-04
C++递增指针
#include <iostream> using namespace std; const int MAX = 3; int main () { intvar[MAX] = {10, 100, 200};
作者:编程之家 时间:2022-07-04
C++ this指针
#include <iostream> using namespace std; class Box { public: // Constructor definition Box(double l = 2.0, double b = 2.0, double h = 2.0) {
作者:编程之家 时间:2022-07-04
C++内联函数
#include <iostream> using namespace std; inline int Max(int x, int y) { return (x > y)? x : y; }
作者:编程之家 时间:2022-07-04
C++友元函数
#include <iostream> using namespace std; class Box { double width; public: friend void printWidth( Box box );
作者:编程之家 时间:2022-07-04
C++使用另一个对象复制构造函数
#include <iostream> using namespace std; class Line { public: int getLength( void ); Line( int len );// simple constructor
作者:编程之家 时间:2022-07-04
C++拷贝构造函数
#include <iostream> using namespace std; class Line { public: int getLength( void ); Line( int len );// simple constructor
作者:编程之家 时间:2022-07-04
C++类析构函数
#include <iostream> using namespace std; class Line { public: void setLength( double len ); double getLength( void );
作者:编程之家 时间:2022-07-04
C++参数化构造函数
#include <iostream> using namespace std; class Line { public: void setLength( double len ); double getLength( void );
作者:编程之家 时间:2022-07-04
C++类构造函数
#include <iostream> using namespace std; class Line { public: void setLength( double len ); double getLength( void );
作者:编程之家 时间:2022-07-04
C++保护成员
#include <iostream> using namespace std; class Box { protected: double width; }; class SmallBox:Box {// SmallBox is the derived class.
作者:编程之家 时间:2022-07-04
C++私有成员
#include <iostream> using namespace std; class Box { public: double length; void setWidth( double wid );
作者:编程之家 时间:2022-07-04
C++公共成员
#include <iostream> using namespace std; class Line { public: double length; void setLength( double len );
作者:编程之家 时间:2022-07-04
C++类的成员函数
#include <iostream> using namespace std; class Box { public: double length;// Length of a box double breadth;// Breadth of a box
作者:编程之家 时间:2022-07-04
C++定义类对象
#include <iostream> using namespace std; class Box { public: double length;// Length of a box double breadth;// Breadth of a box
作者:编程之家 时间:2022-07-04
C++指向结构体的指针
#include <iostream> #include <cstring> using namespace std; void printBook( struct Books *book );
作者:编程之家 时间:2022-07-04
C++结构体作为函数参数
#include <iostream> #include <cstring> using namespace std; void printBook( struct Books book );
作者:编程之家 时间:2022-07-04
C++访问结构体成员
#include <iostream> #include <cstring> using namespace std; struct Books { chartitle[50]; charauthor[50];
作者:编程之家 时间:2022-07-04
C++标准日志流
// C++标准日志流 #include <iostream> using namespace std; int main() { char str[] = "Unable to read....";
作者:编程之家 时间:2022-07-04
C++标准错误流
// C++标准错误流 #include <iostream> using namespace std; int main() { char str[] = "Unable to read....";
作者:编程之家 时间:2022-07-04
C++数据抽象
// C++数据抽象 #include <iostream> using namespace std; int main() { cout << "Hello C++" <<endl;
作者:编程之家 时间:2022-07-04
C++多态
#include <iostream> using namespace std; class Shape { protected: int width, height; public: Shape( int a = 0, int b = 0){
作者:编程之家 时间:2022-07-04
C++类成员访问运算符
// Consider an actual class. class Obj { static int i, j; public: void f() const { cout << i++ << endl; }
作者:编程之家 时间:2022-07-04
C++下标运算符重载
#include <iostream> using namespace std; const int SIZE = 10; class safearay { private: int arr[SIZE];
作者:编程之家 时间:2022-07-04
C++函数调用运算符重载
#include <iostream> using namespace std; class Distance { private: int feet;// 0 to infinite int inches;// 0 to 12
作者:编程之家 时间:2022-07-04
C++赋值运算符重载
#include <iostream> using namespace std; class Distance { private: int feet;// 0 to infinite int inches;// 0 to 12
作者:编程之家 时间:2022-07-04
上一页
1
2
3
4
下一页
小编推荐
热门标签
更多
python
JavaScript
java
HTML
reactjs
C#
Android
CSS
Node.js
sql
r
python-3.x
MysqL
jQuery
c++
pandas
Flutter
angular
IOS
django
linux
swift
typescript
路由器
JSON
路由器设置
无线路由器
h3c
华三
华三路由器设置
华三路由器
电脑软件教程
arrays
docker
软件图文教程
C
vue.js
laravel
spring-boot
react-native