-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcplusplus_array_understanding.drawio
73 lines (73 loc) · 6.92 KB
/
cplusplus_array_understanding.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<mxfile host="app.diagrams.net" modified="2022-10-24T06:37:47.738Z" agent="5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36" etag="nUtZPxDlmCkOdf0KI_1n" version="20.4.2" type="github">
<diagram id="2A4Di2E8eRPufRnOnVzE" name="Page-1">
<mxGraphModel dx="1298" dy="734" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-1" value="sizeof(Object)" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" vertex="1" parent="1">
<mxGeometry x="200" y="80" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-2" value="sizeof(Object)" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" vertex="1" parent="1">
<mxGeometry x="200" y="140" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-3" value="sizeof(Object)" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" vertex="1" parent="1">
<mxGeometry x="200" y="200" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-5" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="ZO2tDufkrAaqvZ-3gw2f-4" target="ZO2tDufkrAaqvZ-3gw2f-1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-4" value="Object *ptr<br>= new Object[3]" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="60" y="40" width="90" height="30" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-6" value="sizeof(Object)" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" vertex="1" parent="1">
<mxGeometry x="560" y="80" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-7" value="sizeof(Object)" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" vertex="1" parent="1">
<mxGeometry x="560" y="140" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-8" value="sizeof(Object)" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" vertex="1" parent="1">
<mxGeometry x="560" y="200" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-9" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="ZO2tDufkrAaqvZ-3gw2f-10" target="ZO2tDufkrAaqvZ-3gw2f-6">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-10" value="Object arr[3]" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="420" y="40" width="90" height="30" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-11" value="sizeof(Object)" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" vertex="1" parent="1">
<mxGeometry x="1020" y="80" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-12" value="sizeof(Object)" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" vertex="1" parent="1">
<mxGeometry x="1020" y="140" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-13" value="sizeof(Object)" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" vertex="1" parent="1">
<mxGeometry x="1020" y="200" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-19" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="ZO2tDufkrAaqvZ-3gw2f-15" target="ZO2tDufkrAaqvZ-3gw2f-16">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-15" value="Object* arr[3]" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="750" y="40" width="90" height="30" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-20" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0;entryDx=0;entryDy=0;dashed=1;" edge="1" parent="1" source="ZO2tDufkrAaqvZ-3gw2f-16" target="ZO2tDufkrAaqvZ-3gw2f-11">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-16" value="sizeof<br>(Pointer)" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" vertex="1" parent="1">
<mxGeometry x="880" y="125" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-21" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0;entryDx=0;entryDy=0;dashed=1;" edge="1" parent="1" source="ZO2tDufkrAaqvZ-3gw2f-17" target="ZO2tDufkrAaqvZ-3gw2f-12">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-17" value="sizeof<br>(Pointer)" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" vertex="1" parent="1">
<mxGeometry x="880" y="155" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-22" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0;entryDx=0;entryDy=0;dashed=1;" edge="1" parent="1" source="ZO2tDufkrAaqvZ-3gw2f-18" target="ZO2tDufkrAaqvZ-3gw2f-13">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ZO2tDufkrAaqvZ-3gw2f-18" value="sizeof<br>(Pointer)" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" vertex="1" parent="1">
<mxGeometry x="880" y="185" width="60" height="30" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>