上一页 1 ··· 319 320 321 322 323 324 325 326 327 ··· 345 下一页
摘要: #include #include using namespace std; int main (){ // 数字定义 short s = 10; int i = -1000; long l = 100000; float ... 阅读全文
posted @ 2019-03-13 11:37 luoganttcc 阅读(132) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;int main (){ // 数字定义 short s; int i; long l; float f; double d; // 数字赋值 s = 1... 阅读全文
posted @ 2019-03-13 11:34 luoganttcc 阅读(86) 评论(0) 推荐(0) 编辑
摘要: static 存储类static 存储类指示编译器在程序的生命周期内保持局部变量的存在,而不需要在每次它进入和离开作用域时进行创建和销毁。因此,使用 static 修饰局部变量可以在函数调用之间保持局部变量的值。static 修饰符也可以应用于全局变量。当 ... 阅读全文
posted @ 2019-03-13 11:24 luoganttcc 阅读(209) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;/* * 这个程序演示了有符号整数和无符号整数之间的差别*/int main(){ short int i; // 有符号短整数 short unsigned int j... 阅读全文
posted @ 2019-03-13 11:21 luoganttcc 阅读(257) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;#define LENGTH 10 #define WIDTH 5#define NEWLINE '\n'int main(){ int area; area = LENGTH * WI... 阅读全文
posted @ 2019-03-13 11:18 luoganttcc 阅读(83) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;// 全局变量声明int g = 20;int main (){ // 局部变量声明 // cout << g ; int g = 10; cout << g; return 0;} ... 阅读全文
posted @ 2019-03-13 10:59 luoganttcc 阅读(68) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;//变量声明extern int a,b;extern int c;extern float f;int main(){ //变量定义 int a,b; int c ; float f; a... 阅读全文
posted @ 2019-03-13 10:52 luoganttcc 阅读(104) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;int main(){ cout ::max)(); cout ::min)() ::max)(); cout ::min)() ::max)(); cout ::min)()... 阅读全文
posted @ 2019-03-12 23:22 luoganttcc 阅读(81) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;int main(){ cout << "Hello,World!\n"; return 0;} 阅读全文
posted @ 2019-03-12 23:14 luoganttcc 阅读(152) 评论(0) 推荐(0) 编辑
摘要: from pyspark.ml.linalg import Vectorsfrom pyspark.ml.classification import LogisticRegressionfrom pyspark.sql import SparkSession... 阅读全文
posted @ 2019-03-12 12:51 luoganttcc 阅读(141) 评论(0) 推荐(0) 编辑
上一页 1 ··· 319 320 321 322 323 324 325 326 327 ··· 345 下一页