Skip to content

Commit

Permalink
docs: change favicon.ico
Browse files Browse the repository at this point in the history
  • Loading branch information
E1PsyCongroo committed Oct 14, 2024
1 parent 579bae0 commit eace722
Showing 1 changed file with 19 additions and 25 deletions.
44 changes: 19 additions & 25 deletions Lectures/Lecture2/Lecture2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<link href="./static/css/tailwind.min.css" rel="stylesheet">
<link href="https://fonts.font.im/css?family=Source+Serif+Pro%7CLato%7CInconsolata" rel="stylesheet"
type="text/css">
<title> Lecture3 </title>
<title> Lecture2 </title>
<!-- browser favicon -->
<link rel="shortcut icon" href="./static/img/favicon.png">
<link rel="shortcut icon" href="./static/img/favicon.ico">
<style>
.font-sans {
font-family: 'Lato', 'SimHei', 'STHeiti', 'SimHei', 'Serif';
Expand All @@ -22,15 +22,9 @@
font-family: 'Source Serif Pro', 'Songti SC', 'SimSun', 'Serif', serif;
}
</style>
<!-- <link rel="stylesheet" href="https://jyywiki.cn/static/katex/katex.min.css">
<script defer src="https://jyywiki.cn/static/katex/katex.min.js"></script> -->
<link rel="stylesheet" href="./static/katex/katex.min.css">
<script defer src="./static/katex/katex.min.js"></script>
<!-- <script defer src="https://jyywiki.cn/static/katex/auto-render.min.js"
integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05"
crossorigin="anonymous"></script> -->
<script defer src="./static/katex/auto-render.min.js"></script>
<script src="plugin/markdown/markdown.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function () {
renderMathInElement(document.body, {
Expand Down Expand Up @@ -83,7 +77,7 @@ <h1 id="c" class="text-2xl mt-2 font-sans">C 语言基础语法</h1>
NekoBytes
</p>
<img class="inline-img h-24"
src="./static/img/505d39ab3d4a4f969b90552a6c5477cc.svg"
src="./static/img/5bfcea42bef14dc7a579b19a9cfab54b.svg"
style="display: inline-block;" />
</a>
</div>
Expand All @@ -101,7 +95,7 @@ <h1 id="c" class="text-2xl mt-2 font-sans">C 语言基础语法</h1>
<div>
<h2 id="agenda-part-1" class="text-xl mt-2 pb-2 font-sans">Agenda Part 1</h2>
<p class="font-serif my-1"><img class="float-right"
src="./static/img/f7640ea9a80d4963bfe259c5f15245f6.png" width="" /></p>
src="./static/img/81dc5d14bf024e768f2cb1e638db9041.png" width="" /></p>
<ul class="list-disc font-serif">
<li class="ml-8">计算机科学抽象思维</li>
<li class="ml-8">C语言常量</li>
Expand All @@ -121,10 +115,10 @@ <h2 id="_1" class="text-xl mt-2 pb-2 font-sans">抽象是什么?能吃吗</h2>
</li>
</ul>
<p class="font-serif my-1"><img class="float-center"
src="./static/img/eb0c14e67ede4c6982f672d1f23f8347.png" width="" />
<img class="float-center" src="./static/img/04c55e39a9fa4c7aa2edca121fb4bc52.png"
src="./static/img/a1bdaa5c08cc4487a7a2ba08b03e5532.png" width="" />
<img class="float-center" src="./static/img/800d315ac16a4cccbf10c5f60621f0db.png"
width="" />
<img class="float-center" src="./static/img/16a82e9965414299a076175865f6bea8.png"
<img class="float-center" src="./static/img/8592a5b495d641679eeac4338abfd126.png"
width="" />
</p>
</div>
Expand All @@ -136,11 +130,11 @@ <h2 id="_1" class="text-xl mt-2 pb-2 font-sans">编程本身就是一种抽象</
<li class="ml-8">我们使用的编程语言,比如C语言和Python,都是抽象,因为计算机只懂二进制。</li>
</ul>
<p class="font-serif my-1"><img alt="抽象"
src="./static/img/d48aeab415ac4fdea9b473afe3e429b7.png" />
src="./static/img/d51a685887bd4ecebfd63af82458b055.png" />
</p>
<center>
<img class="inline" src="./static/img/baf1ff76a5814d75bf99e5b2725d95e3.png" width="45%" />
<img class="inline" src="./static/img/9697bafbcaf14e97872e3fe646a5af93.png" width="45%" />
<img class="inline" src="./static/img/47b0cfff8a804baba542a5bd8ab0a00c.png" width="45%" />
<img class="inline" src="./static/img/3f5024082a094805acb031c10725a9bd.png" width="45%" />
</center>
</div>
</section>
Expand Down Expand Up @@ -369,7 +363,7 @@ <h2 id="_1" class="text-xl mt-2 pb-2 font-sans">宏定义</h2>
<li class="ml-8">C预处理器先处理源文件,替换宏并包含文件。</li>
</ul>
<p class="font-serif my-1"><img alt="static"
src="./static/img/3e722aa87b43462fa5629d7d5b542743.png" /></p>
src="./static/img/900f65a38a734dceb0ff1b50f39cfe82.png" /></p>
<p class="font-serif my-1"><a
href="https://godbolt.org/z/aMPxbrMbs">https://godbolt.org/z/aMPxbrMbs</a></p>
<p class="font-serif my-1">gcc -o test test.c -save-temps</p>
Expand Down Expand Up @@ -398,7 +392,7 @@ <h2 id="_1" class="text-xl mt-2 pb-2 font-sans">预处理</h2>
<div>
<h2 id="cat-break" class="text-xl mt-2 pb-2 font-sans">Cat Break!</h2>
<p class="font-serif my-1"><img alt="static"
src="./static/img/ff8bee4432db4457af8cb7accf38a3c8.png" /></p>
src="./static/img/a746a8121e8547a69ed12b3f2d824645.png" /></p>
</div>
</section>
</section>
Expand All @@ -407,7 +401,7 @@ <h2 id="cat-break" class="text-xl mt-2 pb-2 font-sans">Cat Break!</h2>
<div>
<h2 id="agenda-part-2" class="text-xl mt-2 pb-2 font-sans">Agenda Part 2</h2>
<p class="font-serif my-1"><img class="float-right"
src="./static/img/d77fc3c248284ce88073e56b5498914f.png" width="" /></p>
src="./static/img/4a755362136b47cab24406041a2f22c6.png" width="" /></p>
<ul class="list-disc font-serif">
<li class="ml-8">内存与变量</li>
<li class="ml-8">多维数组</li>
Expand All @@ -424,7 +418,7 @@ <h2 id="agenda-part-2" class="text-xl mt-2 pb-2 font-sans">Agenda Part 2</h2>
<div>
<h2 id="_1" class="text-xl mt-2 pb-2 font-sans">内存</h2>
<p class="font-serif my-1"><img alt="static"
src="./static/img/f9b5785898c74ccb93861c27c0dd6460.png" /></p>
src="./static/img/d550c835400049fd8d7b6b2692ad09d0.png" /></p>
</div>
</section>
<section>
Expand All @@ -444,7 +438,7 @@ <h2 id="_1" class="text-xl mt-2 pb-2 font-sans">变量与垃圾值</h2>
&amp;b :地址</p>
<p class="font-serif my-1"><a
href="https://godbolt.org/z/ocbrj7s85">https://godbolt.org/z/ocbrj7s85</a>
<img alt="static" src="./static/img/aa1e8bce43c640a3bb4c63867e2f68a0.png" />
<img alt="static" src="./static/img/aaf0131e83b5468eaed99abcf0a9bc26.png" />
</p>
</div>
</section>
Expand All @@ -458,7 +452,7 @@ <h2 id="_1" class="text-xl mt-2 pb-2 font-sans">数组的越界行为</h2>

<p class="font-serif my-1">array 这个标识符是什么呢?</p>
<p class="font-serif my-1"><img alt="array2"
src="./static/img/2325487fe87c4df293bbfbe7986d8fe9.png" /></p>
src="./static/img/425d21f360464b18adfd3ef6f0f5a9b8.png" /></p>
<p class="font-serif my-1">问:能不能访问array[5]呢?</p>
</div>
</section>
Expand All @@ -475,7 +469,7 @@ <h2 id="_1" class="text-xl mt-2 pb-2 font-sans">多维数组(目前了解即可)
<p class="font-serif my-1"><a
href="https://godbolt.org/z/Mbq513KnG">https://godbolt.org/z/Mbq513KnG</a></p>
<p class="font-serif my-1"><img alt="2dmatrix"
src="./static/img/12462e9d74c8489bb110338d748228c6.png" /></p>
src="./static/img/fbe4e524201443c789ed6af02f0b0745.png" /></p>
<p class="font-serif my-1">(问:下面哪种写法是正确的?)</p>
<div class="codehilite">
<pre class="bg-gray-100 overflow-x-auto rounded p-2 mb-2 mt-2"><span/><code><span class="kt">int</span><span class="w"> </span><span class="n">matrix</span><span class="p">[][</span><span class="mi">2</span><span class="p">]</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">{</span><span class="mi">1</span><span class="p">,</span><span class="mi">2</span><span class="p">,</span><span class="mi">3</span><span class="p">,</span><span class="mi">4</span><span class="p">};</span>
Expand All @@ -499,7 +493,7 @@ <h2 id="_1" class="text-xl mt-2 pb-2 font-sans">指针</h2>
&amp;a : 指针的值(指针指向的地址)
&amp;p : 存放指针的地址</p>
<p class="font-serif my-1"><img alt="static"
src="./static/img/276ea65bb0824b8ab636b2eaea91d478.png" /></p>
src="./static/img/a09616ddec2a4c899f83f3c168c9510d.png" /></p>
</div>
</section>
<section>
Expand Down Expand Up @@ -624,7 +618,7 @@ <h2 id="ub" class="text-xl mt-2 pb-2 font-sans">警惕UB(未定义行为)</h2>
<div>
<h2 id="ask-time" class="text-xl mt-2 pb-2 font-sans">Ask Time</h2>
<p class="font-serif my-1"><img alt="static"
src="./static/img/d2218f607d3a4237973e1fbd7506fb67.png" /></p>
src="./static/img/f5e738000b7e48b79ccd9f9d372ee2c9.png" /></p>
</div>
</section>
</section>
Expand Down

0 comments on commit eace722

Please sign in to comment.