Git GitHub 基础

git 是一个免费开源的版本控制系统,通常用于跟踪代码更变、更变人和团队协作。

Read More >

「英语」C++继承与多态

This post will introduce inheritance and polymorphism in C++.Inheritance General IdeaInheritance allows us to create new classes from already defined classesThis creates a Parent->Child relationshi

Read More >

「英语」C++ Makefile

Makefiles are special format files that together with the make utility will help you to automagically build and manage your projects. (From davetang.org)

Read More >

浅谈bfs广度优先搜索在数字漫水填充flood-fill算法中的应用

BFS,其英文全称是Breadth First Search。 BFS并不使用经验法则算法。从算法的观点,所有因为展开节点而得到的子节点都会被加进一个先进先出的队列中。一般的实验里,其邻居节点尚未被检验过的节点会被放置在一个被称为 open 的容器中(例如队列或是链表),而被检验过的节点则被放置在被称为 closed 的容器中。(open-closed表)讨论方向在一个二维数组中,任意设置一个点为

Read More >

Byte/Bits 字节/位常用单位换算

Terabyte (TB): 虽然最初为1,099,511,627,776 (240)字节,但是现在许多硬盘厂商已经开始用TB表示1,000,000,000,000 (1012)。为了减少混淆,我们现在使用术语 tebibyte (TiB) 来表示 240 字节,将 TB (TB) 定义为 1012 字节。 下图显示了十进制和二进制值和名称的完整范围。DecimalAbbreviationValu

Read More >

MIPS32汇编第一次小作业

这篇文章记录一下在学习CSE 230 - Computer Org/Assemb Lang Prog 这门课写地第一个汇编程序小作业。作业要求最后打印出来要是这个效果:Enter c3? 37 Enter c2? -148 Enter c1? 120 Enter c0? -47 Enter x? -13 p(x) = 37x^3 + -148x^2 + 120x + -47 at x = -13

Read More >