手机版
热门标签
站点地图
我要投稿
广告合作
联系我们
搜 索
广告位招租
广告位招租
切换导航
首页
编程教程
编程导航
编程百科
编程问答
编程博文
编程实例
硬件设备
网络运营
软件教程
移动数码
办公软件
操作系统
人工智能
栏目导航
▸ 编程语言
▸ 前端开发
▸ 移动开发
▸ 开发工具
▸ 程序设计
▸ 行业应用
▸ 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; int main() { char newline = '\\n'; char tab = '\\t';
作者:编程之家 时间:2022-07-04
C++浮点常数
// #include<iostream> using namespace std; int main() { const float PI = 3.141;// 3.141 is floating point constant while PI is a constant float.
作者:编程之家 时间:2022-07-04
C++ setw()函数
// #include <iostream> #include <iomanip> int main() { std::cout << "no setw:" << 42 << '\\n'
作者:编程之家 时间:2022-07-04
C++重载递增++和递减 --
#include <iostream> using namespace std; class Time { private: int hours;// 0 to 23 int minutes;// 0 to 59
作者:编程之家 时间: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; const int SIZE = 10; class safearay { private: int arr[SIZE];
作者:编程之家 时间:2022-07-04
C++类成员访问操作符重载
#include <iostream> #include <vector> using namespace std; // Consider an actual class. class Obj {
作者:编程之家 时间: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; int main () { // Local variable declaration: int x, y = 10;
作者:编程之家 时间:2022-07-04
C++对象的动态内存分配
#include <iostream> using namespace std; class Box { public: Box() { cout << "Constructor called!" <<endl;
作者:编程之家 时间:2022-07-04
C++捕捉异常
#include <iostream> using namespace std; double division(int a, int b) { if( b == 0 ) { throw "Division by zero condition!";
作者:编程之家 时间:2022-07-04
C++ C风格字符串
#include <iostream> using namespace std; int main () { char greeting[6] = {'H', 'e', 'l', 'l', 'o', '\\0'};
作者:编程之家 时间:2022-07-04
C++以null结尾的字符串
#include <iostream> #include <cstring> using namespace std; int main () { char str1[10] = "Hello";
作者:编程之家 时间:2022-07-04
C++变量地址
#include <iostream> using namespace std; int main () { intvar1; char var2[10]; cout << "Address of var1 variable: ";
作者:编程之家 时间:2022-07-04
C++使用tm结构格式化时间
#include <iostream> #include <ctime> using namespace std; int main() { // current date/time based on current system
作者:编程之家 时间:2022-07-04
C++默认值
#include <iostream> using namespace std; int sum(int a, int b = 20) { int result; result = a + b; return (result);
作者:编程之家 时间:2022-07-04
C++ concat()函数
// ------------- #include <iostream> using namespace std; #define concat(a, b) a ## b int main() { int xy = 100;
作者:编程之家 时间:2022-07-04
C++预定义的宏
// #include <iostream> using namespace std; int main () { cout << "Value of __LINE__ : " << __LINE__ << endl;
作者:编程之家 时间: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