Skip to content

Commit 1a38f62

Browse files
committed
队列和循环队列的
1 parent 7686d48 commit 1a38f62

File tree

16 files changed

+1071
-0
lines changed

16 files changed

+1071
-0
lines changed
Lines changed: 259 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,259 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
509B257F1EB8CF1A003F5BBD /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 509B257E1EB8CF1A003F5BBD /* main.c */; };
11+
509B25871EB8CF3A003F5BBD /* CycQueue.c in Sources */ = {isa = PBXBuildFile; fileRef = 509B25851EB8CF3A003F5BBD /* CycQueue.c */; };
12+
/* End PBXBuildFile section */
13+
14+
/* Begin PBXCopyFilesBuildPhase section */
15+
509B25791EB8CF1A003F5BBD /* CopyFiles */ = {
16+
isa = PBXCopyFilesBuildPhase;
17+
buildActionMask = 2147483647;
18+
dstPath = /usr/share/man/man1/;
19+
dstSubfolderSpec = 0;
20+
files = (
21+
);
22+
runOnlyForDeploymentPostprocessing = 1;
23+
};
24+
/* End PBXCopyFilesBuildPhase section */
25+
26+
/* Begin PBXFileReference section */
27+
509B257B1EB8CF1A003F5BBD /* 2.2 循环队列 */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "2.2 循环队列"; sourceTree = BUILT_PRODUCTS_DIR; };
28+
509B257E1EB8CF1A003F5BBD /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
29+
509B25851EB8CF3A003F5BBD /* CycQueue.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = CycQueue.c; sourceTree = "<group>"; };
30+
509B25861EB8CF3A003F5BBD /* CycQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CycQueue.h; sourceTree = "<group>"; };
31+
/* End PBXFileReference section */
32+
33+
/* Begin PBXFrameworksBuildPhase section */
34+
509B25781EB8CF1A003F5BBD /* Frameworks */ = {
35+
isa = PBXFrameworksBuildPhase;
36+
buildActionMask = 2147483647;
37+
files = (
38+
);
39+
runOnlyForDeploymentPostprocessing = 0;
40+
};
41+
/* End PBXFrameworksBuildPhase section */
42+
43+
/* Begin PBXGroup section */
44+
509B25721EB8CF1A003F5BBD = {
45+
isa = PBXGroup;
46+
children = (
47+
509B257D1EB8CF1A003F5BBD /* 2.2 循环队列 */,
48+
509B257C1EB8CF1A003F5BBD /* Products */,
49+
);
50+
sourceTree = "<group>";
51+
};
52+
509B257C1EB8CF1A003F5BBD /* Products */ = {
53+
isa = PBXGroup;
54+
children = (
55+
509B257B1EB8CF1A003F5BBD /* 2.2 循环队列 */,
56+
);
57+
name = Products;
58+
sourceTree = "<group>";
59+
};
60+
509B257D1EB8CF1A003F5BBD /* 2.2 循环队列 */ = {
61+
isa = PBXGroup;
62+
children = (
63+
509B257E1EB8CF1A003F5BBD /* main.c */,
64+
509B25861EB8CF3A003F5BBD /* CycQueue.h */,
65+
509B25851EB8CF3A003F5BBD /* CycQueue.c */,
66+
);
67+
path = "2.2 循环队列";
68+
sourceTree = "<group>";
69+
};
70+
/* End PBXGroup section */
71+
72+
/* Begin PBXNativeTarget section */
73+
509B257A1EB8CF1A003F5BBD /* 2.2 循环队列 */ = {
74+
isa = PBXNativeTarget;
75+
buildConfigurationList = 509B25821EB8CF1A003F5BBD /* Build configuration list for PBXNativeTarget "2.2 循环队列" */;
76+
buildPhases = (
77+
509B25771EB8CF1A003F5BBD /* Sources */,
78+
509B25781EB8CF1A003F5BBD /* Frameworks */,
79+
509B25791EB8CF1A003F5BBD /* CopyFiles */,
80+
);
81+
buildRules = (
82+
);
83+
dependencies = (
84+
);
85+
name = "2.2 循环队列";
86+
productName = "2.2 循环队列";
87+
productReference = 509B257B1EB8CF1A003F5BBD /* 2.2 循环队列 */;
88+
productType = "com.apple.product-type.tool";
89+
};
90+
/* End PBXNativeTarget section */
91+
92+
/* Begin PBXProject section */
93+
509B25731EB8CF1A003F5BBD /* Project object */ = {
94+
isa = PBXProject;
95+
attributes = {
96+
LastUpgradeCheck = 0820;
97+
ORGANIZATIONNAME = wangx;
98+
TargetAttributes = {
99+
509B257A1EB8CF1A003F5BBD = {
100+
CreatedOnToolsVersion = 8.2;
101+
ProvisioningStyle = Automatic;
102+
};
103+
};
104+
};
105+
buildConfigurationList = 509B25761EB8CF1A003F5BBD /* Build configuration list for PBXProject "2.2 循环队列" */;
106+
compatibilityVersion = "Xcode 3.2";
107+
developmentRegion = English;
108+
hasScannedForEncodings = 0;
109+
knownRegions = (
110+
en,
111+
);
112+
mainGroup = 509B25721EB8CF1A003F5BBD;
113+
productRefGroup = 509B257C1EB8CF1A003F5BBD /* Products */;
114+
projectDirPath = "";
115+
projectRoot = "";
116+
targets = (
117+
509B257A1EB8CF1A003F5BBD /* 2.2 循环队列 */,
118+
);
119+
};
120+
/* End PBXProject section */
121+
122+
/* Begin PBXSourcesBuildPhase section */
123+
509B25771EB8CF1A003F5BBD /* Sources */ = {
124+
isa = PBXSourcesBuildPhase;
125+
buildActionMask = 2147483647;
126+
files = (
127+
509B257F1EB8CF1A003F5BBD /* main.c in Sources */,
128+
509B25871EB8CF3A003F5BBD /* CycQueue.c in Sources */,
129+
);
130+
runOnlyForDeploymentPostprocessing = 0;
131+
};
132+
/* End PBXSourcesBuildPhase section */
133+
134+
/* Begin XCBuildConfiguration section */
135+
509B25801EB8CF1A003F5BBD /* Debug */ = {
136+
isa = XCBuildConfiguration;
137+
buildSettings = {
138+
ALWAYS_SEARCH_USER_PATHS = NO;
139+
CLANG_ANALYZER_NONNULL = YES;
140+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
141+
CLANG_CXX_LIBRARY = "libc++";
142+
CLANG_ENABLE_MODULES = YES;
143+
CLANG_ENABLE_OBJC_ARC = YES;
144+
CLANG_WARN_BOOL_CONVERSION = YES;
145+
CLANG_WARN_CONSTANT_CONVERSION = YES;
146+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
147+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
148+
CLANG_WARN_EMPTY_BODY = YES;
149+
CLANG_WARN_ENUM_CONVERSION = YES;
150+
CLANG_WARN_INFINITE_RECURSION = YES;
151+
CLANG_WARN_INT_CONVERSION = YES;
152+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
153+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
154+
CLANG_WARN_UNREACHABLE_CODE = YES;
155+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
156+
CODE_SIGN_IDENTITY = "-";
157+
COPY_PHASE_STRIP = NO;
158+
DEBUG_INFORMATION_FORMAT = dwarf;
159+
ENABLE_STRICT_OBJC_MSGSEND = YES;
160+
ENABLE_TESTABILITY = YES;
161+
GCC_C_LANGUAGE_STANDARD = gnu99;
162+
GCC_DYNAMIC_NO_PIC = NO;
163+
GCC_NO_COMMON_BLOCKS = YES;
164+
GCC_OPTIMIZATION_LEVEL = 0;
165+
GCC_PREPROCESSOR_DEFINITIONS = (
166+
"DEBUG=1",
167+
"$(inherited)",
168+
);
169+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
170+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
171+
GCC_WARN_UNDECLARED_SELECTOR = YES;
172+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
173+
GCC_WARN_UNUSED_FUNCTION = YES;
174+
GCC_WARN_UNUSED_VARIABLE = YES;
175+
MACOSX_DEPLOYMENT_TARGET = 10.12;
176+
MTL_ENABLE_DEBUG_INFO = YES;
177+
ONLY_ACTIVE_ARCH = YES;
178+
SDKROOT = macosx;
179+
};
180+
name = Debug;
181+
};
182+
509B25811EB8CF1A003F5BBD /* Release */ = {
183+
isa = XCBuildConfiguration;
184+
buildSettings = {
185+
ALWAYS_SEARCH_USER_PATHS = NO;
186+
CLANG_ANALYZER_NONNULL = YES;
187+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
188+
CLANG_CXX_LIBRARY = "libc++";
189+
CLANG_ENABLE_MODULES = YES;
190+
CLANG_ENABLE_OBJC_ARC = YES;
191+
CLANG_WARN_BOOL_CONVERSION = YES;
192+
CLANG_WARN_CONSTANT_CONVERSION = YES;
193+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
194+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
195+
CLANG_WARN_EMPTY_BODY = YES;
196+
CLANG_WARN_ENUM_CONVERSION = YES;
197+
CLANG_WARN_INFINITE_RECURSION = YES;
198+
CLANG_WARN_INT_CONVERSION = YES;
199+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
200+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
201+
CLANG_WARN_UNREACHABLE_CODE = YES;
202+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
203+
CODE_SIGN_IDENTITY = "-";
204+
COPY_PHASE_STRIP = NO;
205+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
206+
ENABLE_NS_ASSERTIONS = NO;
207+
ENABLE_STRICT_OBJC_MSGSEND = YES;
208+
GCC_C_LANGUAGE_STANDARD = gnu99;
209+
GCC_NO_COMMON_BLOCKS = YES;
210+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
211+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
212+
GCC_WARN_UNDECLARED_SELECTOR = YES;
213+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
214+
GCC_WARN_UNUSED_FUNCTION = YES;
215+
GCC_WARN_UNUSED_VARIABLE = YES;
216+
MACOSX_DEPLOYMENT_TARGET = 10.12;
217+
MTL_ENABLE_DEBUG_INFO = NO;
218+
SDKROOT = macosx;
219+
};
220+
name = Release;
221+
};
222+
509B25831EB8CF1A003F5BBD /* Debug */ = {
223+
isa = XCBuildConfiguration;
224+
buildSettings = {
225+
PRODUCT_NAME = "$(TARGET_NAME)";
226+
};
227+
name = Debug;
228+
};
229+
509B25841EB8CF1A003F5BBD /* Release */ = {
230+
isa = XCBuildConfiguration;
231+
buildSettings = {
232+
PRODUCT_NAME = "$(TARGET_NAME)";
233+
};
234+
name = Release;
235+
};
236+
/* End XCBuildConfiguration section */
237+
238+
/* Begin XCConfigurationList section */
239+
509B25761EB8CF1A003F5BBD /* Build configuration list for PBXProject "2.2 循环队列" */ = {
240+
isa = XCConfigurationList;
241+
buildConfigurations = (
242+
509B25801EB8CF1A003F5BBD /* Debug */,
243+
509B25811EB8CF1A003F5BBD /* Release */,
244+
);
245+
defaultConfigurationIsVisible = 0;
246+
defaultConfigurationName = Release;
247+
};
248+
509B25821EB8CF1A003F5BBD /* Build configuration list for PBXNativeTarget "2.2 循环队列" */ = {
249+
isa = XCConfigurationList;
250+
buildConfigurations = (
251+
509B25831EB8CF1A003F5BBD /* Debug */,
252+
509B25841EB8CF1A003F5BBD /* Release */,
253+
);
254+
defaultConfigurationIsVisible = 0;
255+
};
256+
/* End XCConfigurationList section */
257+
};
258+
rootObject = 509B25731EB8CF1A003F5BBD /* Project object */;
259+
}

数据结构和算法/第二张 简单数据结构/2.2 循环队列/2.2 循环队列.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0820"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "509B257A1EB8CF1A003F5BBD"
18+
BuildableName = "2.2 &#x5faa;&#x73af;&#x961f;&#x5217;"
19+
BlueprintName = "2.2 &#x5faa;&#x73af;&#x961f;&#x5217;"
20+
ReferencedContainer = "container:2.2 &#x5faa;&#x73af;&#x961f;&#x5217;.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
<MacroExpansion>
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "509B257A1EB8CF1A003F5BBD"
36+
BuildableName = "2.2 &#x5faa;&#x73af;&#x961f;&#x5217;"
37+
BlueprintName = "2.2 &#x5faa;&#x73af;&#x961f;&#x5217;"
38+
ReferencedContainer = "container:2.2 &#x5faa;&#x73af;&#x961f;&#x5217;.xcodeproj">
39+
</BuildableReference>
40+
</MacroExpansion>
41+
<AdditionalOptions>
42+
</AdditionalOptions>
43+
</TestAction>
44+
<LaunchAction
45+
buildConfiguration = "Debug"
46+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
47+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
48+
launchStyle = "0"
49+
useCustomWorkingDirectory = "NO"
50+
ignoresPersistentStateOnLaunch = "NO"
51+
debugDocumentVersioning = "YES"
52+
debugServiceExtension = "internal"
53+
allowLocationSimulation = "YES">
54+
<BuildableProductRunnable
55+
runnableDebuggingMode = "0">
56+
<BuildableReference
57+
BuildableIdentifier = "primary"
58+
BlueprintIdentifier = "509B257A1EB8CF1A003F5BBD"
59+
BuildableName = "2.2 &#x5faa;&#x73af;&#x961f;&#x5217;"
60+
BlueprintName = "2.2 &#x5faa;&#x73af;&#x961f;&#x5217;"
61+
ReferencedContainer = "container:2.2 &#x5faa;&#x73af;&#x961f;&#x5217;.xcodeproj">
62+
</BuildableReference>
63+
</BuildableProductRunnable>
64+
<AdditionalOptions>
65+
</AdditionalOptions>
66+
</LaunchAction>
67+
<ProfileAction
68+
buildConfiguration = "Release"
69+
shouldUseLaunchSchemeArgsEnv = "YES"
70+
savedToolIdentifier = ""
71+
useCustomWorkingDirectory = "NO"
72+
debugDocumentVersioning = "YES">
73+
<BuildableProductRunnable
74+
runnableDebuggingMode = "0">
75+
<BuildableReference
76+
BuildableIdentifier = "primary"
77+
BlueprintIdentifier = "509B257A1EB8CF1A003F5BBD"
78+
BuildableName = "2.2 &#x5faa;&#x73af;&#x961f;&#x5217;"
79+
BlueprintName = "2.2 &#x5faa;&#x73af;&#x961f;&#x5217;"
80+
ReferencedContainer = "container:2.2 &#x5faa;&#x73af;&#x961f;&#x5217;.xcodeproj">
81+
</BuildableReference>
82+
</BuildableProductRunnable>
83+
</ProfileAction>
84+
<AnalyzeAction
85+
buildConfiguration = "Debug">
86+
</AnalyzeAction>
87+
<ArchiveAction
88+
buildConfiguration = "Release"
89+
revealArchiveInOrganizer = "YES">
90+
</ArchiveAction>
91+
</Scheme>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>SchemeUserState</key>
6+
<dict>
7+
<key>2.2 循环队列.xcscheme</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
</dict>
13+
<key>SuppressBuildableAutocreation</key>
14+
<dict>
15+
<key>509B257A1EB8CF1A003F5BBD</key>
16+
<dict>
17+
<key>primary</key>
18+
<true/>
19+
</dict>
20+
</dict>
21+
</dict>
22+
</plist>

0 commit comments

Comments
 (0)