Commit 1f4c0287 authored by Autopawn's avatar Autopawn

Added compiled pdfs.

parent 1a18af82
# REMINDER:
# Install Marp (before you have to update npm)
# npm install --save-dev @marp-team/marp-cli
# also install chromium-browser
rm -rf pdfs || true
mkdir pdfs
for file in *.md; do
marp --allow-local-files $file -o pdfs/${file%.md}.pdf
done
<mxfile host="www.draw.io" modified="2019-10-07T06:04:38.033Z" agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0" etag="7d0jzvABSQmaVNB3w-OW" version="12.0.2" type="device" pages="1"><diagram id="47TQY3FRNxbV0jGJ7nrk" name="Page-1">7V1dc6M2FP01edwMIMD4Mcl2221nZzKTTrvtGzGKTYtNivFH+usrDMJGVykkJroCeWYnawSW4Vxdrs45srkid8v9j1n4vPiWRjS5cqxof0U+XznOxCPsb9HwUjb4gV82zLM4KpvsY8ND/C+tGq2qdRNHdN04ME/TJI+fm42zdLWis7zRFmZZumse9pQmzU99DucUNDzMwgS2/h5H+aJsDTzr2P4TjecL/sm2Ve1ZhvzgqmG9CKN0d9JEfrgid1ma5uWr5f6OJgV2HJfyfV9e2VufWEZXeZc3/Ob/8tfd/N7+tP26//Pnrze/7qarT1Uv2zDZVBd85fgJ6+82ircFhEk8Xx12+P9sijO9nbGPo9lxm72aF/8T/sbHjDfxFnZOh9546wGN/IVDnKWbVUSLs7TY7t0izunDczgr9u7YmGJti3yZsC2bveQnVJ0GuX2Kk+QuTdLs0BmJQho8zVj7Os/Sv+nJHn8W0Men+gS2NMvp/lUs7TpCbGTTdEnz7IUdwt/Ag1qN6qDa3J0MkappcTI6+LvCalDO646PcWMvqtC9IYwOCKM7Rpjr5MLC2ZOkS68wfwRoDjJoPgDNt66tnoETx6dHg8iVjc/AeSS+/0FQu8hQTwDUWzqzAdTsivMmnk2YVumKCphWTQD3Ar+YlcubascyjqLiY6QBbIa4hwAETfwlI91VCX8A4E/oyhj0JUVQKfpTgP66mE6aAr+sOCrFn0/ZTwLAUF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wvSl7jwY7YgtfMgfV3ZPdr6bj5101wSB6z8vfS+PiGuyokdfTC9D2TfMLiQy9ZbiSjTT7AfKRFAlWAU5BI+ugMb6A6/64dOLgFq2JQ8gJR8LOQSYI1N5KeQyBu1uniCTW2mhrF7EX/0J0uYRu7Bkz2wA2ActxcjgH4LMozai/hjSytTyOyHurrY1WwqOYWUdaCri0VbAh9aSCIHurpY/HkpfGgltHHIq4s7FDy1+HbwfI36eSmuU7QqqWWp0mR547Sv3+kPVP9OP7/hDEoXklFltU/JsLT6VkCP+VcPiNYELDX4SwKem4AyM+1iZbz5njDFtjJsC87wR+llsFsEOtRDfLSTbeGXLTidH6ufYVvYhoZtwcn9uBehi0UZW060JQ8LNsnSkNVExQGA82SjPA1prVQcAgeEwCxXQ1p3FccAOksm+RrSWqw4AtBZGomzocG0UvJY5JF4GzqAC2nlSNwNHcCVEMkR+Rs6IKzVA4U1cDhq8aL9x8DLoqWJxGrbvT2M2FItskofR6y7XiSjz2pzl/esR+72mYN8QLTnoKWTz6hlDrLNLC2MiOPhLF8W39KIFkf8Bw==</diagram></mxfile>
\ No newline at end of file
<mxfile host="www.draw.io" modified="2019-10-07T18:01:38.574Z" agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0" etag="qt8PuLiEKo6fiJyl75yn" version="12.0.2" type="device" pages="1"><diagram id="47TQY3FRNxbV0jGJ7nrk" name="Page-1">7V1dj+I2FP01PO4ojuMkPO7MdNtttdJKW7XbvmWIgbRApiHz1V/fhMQM+JqSGYKvYyOttBMDAc719fU5x9gjerN8/rFI7udf8pQvRr6XPo/o7cj3SeTH1X91y0vTMg69pmFWZGn7pNeGb9m/vG0UT3vIUr7ee2KZ54syu99vnOSrFZ+Ue21JUeRP+0+b5ov9d71PZhw0fJskC9j6e5aW86Y1Zt5r+088m83FOxOvfWSZiCe3Det5kuZPO030hxG9KfK8bP5aPt/wRQ2ewKV53acDj24/WMFXZZcX/Bb+8tfN7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qRdwQkQWbxKIje1mwdaCuH59K+bhTKXkuFb1zKjWWp1Jybzv3TEpxnOpmTsCuvRG7tXdqACoYuqqsOH21jQSxOxJgv0/0SPiHIuHbHQm5QuJHYghnJso8j6CvHlMcmugW0VOFQHPP7XtVGc6cGZgA+H27780HcIBloXHA9q1r4wAbypY2OrBdDuNzi+Z1P8I2wHWtpNGP9kXzqG6apzhtbIjJLZM2A5K77xmqGaqjAcB2OPh7AMDKlMoAYBXnWTup+BB0O0hxSpibko8BoVD8vsJJzQc/FIPYu5zIh7fhD+yK3cvtVn0IWGGLLvsodjUH+LvF9TpvZ0uaDcmxuB7oTO8me1A0G0t3OjfbU2ztftoIaob4iO/YK3ZsHyKwsvhoALB26BOy+GgAsFCfcIPtBVGwHwp0MzM84MpZz/YYMy4UBzUQy9leSE0LRQRZy2kjvw6Ln6KTvejAaiFruy7wYtC5XtRhlu0W1xO5fJzrRVQdbBxfj/Xl6zHdvl5kByGRpXkDxlc7CIkstBsArB2GqSybGwDsQXphOdMDgwe6gxEdpBeWMz0w3OCH4qDFajnTAwMUfijO7uulyXq+eTE509ASoOt54t0GRZcNgM11uqwKgd70j42iy6MeaW8DtSlkNmRSCDv7lmC0k2nxudlsfPZtHc5eIdDPsCdx38xVR4UwALYDRpkzFQL9LG6iPInXjgph1M8Yondv/ANGO7nWnL1CQGY9LTjcA7i6V3a/rnNpPU/u+aa35A/pm9Wk6XTqT5RqUhrehayv/cY96QxsGvlXDGQjo7CLiJ/SnCEbIV07L9TxhKuhvotZwHpTixgV0IpOTM8IdnVZ5PXJGq9pUAEx/5KnvH7Gfw==</diagram></mxfile>
\ No newline at end of file
......@@ -50,14 +50,14 @@ Programming Languages
```c
enum weekday {Mon=0,Tue=1,Wed=2,Thu=3,Fri=4,Sat=5,Sun=6};
enum weekday meeting_day;
enum weekday meeting_day = Tue;
```
:arrow_right: They are equivalent to an `int` but with named values.
:bulb: It is often used together with a `typedef`:
```
typedef enum weekday {Mon,Tue,Wed,Thu,Fri,Sat,Sun}; wday;
typedef enum weekday {Mon,Tue,Wed,Thu,Fri,Sat,Sun} wday;
```
---
......@@ -187,15 +187,15 @@ ptrs[2] = &a;
## Structs
:arrow_right: User defined type for variables that can hold several data items of the same kind.
:arrow_right: User defined type for variables that can hold several data items of different kind.
```c
struct Books {
typedef struct {
char title[50];
char author[50];
char subject[100];
int book_id;
} book;
} book;
```
:arrow_right: Attribute `b` from a value of the struct `a` can be accessed with the `a.b` operator.
......@@ -541,7 +541,6 @@ void fun(const bigstruct *x){
![center](humor/two_states.jpg)
---
# Void pointers
......@@ -1003,4 +1002,4 @@ Programming languages are distinguished by the following **features**:
---
![](humor/programming_language_deep.jpg)
\ No newline at end of file
![center w:500](humor/programming_language_deep.jpg)
\ No newline at end of file
File added
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment