Skip to content

Commit be78bb0

Browse files
author
ranch
committed
changed files to md so they'll appear in my website
1 parent ceddb12 commit be78bb0

4 files changed

Lines changed: 17 additions & 10 deletions

File tree

docs/Teaching/C++/CS-2370/Projects/Project4/dynarray.h renamed to docs/Teaching/C++/CS-2370/Projects/Project4/dynarray.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
/*
1+
```cpp
2+
3+
`/*
24
* this file is intentionally incomplete, and is just an artifact from class
35
* when we were talking about a bunch of concepts. For more complete explanations
46
* refer to the md docs
@@ -66,3 +68,4 @@ class dynarray
6668
}
6769

6870
};
71+
```

docs/Teaching/C++/CS-2370/Projects/Project4/ex.py renamed to docs/Teaching/C++/CS-2370/Projects/Project4/ex.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
```py
12
'''
23
Note that dunder methods in python and operator overloads in C++ more or less do the same thing
34
@@ -20,3 +21,4 @@ def main():
2021
ex2 = Ex()
2122

2223
print(ex1 == ex2)
24+
```

docs/Teaching/C++/CS-2370/Projects/Project4/grow.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ The following will be the result of copying data from the region pointed to by d
3030

3131
### Initial State
3232

33-
STACK
34-
0x3001 dynarray
35-
0x3002 data*: 0x5AF1
36-
0x3003 grow()
37-
0x3004 temp*: 0x5CF1
38-
39-
HEAP
40-
0x5AF1\[ 0
41-
0x5AF2\] 1
33+
STACK
34+
0x3001 dynarray
35+
0x3002 data*: 0x5AF1
36+
0x3003 grow()
37+
0x3004 temp*: 0x5CF1
38+
39+
HEAP
40+
0x5AF1\[ 0
41+
0x5AF2\] 1
4242

4343
---
4444

docs/Teaching/C++/CS-2370/Projects/Project4/main.cpp renamed to docs/Teaching/C++/CS-2370/Projects/Project4/main.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
```cpp
12
#include "dynarray.h"
23
#include <iostream>
34

@@ -26,3 +27,4 @@ int main(){
2627
dynarray d1 = dynarray();
2728
dynarray d2 = d1;
2829
}
30+
```

0 commit comments

Comments
 (0)