Skip to content

Commit 553f94a

Browse files
committed
Added Section 13 material.
1 parent 66c62c8 commit 553f94a

File tree

104 files changed

+6444
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+6444
-0
lines changed
6 KB
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,201 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Session Name="C:\Users\frank\Desktop\CPPExamples\Section13\Section13.workspace">
3+
<int Value="0" Name="m_selectedTab"/>
4+
<wxString Value="C:\Users\frank\Desktop\CPPExamples\Section13\Section13.workspace" Name="m_workspaceName"/>
5+
<TabInfoArray Name="TabInfoArray"/>
6+
<SerializedObject Name="m_breakpoints">
7+
<long Value="12" Name="Count"/>
8+
<SerializedObject Name="Breakpoint0">
9+
<wxString Value="C:\Users\frank\Desktop\CPPExamples\Section13\Section13\Challenge\main.cpp" Name="file"/>
10+
<int Value="58" Name="lineno"/>
11+
<wxString Value="" Name="function_name"/>
12+
<wxString Value="" Name="memory_address"/>
13+
<int Value="1" Name="bp_type"/>
14+
<int Value="0" Name="watchpoint_type"/>
15+
<wxString Value="" Name="watchpt_data"/>
16+
<CData Name="commandlist"/>
17+
<bool Value="0" Name="regex"/>
18+
<bool Value="0" Name="is_temp"/>
19+
<bool Value="1" Name="is_enabled"/>
20+
<int Value="0" Name="ignore_number"/>
21+
<wxString Value="" Name="conditions"/>
22+
<int Value="0" Name="origin"/>
23+
</SerializedObject>
24+
<SerializedObject Name="Breakpoint1">
25+
<wxString Value="C:\Users\frank\Desktop\CPPExamples\Section13\Section13\DeclareClassAndObjects\main.cpp" Name="file"/>
26+
<int Value="30" Name="lineno"/>
27+
<wxString Value="" Name="function_name"/>
28+
<wxString Value="" Name="memory_address"/>
29+
<int Value="1" Name="bp_type"/>
30+
<int Value="0" Name="watchpoint_type"/>
31+
<wxString Value="" Name="watchpt_data"/>
32+
<CData Name="commandlist"/>
33+
<bool Value="0" Name="regex"/>
34+
<bool Value="0" Name="is_temp"/>
35+
<bool Value="1" Name="is_enabled"/>
36+
<int Value="0" Name="ignore_number"/>
37+
<wxString Value="" Name="conditions"/>
38+
<int Value="0" Name="origin"/>
39+
</SerializedObject>
40+
<SerializedObject Name="Breakpoint2">
41+
<wxString Value="C:\Users\frank\Desktop\CPPExamples\Section13\Section13\DeepCopy\main.cpp" Name="file"/>
42+
<int Value="21" Name="lineno"/>
43+
<wxString Value="" Name="function_name"/>
44+
<wxString Value="" Name="memory_address"/>
45+
<int Value="1" Name="bp_type"/>
46+
<int Value="0" Name="watchpoint_type"/>
47+
<wxString Value="" Name="watchpt_data"/>
48+
<CData Name="commandlist"/>
49+
<bool Value="0" Name="regex"/>
50+
<bool Value="0" Name="is_temp"/>
51+
<bool Value="1" Name="is_enabled"/>
52+
<int Value="0" Name="ignore_number"/>
53+
<wxString Value="" Name="conditions"/>
54+
<int Value="0" Name="origin"/>
55+
</SerializedObject>
56+
<SerializedObject Name="Breakpoint3">
57+
<wxString Value="C:\Users\frank\Desktop\CPPExamples\Section13\Section13\DeepCopy\main.cpp" Name="file"/>
58+
<int Value="26" Name="lineno"/>
59+
<wxString Value="" Name="function_name"/>
60+
<wxString Value="" Name="memory_address"/>
61+
<int Value="1" Name="bp_type"/>
62+
<int Value="0" Name="watchpoint_type"/>
63+
<wxString Value="" Name="watchpt_data"/>
64+
<CData Name="commandlist"/>
65+
<bool Value="0" Name="regex"/>
66+
<bool Value="0" Name="is_temp"/>
67+
<bool Value="1" Name="is_enabled"/>
68+
<int Value="0" Name="ignore_number"/>
69+
<wxString Value="" Name="conditions"/>
70+
<int Value="0" Name="origin"/>
71+
</SerializedObject>
72+
<SerializedObject Name="Breakpoint4">
73+
<wxString Value="C:\Users\frank\Desktop\CPPExamples\Section13\Section13\DeepCopy\main.cpp" Name="file"/>
74+
<int Value="31" Name="lineno"/>
75+
<wxString Value="" Name="function_name"/>
76+
<wxString Value="" Name="memory_address"/>
77+
<int Value="1" Name="bp_type"/>
78+
<int Value="0" Name="watchpoint_type"/>
79+
<wxString Value="" Name="watchpt_data"/>
80+
<CData Name="commandlist"/>
81+
<bool Value="0" Name="regex"/>
82+
<bool Value="0" Name="is_temp"/>
83+
<bool Value="1" Name="is_enabled"/>
84+
<int Value="0" Name="ignore_number"/>
85+
<wxString Value="" Name="conditions"/>
86+
<int Value="0" Name="origin"/>
87+
</SerializedObject>
88+
<SerializedObject Name="Breakpoint5">
89+
<wxString Value="C:\Users\frank\Desktop\CPPExamples\Section13\Section13\DeepCopy\main.cpp" Name="file"/>
90+
<int Value="36" Name="lineno"/>
91+
<wxString Value="" Name="function_name"/>
92+
<wxString Value="" Name="memory_address"/>
93+
<int Value="1" Name="bp_type"/>
94+
<int Value="0" Name="watchpoint_type"/>
95+
<wxString Value="" Name="watchpt_data"/>
96+
<CData Name="commandlist"/>
97+
<bool Value="0" Name="regex"/>
98+
<bool Value="0" Name="is_temp"/>
99+
<bool Value="1" Name="is_enabled"/>
100+
<int Value="0" Name="ignore_number"/>
101+
<wxString Value="" Name="conditions"/>
102+
<int Value="0" Name="origin"/>
103+
</SerializedObject>
104+
<SerializedObject Name="Breakpoint6">
105+
<wxString Value="C:\Users\frank\Desktop\CPPExamples\Section13\Section13\DeepCopy\main.cpp" Name="file"/>
106+
<int Value="42" Name="lineno"/>
107+
<wxString Value="" Name="function_name"/>
108+
<wxString Value="" Name="memory_address"/>
109+
<int Value="1" Name="bp_type"/>
110+
<int Value="0" Name="watchpoint_type"/>
111+
<wxString Value="" Name="watchpt_data"/>
112+
<CData Name="commandlist"/>
113+
<bool Value="0" Name="regex"/>
114+
<bool Value="0" Name="is_temp"/>
115+
<bool Value="1" Name="is_enabled"/>
116+
<int Value="0" Name="ignore_number"/>
117+
<wxString Value="" Name="conditions"/>
118+
<int Value="0" Name="origin"/>
119+
</SerializedObject>
120+
<SerializedObject Name="Breakpoint7">
121+
<wxString Value="C:\Users\frank\Desktop\CPPExamples\Section13\Section13\MoveConstructor\main.cpp" Name="file"/>
122+
<int Value="24" Name="lineno"/>
123+
<wxString Value="" Name="function_name"/>
124+
<wxString Value="" Name="memory_address"/>
125+
<int Value="1" Name="bp_type"/>
126+
<int Value="0" Name="watchpoint_type"/>
127+
<wxString Value="" Name="watchpt_data"/>
128+
<CData Name="commandlist"/>
129+
<bool Value="0" Name="regex"/>
130+
<bool Value="0" Name="is_temp"/>
131+
<bool Value="1" Name="is_enabled"/>
132+
<int Value="0" Name="ignore_number"/>
133+
<wxString Value="" Name="conditions"/>
134+
<int Value="0" Name="origin"/>
135+
</SerializedObject>
136+
<SerializedObject Name="Breakpoint8">
137+
<wxString Value="C:\Users\frank\Desktop\CPPExamples\Section13\Section13\MoveConstructor\main.cpp" Name="file"/>
138+
<int Value="31" Name="lineno"/>
139+
<wxString Value="" Name="function_name"/>
140+
<wxString Value="" Name="memory_address"/>
141+
<int Value="1" Name="bp_type"/>
142+
<int Value="0" Name="watchpoint_type"/>
143+
<wxString Value="" Name="watchpt_data"/>
144+
<CData Name="commandlist"/>
145+
<bool Value="0" Name="regex"/>
146+
<bool Value="0" Name="is_temp"/>
147+
<bool Value="1" Name="is_enabled"/>
148+
<int Value="0" Name="ignore_number"/>
149+
<wxString Value="" Name="conditions"/>
150+
<int Value="0" Name="origin"/>
151+
</SerializedObject>
152+
<SerializedObject Name="Breakpoint9">
153+
<wxString Value="C:\Users\frank\Desktop\CPPExamples\Section13\Section13\MoveConstructor\main.cpp" Name="file"/>
154+
<int Value="37" Name="lineno"/>
155+
<wxString Value="" Name="function_name"/>
156+
<wxString Value="" Name="memory_address"/>
157+
<int Value="1" Name="bp_type"/>
158+
<int Value="0" Name="watchpoint_type"/>
159+
<wxString Value="" Name="watchpt_data"/>
160+
<CData Name="commandlist"/>
161+
<bool Value="0" Name="regex"/>
162+
<bool Value="0" Name="is_temp"/>
163+
<bool Value="1" Name="is_enabled"/>
164+
<int Value="0" Name="ignore_number"/>
165+
<wxString Value="" Name="conditions"/>
166+
<int Value="0" Name="origin"/>
167+
</SerializedObject>
168+
<SerializedObject Name="Breakpoint10">
169+
<wxString Value="C:\Users\frank\Desktop\CPPExamples\Section13\Section13\MoveConstructor\main.cpp" Name="file"/>
170+
<int Value="43" Name="lineno"/>
171+
<wxString Value="" Name="function_name"/>
172+
<wxString Value="" Name="memory_address"/>
173+
<int Value="1" Name="bp_type"/>
174+
<int Value="0" Name="watchpoint_type"/>
175+
<wxString Value="" Name="watchpt_data"/>
176+
<CData Name="commandlist"/>
177+
<bool Value="0" Name="regex"/>
178+
<bool Value="0" Name="is_temp"/>
179+
<bool Value="1" Name="is_enabled"/>
180+
<int Value="0" Name="ignore_number"/>
181+
<wxString Value="" Name="conditions"/>
182+
<int Value="0" Name="origin"/>
183+
</SerializedObject>
184+
<SerializedObject Name="Breakpoint11">
185+
<wxString Value="C:\Users\frank\Desktop\CPPExamples\Section13\Section13\MoveConstructor\main.cpp" Name="file"/>
186+
<int Value="55" Name="lineno"/>
187+
<wxString Value="" Name="function_name"/>
188+
<wxString Value="" Name="memory_address"/>
189+
<int Value="1" Name="bp_type"/>
190+
<int Value="0" Name="watchpoint_type"/>
191+
<wxString Value="" Name="watchpt_data"/>
192+
<CData Name="commandlist"/>
193+
<bool Value="0" Name="regex"/>
194+
<bool Value="0" Name="is_temp"/>
195+
<bool Value="1" Name="is_enabled"/>
196+
<int Value="0" Name="ignore_number"/>
197+
<wxString Value="" Name="conditions"/>
198+
<int Value="0" Name="origin"/>
199+
</SerializedObject>
200+
</SerializedObject>
201+
</Session>
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Workspace>
3+
<Project Name="MoveConstructor">
4+
<Options/>
5+
</Project>
6+
<WorkspaceParserPaths/>
7+
<Environment Name="&lt;Use Defaults&gt;"/>
8+
<WorkspaceParserFlags flags="2"/>
9+
<WorkspaceParserMacros/>
10+
</Workspace>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
##
2+
## Auto Generated makefile by CodeLite IDE
3+
## any manual changes will be erased
4+
##
5+
## Debug
6+
ProjectName :=AccessModifiers
7+
ConfigurationName :=Debug
8+
WorkspacePath :=C:/Users/frank/Desktop/CPPExamples/Section13
9+
ProjectPath :=C:/Users/frank/Desktop/CPPExamples/Section13/AccessModifiers
10+
IntermediateDirectory :=./Debug
11+
OutDir := $(IntermediateDirectory)
12+
CurrentFileName :=
13+
CurrentFilePath :=
14+
CurrentFileFullPath :=
15+
User :=frank
16+
Date :=31/01/2018
17+
CodeLitePath :="C:/Program Files/CodeLite"
18+
LinkerName :=C:/MinGW/bin/g++.exe
19+
SharedObjectLinkerName :=C:/MinGW/bin/g++.exe -shared -fPIC
20+
ObjectSuffix :=.o
21+
DependSuffix :=.o.d
22+
PreprocessSuffix :=.i
23+
DebugSwitch :=-g
24+
IncludeSwitch :=-I
25+
LibrarySwitch :=-l
26+
OutputSwitch :=-o
27+
LibraryPathSwitch :=-L
28+
PreprocessorSwitch :=-D
29+
SourceSwitch :=-c
30+
OutputFile :=$(IntermediateDirectory)/$(ProjectName)
31+
Preprocessors :=
32+
ObjectSwitch :=-o
33+
ArchiveOutputSwitch :=
34+
PreprocessOnlySwitch :=-E
35+
ObjectsFileList :="AccessModifiers.txt"
36+
PCHCompileFlags :=
37+
MakeDirCommand :=makedir
38+
RcCmpOptions :=
39+
RcCompilerName :=C:/MinGW/bin/windres.exe
40+
LinkOptions :=
41+
IncludePath := $(IncludeSwitch). $(IncludeSwitch).
42+
IncludePCH :=
43+
RcIncludePath :=
44+
Libs :=
45+
ArLibs :=
46+
LibPath := $(LibraryPathSwitch).
47+
48+
##
49+
## Common variables
50+
## AR, CXX, CC, AS, CXXFLAGS and CFLAGS can be overriden using an environment variables
51+
##
52+
AR := C:/MinGW/bin/ar.exe rcu
53+
CXX := C:/MinGW/bin/g++.exe
54+
CC := C:/MinGW/bin/gcc.exe
55+
CXXFLAGS := -std=c++14 -Wall -g -O0 -std=c++14 -Wall $(Preprocessors)
56+
CFLAGS := -g -O0 -Wall $(Preprocessors)
57+
ASFLAGS :=
58+
AS := C:/MinGW/bin/as.exe
59+
60+
61+
##
62+
## User defined environment variables
63+
##
64+
CodeLiteDir:=C:\Program Files\CodeLite
65+
Objects0=$(IntermediateDirectory)/main.cpp$(ObjectSuffix)
66+
67+
68+
69+
Objects=$(Objects0)
70+
71+
##
72+
## Main Build Targets
73+
##
74+
.PHONY: all clean PreBuild PrePreBuild PostBuild MakeIntermediateDirs
75+
all: $(OutputFile)
76+
77+
$(OutputFile): $(IntermediateDirectory)/.d $(Objects)
78+
@$(MakeDirCommand) $(@D)
79+
@echo "" > $(IntermediateDirectory)/.d
80+
@echo $(Objects0) > $(ObjectsFileList)
81+
$(LinkerName) $(OutputSwitch)$(OutputFile) @$(ObjectsFileList) $(LibPath) $(Libs) $(LinkOptions)
82+
83+
MakeIntermediateDirs:
84+
@$(MakeDirCommand) "./Debug"
85+
86+
87+
$(IntermediateDirectory)/.d:
88+
@$(MakeDirCommand) "./Debug"
89+
90+
PreBuild:
91+
92+
93+
##
94+
## Objects
95+
##
96+
$(IntermediateDirectory)/main.cpp$(ObjectSuffix): main.cpp $(IntermediateDirectory)/main.cpp$(DependSuffix)
97+
$(CXX) $(IncludePCH) $(SourceSwitch) "C:/Users/frank/Desktop/CPPExamples/Section13/AccessModifiers/main.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/main.cpp$(ObjectSuffix) $(IncludePath)
98+
$(IntermediateDirectory)/main.cpp$(DependSuffix): main.cpp
99+
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/main.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/main.cpp$(DependSuffix) -MM main.cpp
100+
101+
$(IntermediateDirectory)/main.cpp$(PreprocessSuffix): main.cpp
102+
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/main.cpp$(PreprocessSuffix) main.cpp
103+
104+
105+
-include $(IntermediateDirectory)/*$(DependSuffix)
106+
##
107+
## Clean
108+
##
109+
clean:
110+
$(RM) -r ./Debug/
111+
112+

0 commit comments

Comments
 (0)