上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 35 下一页
摘要: 《Programming Abstractions In C》学习第47天,p111-p113,总结如下: 一、技术总结 1.boilerplate ```c /* * File: random.h * Version: 1.0 * Last modified on Fri Jul 22 16:44 阅读全文
posted @ 2023-08-15 12:51 codists 阅读(15) 评论(0) 推荐(0)
摘要: 《Programming Abstractions In C》学习第46天,p107-p110,3.1小节——“The concept of interface”,总结如下: 一、技术总结 1.client p108,调用library的program称为client。 2.interface p1 阅读全文
posted @ 2023-08-13 23:05 codists 阅读(26) 评论(0) 推荐(0)
摘要: 《Programming Abstractions In C》学习第45天,p91-p102,完成第二章内容学习。总结如下: 一、技术总结 1.垃圾回收 p91,"Some language, including Java support a system for dynamic allocatio 阅读全文
posted @ 2023-08-10 23:22 codists 阅读(16) 评论(0) 推荐(0)
摘要: 《Programming Abstractions In C》学习第44天,p88-p90总结。 一、技术总结 1.内存分配 内存分配可以分为:static allocation、automatic allocation、dynamic allocation。内存分配使用的函数为:malloc()。 阅读全文
posted @ 2023-08-09 23:37 codists 阅读(20) 评论(0) 推荐(0)
摘要: 《Programming Abstractions In C》学习第43天,p84-p87总结。 一、技术总结 1.record record也称为structure(结构体),是一种数据结构。record里面的成员称为record的field。对于record,需要其基本用法:定义、声明、fiel 阅读全文
posted @ 2023-08-08 23:35 codists 阅读(25) 评论(0) 推荐(0)
摘要: 作为一名编程人员,时常有一个想法,怎么精通某种技术?然后,业内大牛给你分享了一条学习路线,当你看完这条路线之后,之前高涨的心情瞬间低落下来,因为“万丈高楼平地起”,那条路的尽头也许很美好——成为业内大牛,但是,无论如何这条路还得你自己去走,并且这条路很长,也并不好走。 虽然这条路早已注定是艰难的,但 阅读全文
posted @ 2022-07-20 20:22 codists 阅读(51) 评论(0) 推荐(0)
摘要: 一、问题描述 #include <stdio.h> #define MAXLINE 1000 /* maximum input line length */ int getline(char lines[], int maxline); void copy(char to[], char from[ 阅读全文
posted @ 2022-05-28 10:48 codists 阅读(782) 评论(0) 推荐(0)
摘要: 一、说明 参考资料为维基百科的 Playing Card 词条,非严肃性论证,只是对代码为什么这么写做讨论。 二、扑克牌的起源 import collections Card = collections.namedtuple('Card', ['rank', 'suit']) class Frenc 阅读全文
posted @ 2022-05-14 11:28 codists 阅读(210) 评论(0) 推荐(1)
摘要: 说明 1、系统:Ubuntu codists@pc:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 21.10 Release: 21.10 Codename: im 阅读全文
posted @ 2021-11-15 21:48 codists 阅读(186) 评论(0) 推荐(0)
摘要: 《计算机网络》(5th),作者是 Andrew S. Tanenbaum和David J. Wetherall,译者是严伟和潘爱民,2018年11月第17次印刷。 虽然自己是计算机科学与技术专业的,但是很遗憾,大学学的计算机网络知识差不多忘完了,或者说对于老师所传授的内容,自己所消化的其实只是很少一 阅读全文
posted @ 2021-09-05 22:05 codists 阅读(384) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 35 下一页