iOS
-
C++逻辑运算符
#include <iostream> using namespace std; main() { int a = 5; int b = 20; int c ; if(…
-
C++关系运算符
#include <iostream> using namespace std; main() { int a = 21; int b = 10; int c ; if…
-
C++算术运算符
#include <iostream> using namespace std; main() { int a = 21; int b = 10; int c ; c …
-
C++静态存储类
#include <iostream> // Function declaration void func(void); static int count = 10; …
-
C++修饰符类型
#include <iostream> using namespace std; /* This program shows the difference betwee…
-
C++ const关键字
#include <iostream> using namespace std; int main() { const int LENGTH = 10; const i…
-
C++ #define预处理器
#include <iostream> using namespace std; #define LENGTH 10 #define WIDTH 5 #define N…
-
C++转义序列
// C++转义序列或字符串 #include <iostream> using namespace std; int main() { cout << &…
-
C++函数内部的全局变量
#include <iostream> using namespace std; // Global variable declaration: int g = 20;…
-
C++全局变量
#include <iostream> using namespace std; // Global variable declaration: int g; int …