会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
天使不设防
学习不会让你变得全知全能 但能让你变得不再害怕未知
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
13
下一页
2021年4月16日
Browse Code Answers
摘要: 一个记录各种语言可能遇到的问题的论坛 :https://www.codegrepper.com/code-examples/
阅读全文
posted @ 2021-04-16 17:34 un-define
阅读(81)
评论(0)
推荐(0)
2021年3月11日
无题
摘要: 随便写写博客还要被 布布扣之类的网站不经本人允许随意爬取文章,真TM恶臭又恶心,淦!!!
阅读全文
posted @ 2021-03-11 16:28 un-define
阅读(50)
评论(0)
推荐(0)
2021年3月9日
dlang 泛型
摘要: 1 import std.stdio, std.string; 2 3 void main() 4 { 5 bool find(T)(T[] all, T sub) 6 { 7 foreach(each; all) 8 { 9 if(each == sub) return true; 10 } 11
阅读全文
posted @ 2021-03-09 10:32 un-define
阅读(146)
评论(0)
推荐(0)
2021年2月1日
dlang 读取gz压缩文件
摘要: 没找到打开gz压缩文件的标准库,暂时调用系统命令打开gz压缩文件(参考:https://dlang.org/phobos/std_process.html#.Redirect.stdoutToStderr)。 缺点是文件全部会读入内存处理,对于大文件不太友好。 1 import std.stdio;
阅读全文
posted @ 2021-02-01 18:04 un-define
阅读(127)
评论(0)
推荐(0)
2021年1月11日
R包 tidyverse 分列
摘要: 代码: 1 library(tidyverse) 2 separate(data = df,col=chr_pos,into=c("chr","pos"),sep="_")
阅读全文
posted @ 2021-01-11 10:31 un-define
阅读(266)
评论(0)
推荐(0)
2020年12月28日
推荐一个网站:用各种语言去做同一件事
摘要: 其中包含了很多示例,可以参考学习;地址:http://rosettacode.org/wiki/Category:Programming_Languages
阅读全文
posted @ 2020-12-28 17:05 un-define
阅读(120)
评论(0)
推荐(0)
2020年12月17日
dlang ref的作用
摘要: ref 作用 1 import std.stdio, std.string; 2 3 void main() 4 { 5 string[] color=["red","blue","cyan","grey"]; 6 7 writeln("raw:",color); 8 write("m1:"); 9
阅读全文
posted @ 2020-12-17 20:04 un-define
阅读(138)
评论(0)
推荐(0)
2020年12月14日
dlang 字符串char[] 和string
摘要: 各个情况下数据类型异同 1 import std.stdio; 2 import std.string; 3 4 void main(){ 5 6 auto a="auto_a"; //immutable(char)[] 7 auto b="auto_b.dup".dup; // char[] 8
阅读全文
posted @ 2020-12-14 22:04 un-define
阅读(165)
评论(0)
推荐(0)
2020年12月12日
dlang 安装
摘要: 刷论坛看到TIOBE排行榜,排名靠前的基本是C、C++、java、python之类的语言,常用的R语言近几年排名一路走高,前20基本变化不大。 后面发现第二十九位居然有个叫做D的语言,看了下和C语法很类似,也是系统级语言,写起来比C舒服,C用起来实在是太糟心了😔;有垃圾回 收机制,不用自己管理内存
阅读全文
posted @ 2020-12-12 22:21 un-define
阅读(585)
评论(0)
推荐(0)
2020年12月11日
rust Option枚举
摘要: 枚举 1 fn main() { 2 let a_binding; 3 { 4 let x = 2; 5 a_binding = x * x; 6 } 7 println!("a binding: {}", a_binding); 8 9 let sn = Some(5); 10 let ss =
阅读全文
posted @ 2020-12-11 15:41 un-define
阅读(281)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
13
下一页
公告