摘要: 对Haskell中涉及IO处理的部分进行总结 IO在Haskell中有自己的类型,即IO(),输入和输出都是IO() IO函数 putChar :: Char -> IO() putStr :: String -> IO() print :: Show a => a -> IO() getChar 阅读全文
posted @ 2020-06-13 17:18 落星无尘_Will 阅读(837) 评论(0) 推荐(0) 编辑
摘要: 一直对这个概念比较模糊,读到《C++ primer》发现其中有讲解,截下图来记录。 阅读全文
posted @ 2020-03-13 12:27 落星无尘_Will 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <string> 3 using std::cin; 4 using std::cout; 5 using std::endl; 6 using std::string; 7 int main() 8 { 9 unsigned int 阅读全文
posted @ 2020-02-24 23:35 落星无尘_Will 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 前言:以为在学完了COMP30019后,应该不会再接触Unity了,没想到之后实习让我去做把一个Unity项目转到WebGL,而关于Unity的WebGL资料很少,基本除了Unity的Manual就只能看别人零星的记录了。遇到了一堆问题,可能以后会也写在博客上。 浏览器默认禁止从file里直接运行W 阅读全文
posted @ 2020-01-10 23:44 落星无尘_Will 阅读(8294) 评论(0) 推荐(0) 编辑
摘要: 前言:打算系统地重新学基础,订的书还没到,先看了计算机一级的教材,虽然都是基础知识,但其实有很多自己是一知半解。内容摘自《全国计算机等级考试一级教程-计算机基础及MS Office应用 2013版》 计算机中数据的最小单位是位(bit)。 存储容量的基本单位是字节(Byte,B大写!,简写为B),1 阅读全文
posted @ 2019-12-06 14:31 落星无尘_Will 阅读(1788) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <time.h> #include <math.h> clock_t start, stop; //clock_t为clock()返回的变量类型 double duration; //记录被测函数运行时间,以秒为单位 int main(int argc, char **argv) { /* 不再测试范围内的准备工作写在clock()调用之前 阅读全文
posted @ 2019-08-09 19:57 落星无尘_Will 阅读(862) 评论(0) 推荐(0) 编辑
摘要: 其实用Github Desktop就足以应付当前的需求了,但好像对于程序员来讲不够“专业”和“优雅”。 学习资料https://git-scm.com/book/zh/v2/%E8%B5%B7%E6%AD%A5-%E5%85%B3%E4%BA%8E%E7%89%88%E6%9C%AC%E6%8E%A 阅读全文
posted @ 2019-08-04 14:14 落星无尘_Will 阅读(254) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-02-22 13:04 落星无尘_Will 阅读(21) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-02-04 17:47 落星无尘_Will 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 对Discrete Mathematics Using a Computer的第一章Introduction to Haskell进行总结。环境Windows。 2020.3.13 更新:COMP90048 Declarative Programming 又继续学习了Haskell。 类型别名 ty 阅读全文
posted @ 2019-02-04 12:29 落星无尘_Will 阅读(1904) 评论(0) 推荐(0) 编辑