上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: 1.学习内容 2.Activity之间的跳转 MainActivity package com.example.kotlinstudy ​ import android.content.Intent import androidx.appcompat.app.AppCompatActivity im 阅读全文
posted @ 2021-07-30 09:10 yiwenzhang 阅读(739) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #define MAX(a, b) ({\ __typeof(a) _a = (a);\ __typeof(b)_b = (b);\ _a > _b ? _a : _b;\ }) #define P(func) {\ printf("%s = %d\n", #f 阅读全文
posted @ 2021-07-24 18:09 yiwenzhang 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 1.环境配置 eclipse安装kotlin插件地址http://marketplace.eclipse.org/content/kotlin-p;ugin-eclipse 2.Hello World // 变量的声明和使用 fun main(args: Array<String>) { var n 阅读全文
posted @ 2021-07-23 17:46 yiwenzhang 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 1.坐标系 右手坐标系:伸出右手,大拇指指向X轴正方向,食指指向y轴正方向,弯曲中指的方向为z轴正方向。 左右坐标系:伸出左手,大拇指指向X轴正方向,食指指向y轴正方向,弯曲中指的方向为z轴正方向。 常用平台使用的坐标系 多坐标系:从初始坐标系变换而来, 世界坐标系:原始坐标系,唯一不变的,是所有坐 阅读全文
posted @ 2021-07-22 17:35 yiwenzhang 阅读(1143) 评论(0) 推荐(0) 编辑
摘要: 1.启动命令 nohup java -jar xxxxxx.jar // 不挂断运行命令,当账户退出或终端关闭时,程序仍然运行 2.查看java运行端口 查看当前应用所占用端口: netstat -nlp|grep 8084 //8084是系统启动访问的端口, 由此可得到5890 是java运行的端 阅读全文
posted @ 2021-07-22 13:54 yiwenzhang 阅读(579) 评论(0) 推荐(0) 编辑
摘要: 1.1.定义简单.properties文件 datasource.dataSources[0].id=1 datasource.dataSources[0].dsId=postgisA datasource.dataSources[0].type=postgis datasource.dataSou 阅读全文
posted @ 2021-07-21 17:19 yiwenzhang 阅读(222) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> int binary_search(int *arr,int n, int x) { int head = 0, tail = n - 1, mid; while(head <= tail) { mid = (head + tail) >> 1; if (arr 阅读全文
posted @ 2021-07-19 21:49 yiwenzhang 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 1.线性筛 欧拉计划第7题 10001st prime Problem 7 By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the 阅读全文
posted @ 2021-07-18 13:53 yiwenzhang 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 1.变参函数 #include <stdio.h> #include <inttypes.h> #include <stdarg.h> ​ #define P(func) {\ printf("%s = %d\n",#func, func);\ } /* * 求变参列表中的最大值 * @param 阅读全文
posted @ 2021-07-07 21:40 yiwenzhang 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 1.透视投影绘制立方体 阅读全文
posted @ 2021-06-24 11:29 yiwenzhang 阅读(31) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页