├── DVDTracker v2 ├── DVDTracker.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ └── Mark.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── Mark.xcuserdatad │ │ ├── xcdebugger │ │ └── Breakpoints.xcbkptlist │ │ └── xcschemes │ │ ├── DVDTracker.xcscheme │ │ └── xcschememanagement.plist └── DVDTracker │ ├── DVDTracker.1 │ ├── main.c │ └── main.h ├── DVDTracker v3 ├── DVDTracker.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ └── Mark.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── Mark.xcuserdatad │ │ ├── xcdebugger │ │ └── Breakpoints.xcbkptlist │ │ └── xcschemes │ │ ├── DVDTracker.xcscheme │ │ └── xcschememanagement.plist └── DVDTracker │ ├── DVDTracker.1 │ ├── main.c │ └── main.h ├── DVDTracker ├── DVDTracker.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ └── Mark.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── Mark.xcuserdatad │ │ ├── xcdebugger │ │ └── Breakpoints.xcbkptlist │ │ └── xcschemes │ │ ├── DVDTracker.xcscheme │ │ └── xcschememanagement.plist └── DVDTracker │ ├── DVDTracker.1 │ ├── main.c │ └── main.h ├── Movies ├── Movies.1 ├── Movies.xcodeproj │ ├── Mark.mode1v3 │ ├── Mark.pbxuser │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ └── Mark.xcuserdatad │ │ │ ├── UserInterfaceState.xcuserstate │ │ │ └── WorkspaceSettings.xcsettings │ └── xcuserdata │ │ └── Mark.xcuserdatad │ │ ├── xcdebugger │ │ └── Breakpoints.xcbkptlist │ │ └── xcschemes │ │ ├── Movies.xcscheme │ │ └── xcschememanagement.plist ├── build │ ├── Debug │ │ └── Movies │ └── Movies.build │ │ ├── Debug │ │ └── Movies.build │ │ │ ├── Movies-all-target-headers.hmap │ │ │ ├── Movies-generated-files.hmap │ │ │ ├── Movies-own-target-headers.hmap │ │ │ ├── Movies-project-headers.hmap │ │ │ ├── Movies.dep │ │ │ ├── Movies.hmap │ │ │ ├── Movies~.dep │ │ │ ├── Objects-normal │ │ │ └── x86_64 │ │ │ │ ├── Movies.LinkFileList │ │ │ │ └── main.o │ │ │ ├── build-state.dat │ │ │ └── build-state~.dat │ │ └── Movies.pbxindex │ │ ├── categories.pbxbtree │ │ ├── cdecls.pbxbtree │ │ ├── decls.pbxbtree │ │ ├── files.pbxbtree │ │ ├── imports.pbxbtree │ │ ├── pbxindex.header │ │ ├── protocols.pbxbtree │ │ ├── refs.pbxbtree │ │ ├── strings.pbxstrings │ │ ├── control │ │ └── strings │ │ ├── subclasses.pbxbtree │ │ └── symbols0.pbxsymbols └── main.c ├── Movies2 ├── Movies2.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ └── Mark.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── Mark.xcuserdatad │ │ ├── xcdebugger │ │ └── Breakpoints.xcbkptlist │ │ └── xcschemes │ │ ├── Movies2.xcscheme │ │ └── xcschememanagement.plist └── Movies2 │ ├── Movies2.1 │ ├── main.c │ └── main.h ├── Palindrome ├── Palindrome.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ └── Mark.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── Mark.xcuserdatad │ │ ├── xcdebugger │ │ └── Breakpoints.xcbkptlist │ │ └── xcschemes │ │ ├── Palindrome.xcscheme │ │ └── xcschememanagement.plist └── Palindrome │ ├── Palindrome.1 │ └── main.c ├── README ├── Zakopy ├── Zakopy.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ └── Mark.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── Mark.xcuserdatad │ │ ├── xcdebugger │ │ └── Breakpoints.xcbkptlist │ │ └── xcschemes │ │ ├── Zakopy.xcscheme │ │ └── xcschememanagement.plist └── Zakopy │ ├── Zakopy.1 │ └── main.c └── printFile ├── My Data File ├── printFile.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── Mark.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── xcuserdata │ └── Mark.xcuserdatad │ └── xcschemes │ ├── printFile.xcscheme │ └── xcschememanagement.plist └── printFile ├── main.c └── printFile.1 /DVDTracker v2/DVDTracker.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 4D63A07A13E420C7006952FD /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 4D63A07913E420C7006952FD /* main.c */; }; 11 | 4D63A07C13E420C7006952FD /* DVDTracker.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = 4D63A07B13E420C7006952FD /* DVDTracker.1 */; }; 12 | /* End PBXBuildFile section */ 13 | 14 | /* Begin PBXCopyFilesBuildPhase section */ 15 | 4D63A07313E420C7006952FD /* CopyFiles */ = { 16 | isa = PBXCopyFilesBuildPhase; 17 | buildActionMask = 2147483647; 18 | dstPath = /usr/share/man/man1/; 19 | dstSubfolderSpec = 0; 20 | files = ( 21 | 4D63A07C13E420C7006952FD /* DVDTracker.1 in CopyFiles */, 22 | ); 23 | runOnlyForDeploymentPostprocessing = 1; 24 | }; 25 | /* End PBXCopyFilesBuildPhase section */ 26 | 27 | /* Begin PBXFileReference section */ 28 | 4D63A07513E420C7006952FD /* DVDTracker */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = DVDTracker; sourceTree = BUILT_PRODUCTS_DIR; }; 29 | 4D63A07913E420C7006952FD /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; }; 30 | 4D63A07B13E420C7006952FD /* DVDTracker.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = DVDTracker.1; sourceTree = ""; }; 31 | 4D63A08213E420F5006952FD /* main.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = main.h; sourceTree = ""; }; 32 | /* End PBXFileReference section */ 33 | 34 | /* Begin PBXFrameworksBuildPhase section */ 35 | 4D63A07213E420C7006952FD /* Frameworks */ = { 36 | isa = PBXFrameworksBuildPhase; 37 | buildActionMask = 2147483647; 38 | files = ( 39 | ); 40 | runOnlyForDeploymentPostprocessing = 0; 41 | }; 42 | /* End PBXFrameworksBuildPhase section */ 43 | 44 | /* Begin PBXGroup section */ 45 | 4D63A06A13E420C6006952FD = { 46 | isa = PBXGroup; 47 | children = ( 48 | 4D63A07813E420C7006952FD /* DVDTracker */, 49 | 4D63A07613E420C7006952FD /* Products */, 50 | ); 51 | sourceTree = ""; 52 | }; 53 | 4D63A07613E420C7006952FD /* Products */ = { 54 | isa = PBXGroup; 55 | children = ( 56 | 4D63A07513E420C7006952FD /* DVDTracker */, 57 | ); 58 | name = Products; 59 | sourceTree = ""; 60 | }; 61 | 4D63A07813E420C7006952FD /* DVDTracker */ = { 62 | isa = PBXGroup; 63 | children = ( 64 | 4D63A07913E420C7006952FD /* main.c */, 65 | 4D63A08213E420F5006952FD /* main.h */, 66 | 4D63A07B13E420C7006952FD /* DVDTracker.1 */, 67 | ); 68 | path = DVDTracker; 69 | sourceTree = ""; 70 | }; 71 | /* End PBXGroup section */ 72 | 73 | /* Begin PBXNativeTarget section */ 74 | 4D63A07413E420C7006952FD /* DVDTracker */ = { 75 | isa = PBXNativeTarget; 76 | buildConfigurationList = 4D63A07F13E420C7006952FD /* Build configuration list for PBXNativeTarget "DVDTracker" */; 77 | buildPhases = ( 78 | 4D63A07113E420C7006952FD /* Sources */, 79 | 4D63A07213E420C7006952FD /* Frameworks */, 80 | 4D63A07313E420C7006952FD /* CopyFiles */, 81 | ); 82 | buildRules = ( 83 | ); 84 | dependencies = ( 85 | ); 86 | name = DVDTracker; 87 | productName = DVDTracker; 88 | productReference = 4D63A07513E420C7006952FD /* DVDTracker */; 89 | productType = "com.apple.product-type.tool"; 90 | }; 91 | /* End PBXNativeTarget section */ 92 | 93 | /* Begin PBXProject section */ 94 | 4D63A06C13E420C7006952FD /* Project object */ = { 95 | isa = PBXProject; 96 | buildConfigurationList = 4D63A06F13E420C7006952FD /* Build configuration list for PBXProject "DVDTracker" */; 97 | compatibilityVersion = "Xcode 3.2"; 98 | developmentRegion = English; 99 | hasScannedForEncodings = 0; 100 | knownRegions = ( 101 | en, 102 | ); 103 | mainGroup = 4D63A06A13E420C6006952FD; 104 | productRefGroup = 4D63A07613E420C7006952FD /* Products */; 105 | projectDirPath = ""; 106 | projectRoot = ""; 107 | targets = ( 108 | 4D63A07413E420C7006952FD /* DVDTracker */, 109 | ); 110 | }; 111 | /* End PBXProject section */ 112 | 113 | /* Begin PBXSourcesBuildPhase section */ 114 | 4D63A07113E420C7006952FD /* Sources */ = { 115 | isa = PBXSourcesBuildPhase; 116 | buildActionMask = 2147483647; 117 | files = ( 118 | 4D63A07A13E420C7006952FD /* main.c in Sources */, 119 | ); 120 | runOnlyForDeploymentPostprocessing = 0; 121 | }; 122 | /* End PBXSourcesBuildPhase section */ 123 | 124 | /* Begin XCBuildConfiguration section */ 125 | 4D63A07D13E420C7006952FD /* Debug */ = { 126 | isa = XCBuildConfiguration; 127 | buildSettings = { 128 | ALWAYS_SEARCH_USER_PATHS = NO; 129 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 130 | COPY_PHASE_STRIP = NO; 131 | GCC_C_LANGUAGE_STANDARD = gnu99; 132 | GCC_DYNAMIC_NO_PIC = NO; 133 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 134 | GCC_OPTIMIZATION_LEVEL = 0; 135 | GCC_PREPROCESSOR_DEFINITIONS = ( 136 | "DEBUG=1", 137 | "$(inherited)", 138 | ); 139 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 140 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 141 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 142 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 143 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 144 | GCC_WARN_UNUSED_VARIABLE = YES; 145 | MACOSX_DEPLOYMENT_TARGET = 10.7; 146 | ONLY_ACTIVE_ARCH = YES; 147 | SDKROOT = macosx; 148 | }; 149 | name = Debug; 150 | }; 151 | 4D63A07E13E420C7006952FD /* Release */ = { 152 | isa = XCBuildConfiguration; 153 | buildSettings = { 154 | ALWAYS_SEARCH_USER_PATHS = NO; 155 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 156 | COPY_PHASE_STRIP = YES; 157 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 158 | GCC_C_LANGUAGE_STANDARD = gnu99; 159 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 160 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 161 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 162 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 163 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 164 | GCC_WARN_UNUSED_VARIABLE = YES; 165 | MACOSX_DEPLOYMENT_TARGET = 10.7; 166 | SDKROOT = macosx; 167 | }; 168 | name = Release; 169 | }; 170 | 4D63A08013E420C7006952FD /* Debug */ = { 171 | isa = XCBuildConfiguration; 172 | buildSettings = { 173 | PRODUCT_NAME = "$(TARGET_NAME)"; 174 | }; 175 | name = Debug; 176 | }; 177 | 4D63A08113E420C7006952FD /* Release */ = { 178 | isa = XCBuildConfiguration; 179 | buildSettings = { 180 | PRODUCT_NAME = "$(TARGET_NAME)"; 181 | }; 182 | name = Release; 183 | }; 184 | /* End XCBuildConfiguration section */ 185 | 186 | /* Begin XCConfigurationList section */ 187 | 4D63A06F13E420C7006952FD /* Build configuration list for PBXProject "DVDTracker" */ = { 188 | isa = XCConfigurationList; 189 | buildConfigurations = ( 190 | 4D63A07D13E420C7006952FD /* Debug */, 191 | 4D63A07E13E420C7006952FD /* Release */, 192 | ); 193 | defaultConfigurationIsVisible = 0; 194 | defaultConfigurationName = Release; 195 | }; 196 | 4D63A07F13E420C7006952FD /* Build configuration list for PBXNativeTarget "DVDTracker" */ = { 197 | isa = XCConfigurationList; 198 | buildConfigurations = ( 199 | 4D63A08013E420C7006952FD /* Debug */, 200 | 4D63A08113E420C7006952FD /* Release */, 201 | ); 202 | defaultConfigurationIsVisible = 0; 203 | }; 204 | /* End XCConfigurationList section */ 205 | }; 206 | rootObject = 4D63A06C13E420C7006952FD /* Project object */; 207 | } 208 | -------------------------------------------------------------------------------- /DVDTracker v2/DVDTracker.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /DVDTracker v2/DVDTracker.xcodeproj/xcuserdata/Mark.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /DVDTracker v2/DVDTracker.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/DVDTracker.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 14 | 20 | 21 | 22 | 23 | 24 | 29 | 30 | 31 | 32 | 38 | 39 | 45 | 46 | 47 | 48 | 49 | 50 | 55 | 56 | 62 | 63 | 64 | 65 | 67 | 68 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /DVDTracker v2/DVDTracker.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | DVDTracker.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 4D63A07413E420C7006952FD 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /DVDTracker v2/DVDTracker/DVDTracker.1: -------------------------------------------------------------------------------- 1 | .\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples. 2 | .\"See Also: 3 | .\"man mdoc.samples for a complete listing of options 4 | .\"man mdoc for the short list of editing options 5 | .\"/usr/share/misc/mdoc.template 6 | .Dd 30/7/11 \" DATE 7 | .Dt DVDTracker 1 \" Program name and manual section number 8 | .Os Darwin 9 | .Sh NAME \" Section Header - required - don't modify 10 | .Nm DVDTracker, 11 | .\" The following lines are read in generating the apropos(man -k) database. Use only key 12 | .\" words here as the database is built based on the words here and in the .ND line. 13 | .Nm Other_name_for_same_program(), 14 | .Nm Yet another name for the same program. 15 | .\" Use .Nm macro to designate other names for the documented program. 16 | .Nd This line parsed for whatis database. 17 | .Sh SYNOPSIS \" Section Header - required - don't modify 18 | .Nm 19 | .Op Fl abcd \" [-abcd] 20 | .Op Fl a Ar path \" [-a path] 21 | .Op Ar file \" [file] 22 | .Op Ar \" [file ...] 23 | .Ar arg0 \" Underlined argument - use .Ar anywhere to underline 24 | arg2 ... \" Arguments 25 | .Sh DESCRIPTION \" Section Header - required - don't modify 26 | Use the .Nm macro to refer to your program throughout the man page like such: 27 | .Nm 28 | Underlining is accomplished with the .Ar macro like this: 29 | .Ar underlined text . 30 | .Pp \" Inserts a space 31 | A list of items with descriptions: 32 | .Bl -tag -width -indent \" Begins a tagged list 33 | .It item a \" Each item preceded by .It macro 34 | Description of item a 35 | .It item b 36 | Description of item b 37 | .El \" Ends the list 38 | .Pp 39 | A list of flags and their descriptions: 40 | .Bl -tag -width -indent \" Differs from above in tag removed 41 | .It Fl a \"-a flag as a list item 42 | Description of -a flag 43 | .It Fl b 44 | Description of -b flag 45 | .El \" Ends the list 46 | .Pp 47 | .\" .Sh ENVIRONMENT \" May not be needed 48 | .\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1 49 | .\" .It Ev ENV_VAR_1 50 | .\" Description of ENV_VAR_1 51 | .\" .It Ev ENV_VAR_2 52 | .\" Description of ENV_VAR_2 53 | .\" .El 54 | .Sh FILES \" File used or created by the topic of the man page 55 | .Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact 56 | .It Pa /usr/share/file_name 57 | FILE_1 description 58 | .It Pa /Users/joeuser/Library/really_long_file_name 59 | FILE_2 description 60 | .El \" Ends the list 61 | .\" .Sh DIAGNOSTICS \" May not be needed 62 | .\" .Bl -diag 63 | .\" .It Diagnostic Tag 64 | .\" Diagnostic informtion here. 65 | .\" .It Diagnostic Tag 66 | .\" Diagnostic informtion here. 67 | .\" .El 68 | .Sh SEE ALSO 69 | .\" List links in ascending order by section, alphabetically within a section. 70 | .\" Please do not reference files that do not exist without filing a bug report 71 | .Xr a 1 , 72 | .Xr b 1 , 73 | .Xr c 1 , 74 | .Xr a 2 , 75 | .Xr b 2 , 76 | .Xr a 3 , 77 | .Xr b 3 78 | .\" .Sh BUGS \" Document known, unremedied bugs 79 | .\" .Sh HISTORY \" Document history if command behaves in a unique manner -------------------------------------------------------------------------------- /DVDTracker v2/DVDTracker/main.c: -------------------------------------------------------------------------------- 1 | // 2 | // main.c 3 | // DVDTracker 4 | // 5 | // Created by Mark Nemec on 30/7/11. 6 | // Copyright 2011 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #include 10 | #include 11 | #include 12 | #include "main.h" 13 | 14 | int main (int argc, const char * argv[]) 15 | { 16 | char command; 17 | 18 | printf("Press q - quit, n - new entry or l - list entries: "); 19 | while ((command=ReadInstr())!='q') { 20 | switch (command) { 21 | case 'n': 22 | ArrangeDVD(NewDVD()); 23 | break; 24 | case 'l': 25 | ListDVDs(); 26 | break; 27 | default: 28 | printf("Press q - quit, n - new entry or l - list entries: "); 29 | break; 30 | } 31 | } 32 | printf("Goodbye, thank you for using me!\n"); 33 | exit(0); 34 | } 35 | 36 | 37 | char ReadInstr () { 38 | char command; 39 | 40 | scanf("%c",&command); 41 | return command; 42 | } 43 | 44 | 45 | struct DVD *NewDVD () { 46 | struct DVD *infoPtr; 47 | int num; 48 | 49 | infoPtr=malloc(sizeof(struct DVD)); 50 | printf("\nPlease enter the DVD Title: "); 51 | scanf("%s",infoPtr->title); 52 | printf("Please enter your comment on the DVD: "); 53 | scanf("%s",infoPtr->comment); 54 | printf("Please enter your rating: "); 55 | scanf("%d",&num); 56 | infoPtr->rating=num; 57 | printf("\n--------\n\n"); 58 | return infoPtr; 59 | } 60 | 61 | 62 | void ListDVDs () { 63 | struct DVD *myPtr; 64 | 65 | for (myPtr=gHeadPtr; myPtr!=NULL; myPtr=myPtr->next) { 66 | printf("\n%s | %s | %d\n", myPtr->title, myPtr->comment, myPtr->rating); 67 | } 68 | } 69 | 70 | 71 | void ArrangeDVD ( struct DVD *curPtr ) { 72 | struct DVD *myPtr; 73 | 74 | if (gHeadPtr==NULL) { 75 | gHeadPtr=curPtr; 76 | gTailPtr=curPtr; 77 | gTailPtr->next=NULL; 78 | } else if (curPtr->ratingrating) { 79 | gTailPtr->next=curPtr; 80 | gTailPtr=curPtr; 81 | gTailPtr->next=NULL; 82 | } else if (curPtr->rating>gHeadPtr->rating) { 83 | curPtr->next=gHeadPtr; 84 | gHeadPtr=curPtr; 85 | } else { 86 | for (myPtr=gHeadPtr; myPtr!=gTailPtr; myPtr=myPtr->next) { 87 | if (curPtr->ratingrating && curPtr->rating>=myPtr->next->rating) { 88 | curPtr->next=myPtr->next; 89 | myPtr->next=curPtr; 90 | } 91 | } 92 | } 93 | } -------------------------------------------------------------------------------- /DVDTracker v2/DVDTracker/main.h: -------------------------------------------------------------------------------- 1 | // 2 | // main.h 3 | // DVDTracker 4 | // 5 | // Created by Mark Nemec on 30/7/11. 6 | // Copyright 2011 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | 10 | // DEFINITIONS // 11 | 12 | #define kMaxLength 128 13 | 14 | // GLOBALS // 15 | 16 | struct DVD { 17 | int rating; 18 | char title[kMaxLength]; 19 | char comment[kMaxLength]; 20 | struct DVD *next; 21 | } *gHeadPtr=NULL, *gTailPtr=NULL; 22 | 23 | // FUNCTIONS // 24 | 25 | char ReadInstr( void ); 26 | void ListDVDs( void ); 27 | struct DVD *NewDVD( void ); 28 | void ArrangeDVD ( struct DVD *curPtr ); 29 | -------------------------------------------------------------------------------- /DVDTracker v3/DVDTracker.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 4D63A07A13E420C7006952FD /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 4D63A07913E420C7006952FD /* main.c */; }; 11 | 4D63A07C13E420C7006952FD /* DVDTracker.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = 4D63A07B13E420C7006952FD /* DVDTracker.1 */; }; 12 | /* End PBXBuildFile section */ 13 | 14 | /* Begin PBXCopyFilesBuildPhase section */ 15 | 4D63A07313E420C7006952FD /* CopyFiles */ = { 16 | isa = PBXCopyFilesBuildPhase; 17 | buildActionMask = 2147483647; 18 | dstPath = /usr/share/man/man1/; 19 | dstSubfolderSpec = 0; 20 | files = ( 21 | 4D63A07C13E420C7006952FD /* DVDTracker.1 in CopyFiles */, 22 | ); 23 | runOnlyForDeploymentPostprocessing = 1; 24 | }; 25 | /* End PBXCopyFilesBuildPhase section */ 26 | 27 | /* Begin PBXFileReference section */ 28 | 4D63A07513E420C7006952FD /* DVDTracker */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = DVDTracker; sourceTree = BUILT_PRODUCTS_DIR; }; 29 | 4D63A07913E420C7006952FD /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; }; 30 | 4D63A07B13E420C7006952FD /* DVDTracker.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = DVDTracker.1; sourceTree = ""; }; 31 | 4D63A08213E420F5006952FD /* main.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = main.h; sourceTree = ""; }; 32 | /* End PBXFileReference section */ 33 | 34 | /* Begin PBXFrameworksBuildPhase section */ 35 | 4D63A07213E420C7006952FD /* Frameworks */ = { 36 | isa = PBXFrameworksBuildPhase; 37 | buildActionMask = 2147483647; 38 | files = ( 39 | ); 40 | runOnlyForDeploymentPostprocessing = 0; 41 | }; 42 | /* End PBXFrameworksBuildPhase section */ 43 | 44 | /* Begin PBXGroup section */ 45 | 4D63A06A13E420C6006952FD = { 46 | isa = PBXGroup; 47 | children = ( 48 | 4D63A07813E420C7006952FD /* DVDTracker */, 49 | 4D63A07613E420C7006952FD /* Products */, 50 | ); 51 | sourceTree = ""; 52 | }; 53 | 4D63A07613E420C7006952FD /* Products */ = { 54 | isa = PBXGroup; 55 | children = ( 56 | 4D63A07513E420C7006952FD /* DVDTracker */, 57 | ); 58 | name = Products; 59 | sourceTree = ""; 60 | }; 61 | 4D63A07813E420C7006952FD /* DVDTracker */ = { 62 | isa = PBXGroup; 63 | children = ( 64 | 4D63A07913E420C7006952FD /* main.c */, 65 | 4D63A08213E420F5006952FD /* main.h */, 66 | 4D63A07B13E420C7006952FD /* DVDTracker.1 */, 67 | ); 68 | path = DVDTracker; 69 | sourceTree = ""; 70 | }; 71 | /* End PBXGroup section */ 72 | 73 | /* Begin PBXNativeTarget section */ 74 | 4D63A07413E420C7006952FD /* DVDTracker */ = { 75 | isa = PBXNativeTarget; 76 | buildConfigurationList = 4D63A07F13E420C7006952FD /* Build configuration list for PBXNativeTarget "DVDTracker" */; 77 | buildPhases = ( 78 | 4D63A07113E420C7006952FD /* Sources */, 79 | 4D63A07213E420C7006952FD /* Frameworks */, 80 | 4D63A07313E420C7006952FD /* CopyFiles */, 81 | ); 82 | buildRules = ( 83 | ); 84 | dependencies = ( 85 | ); 86 | name = DVDTracker; 87 | productName = DVDTracker; 88 | productReference = 4D63A07513E420C7006952FD /* DVDTracker */; 89 | productType = "com.apple.product-type.tool"; 90 | }; 91 | /* End PBXNativeTarget section */ 92 | 93 | /* Begin PBXProject section */ 94 | 4D63A06C13E420C7006952FD /* Project object */ = { 95 | isa = PBXProject; 96 | buildConfigurationList = 4D63A06F13E420C7006952FD /* Build configuration list for PBXProject "DVDTracker" */; 97 | compatibilityVersion = "Xcode 3.2"; 98 | developmentRegion = English; 99 | hasScannedForEncodings = 0; 100 | knownRegions = ( 101 | en, 102 | ); 103 | mainGroup = 4D63A06A13E420C6006952FD; 104 | productRefGroup = 4D63A07613E420C7006952FD /* Products */; 105 | projectDirPath = ""; 106 | projectRoot = ""; 107 | targets = ( 108 | 4D63A07413E420C7006952FD /* DVDTracker */, 109 | ); 110 | }; 111 | /* End PBXProject section */ 112 | 113 | /* Begin PBXSourcesBuildPhase section */ 114 | 4D63A07113E420C7006952FD /* Sources */ = { 115 | isa = PBXSourcesBuildPhase; 116 | buildActionMask = 2147483647; 117 | files = ( 118 | 4D63A07A13E420C7006952FD /* main.c in Sources */, 119 | ); 120 | runOnlyForDeploymentPostprocessing = 0; 121 | }; 122 | /* End PBXSourcesBuildPhase section */ 123 | 124 | /* Begin XCBuildConfiguration section */ 125 | 4D63A07D13E420C7006952FD /* Debug */ = { 126 | isa = XCBuildConfiguration; 127 | buildSettings = { 128 | ALWAYS_SEARCH_USER_PATHS = NO; 129 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 130 | COPY_PHASE_STRIP = NO; 131 | GCC_C_LANGUAGE_STANDARD = gnu99; 132 | GCC_DYNAMIC_NO_PIC = NO; 133 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 134 | GCC_OPTIMIZATION_LEVEL = 0; 135 | GCC_PREPROCESSOR_DEFINITIONS = ( 136 | "DEBUG=1", 137 | "$(inherited)", 138 | ); 139 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 140 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 141 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 142 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 143 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 144 | GCC_WARN_UNUSED_VARIABLE = YES; 145 | MACOSX_DEPLOYMENT_TARGET = 10.7; 146 | ONLY_ACTIVE_ARCH = YES; 147 | SDKROOT = macosx; 148 | }; 149 | name = Debug; 150 | }; 151 | 4D63A07E13E420C7006952FD /* Release */ = { 152 | isa = XCBuildConfiguration; 153 | buildSettings = { 154 | ALWAYS_SEARCH_USER_PATHS = NO; 155 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 156 | COPY_PHASE_STRIP = YES; 157 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 158 | GCC_C_LANGUAGE_STANDARD = gnu99; 159 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 160 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 161 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 162 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 163 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 164 | GCC_WARN_UNUSED_VARIABLE = YES; 165 | MACOSX_DEPLOYMENT_TARGET = 10.7; 166 | SDKROOT = macosx; 167 | }; 168 | name = Release; 169 | }; 170 | 4D63A08013E420C7006952FD /* Debug */ = { 171 | isa = XCBuildConfiguration; 172 | buildSettings = { 173 | PRODUCT_NAME = "$(TARGET_NAME)"; 174 | }; 175 | name = Debug; 176 | }; 177 | 4D63A08113E420C7006952FD /* Release */ = { 178 | isa = XCBuildConfiguration; 179 | buildSettings = { 180 | PRODUCT_NAME = "$(TARGET_NAME)"; 181 | }; 182 | name = Release; 183 | }; 184 | /* End XCBuildConfiguration section */ 185 | 186 | /* Begin XCConfigurationList section */ 187 | 4D63A06F13E420C7006952FD /* Build configuration list for PBXProject "DVDTracker" */ = { 188 | isa = XCConfigurationList; 189 | buildConfigurations = ( 190 | 4D63A07D13E420C7006952FD /* Debug */, 191 | 4D63A07E13E420C7006952FD /* Release */, 192 | ); 193 | defaultConfigurationIsVisible = 0; 194 | defaultConfigurationName = Release; 195 | }; 196 | 4D63A07F13E420C7006952FD /* Build configuration list for PBXNativeTarget "DVDTracker" */ = { 197 | isa = XCConfigurationList; 198 | buildConfigurations = ( 199 | 4D63A08013E420C7006952FD /* Debug */, 200 | 4D63A08113E420C7006952FD /* Release */, 201 | ); 202 | defaultConfigurationIsVisible = 0; 203 | }; 204 | /* End XCConfigurationList section */ 205 | }; 206 | rootObject = 4D63A06C13E420C7006952FD /* Project object */; 207 | } 208 | -------------------------------------------------------------------------------- /DVDTracker v3/DVDTracker.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /DVDTracker v3/DVDTracker.xcodeproj/xcuserdata/Mark.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /DVDTracker v3/DVDTracker.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/DVDTracker.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 14 | 20 | 21 | 22 | 23 | 24 | 29 | 30 | 31 | 32 | 38 | 39 | 45 | 46 | 47 | 48 | 49 | 50 | 55 | 56 | 62 | 63 | 64 | 65 | 67 | 68 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /DVDTracker v3/DVDTracker.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | DVDTracker.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 4D63A07413E420C7006952FD 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /DVDTracker v3/DVDTracker/DVDTracker.1: -------------------------------------------------------------------------------- 1 | .\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples. 2 | .\"See Also: 3 | .\"man mdoc.samples for a complete listing of options 4 | .\"man mdoc for the short list of editing options 5 | .\"/usr/share/misc/mdoc.template 6 | .Dd 30/7/11 \" DATE 7 | .Dt DVDTracker 1 \" Program name and manual section number 8 | .Os Darwin 9 | .Sh NAME \" Section Header - required - don't modify 10 | .Nm DVDTracker, 11 | .\" The following lines are read in generating the apropos(man -k) database. Use only key 12 | .\" words here as the database is built based on the words here and in the .ND line. 13 | .Nm Other_name_for_same_program(), 14 | .Nm Yet another name for the same program. 15 | .\" Use .Nm macro to designate other names for the documented program. 16 | .Nd This line parsed for whatis database. 17 | .Sh SYNOPSIS \" Section Header - required - don't modify 18 | .Nm 19 | .Op Fl abcd \" [-abcd] 20 | .Op Fl a Ar path \" [-a path] 21 | .Op Ar file \" [file] 22 | .Op Ar \" [file ...] 23 | .Ar arg0 \" Underlined argument - use .Ar anywhere to underline 24 | arg2 ... \" Arguments 25 | .Sh DESCRIPTION \" Section Header - required - don't modify 26 | Use the .Nm macro to refer to your program throughout the man page like such: 27 | .Nm 28 | Underlining is accomplished with the .Ar macro like this: 29 | .Ar underlined text . 30 | .Pp \" Inserts a space 31 | A list of items with descriptions: 32 | .Bl -tag -width -indent \" Begins a tagged list 33 | .It item a \" Each item preceded by .It macro 34 | Description of item a 35 | .It item b 36 | Description of item b 37 | .El \" Ends the list 38 | .Pp 39 | A list of flags and their descriptions: 40 | .Bl -tag -width -indent \" Differs from above in tag removed 41 | .It Fl a \"-a flag as a list item 42 | Description of -a flag 43 | .It Fl b 44 | Description of -b flag 45 | .El \" Ends the list 46 | .Pp 47 | .\" .Sh ENVIRONMENT \" May not be needed 48 | .\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1 49 | .\" .It Ev ENV_VAR_1 50 | .\" Description of ENV_VAR_1 51 | .\" .It Ev ENV_VAR_2 52 | .\" Description of ENV_VAR_2 53 | .\" .El 54 | .Sh FILES \" File used or created by the topic of the man page 55 | .Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact 56 | .It Pa /usr/share/file_name 57 | FILE_1 description 58 | .It Pa /Users/joeuser/Library/really_long_file_name 59 | FILE_2 description 60 | .El \" Ends the list 61 | .\" .Sh DIAGNOSTICS \" May not be needed 62 | .\" .Bl -diag 63 | .\" .It Diagnostic Tag 64 | .\" Diagnostic informtion here. 65 | .\" .It Diagnostic Tag 66 | .\" Diagnostic informtion here. 67 | .\" .El 68 | .Sh SEE ALSO 69 | .\" List links in ascending order by section, alphabetically within a section. 70 | .\" Please do not reference files that do not exist without filing a bug report 71 | .Xr a 1 , 72 | .Xr b 1 , 73 | .Xr c 1 , 74 | .Xr a 2 , 75 | .Xr b 2 , 76 | .Xr a 3 , 77 | .Xr b 3 78 | .\" .Sh BUGS \" Document known, unremedied bugs 79 | .\" .Sh HISTORY \" Document history if command behaves in a unique manner -------------------------------------------------------------------------------- /DVDTracker v3/DVDTracker/main.c: -------------------------------------------------------------------------------- 1 | // 2 | // main.c 3 | // DVDTracker 4 | // 5 | // Created by Mark Nemec on 30/7/11. 6 | // Copyright 2011 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include "main.h" 14 | 15 | int main (int argc, const char * argv[]) 16 | { 17 | char command; 18 | 19 | printf("Press q - quit, n - new entry, l - list entries or r - reversed list: "); 20 | while ((command=ReadInstr())!='q') { 21 | switch (command) { 22 | case 'n': 23 | ArrangeDVD(NewDVD()); 24 | break; 25 | case 'l': 26 | ListDVDs(false); 27 | break; 28 | case 'r': 29 | ListDVDs(true); 30 | break; 31 | default: 32 | printf("Press q - quit, n - new entry, l - list entries or r - reversed list: "); 33 | break; 34 | } 35 | } 36 | printf("Goodbye, thank you for using me!\n"); 37 | exit(0); 38 | } 39 | 40 | 41 | char ReadInstr () { 42 | char command; 43 | 44 | scanf("%c",&command); 45 | return command; 46 | } 47 | 48 | 49 | struct DVD *NewDVD () { 50 | struct DVD *infoPtr; 51 | int num; 52 | 53 | infoPtr=malloc(sizeof(struct DVD)); 54 | printf("\nPlease enter the DVD Title: "); 55 | scanf("%s",infoPtr->title); 56 | printf("Please enter your comment on the DVD: "); 57 | scanf("%s",infoPtr->comment); 58 | printf("Please enter your rating: "); 59 | scanf("%d",&num); 60 | infoPtr->rating=num; 61 | printf("\n--------\n\n"); 62 | return infoPtr; 63 | } 64 | 65 | 66 | void ListDVDs (bool isReversed) { 67 | struct DVD *myPtr; 68 | 69 | if (isReversed==false) { 70 | for (myPtr=gHeadPtr; myPtr!=NULL; myPtr=myPtr->next) { 71 | printf("\n%s | %s | %d", myPtr->title, myPtr->comment, myPtr->rating); 72 | } 73 | } else { 74 | for (myPtr=gTailPtr; myPtr!=NULL; myPtr=myPtr->prev) { 75 | printf("\n%s | %s | %d", myPtr->title, myPtr->comment, myPtr->rating); 76 | } 77 | } 78 | printf("\n\n"); 79 | } 80 | 81 | 82 | void ArrangeDVD ( struct DVD *curPtr ) { 83 | struct DVD *myPtr; 84 | 85 | if (gHeadPtr==NULL) { // Ak je jediny 86 | gHeadPtr=curPtr; 87 | gHeadPtr->prev=NULL; 88 | gTailPtr=curPtr; 89 | gTailPtr->next=NULL; 90 | } else if (curPtr->ratingrating) { // Ak je posledny 91 | gTailPtr->next=curPtr; 92 | curPtr->prev=gTailPtr; 93 | gTailPtr=curPtr; 94 | gTailPtr->next=NULL; 95 | } else if (curPtr->rating>gHeadPtr->rating) { // Ak je prvy 96 | curPtr->next=gHeadPtr; 97 | gHeadPtr->prev=curPtr; 98 | gHeadPtr=curPtr; 99 | gHeadPtr->prev=NULL; 100 | } else { 101 | for (myPtr=gHeadPtr; myPtr!=gTailPtr; myPtr=myPtr->next) { // Ak je niekde v strede 102 | if (curPtr->ratingrating && curPtr->rating>=myPtr->next->rating) { 103 | myPtr->next->prev=curPtr; 104 | curPtr->next=myPtr->next; 105 | curPtr->prev=myPtr; 106 | myPtr->next=curPtr; 107 | } 108 | } 109 | } 110 | } -------------------------------------------------------------------------------- /DVDTracker v3/DVDTracker/main.h: -------------------------------------------------------------------------------- 1 | // 2 | // main.h 3 | // DVDTracker 4 | // 5 | // Created by Mark Nemec on 30/7/11. 6 | // Copyright 2011 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | 10 | // DEFINITIONS // 11 | 12 | #define kMaxLength 128 13 | 14 | // GLOBALS // 15 | 16 | struct DVD { 17 | int rating; 18 | char title[kMaxLength]; 19 | char comment[kMaxLength]; 20 | struct DVD *next; 21 | struct DVD *prev; 22 | } *gHeadPtr=NULL, *gTailPtr=NULL; 23 | 24 | // FUNCTIONS // 25 | 26 | char ReadInstr( void ); 27 | void ListDVDs( bool isReversed ); 28 | struct DVD *NewDVD( void ); 29 | void ArrangeDVD ( struct DVD *curPtr ); 30 | -------------------------------------------------------------------------------- /DVDTracker/DVDTracker.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 4D63A07A13E420C7006952FD /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 4D63A07913E420C7006952FD /* main.c */; }; 11 | 4D63A07C13E420C7006952FD /* DVDTracker.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = 4D63A07B13E420C7006952FD /* DVDTracker.1 */; }; 12 | /* End PBXBuildFile section */ 13 | 14 | /* Begin PBXCopyFilesBuildPhase section */ 15 | 4D63A07313E420C7006952FD /* CopyFiles */ = { 16 | isa = PBXCopyFilesBuildPhase; 17 | buildActionMask = 2147483647; 18 | dstPath = /usr/share/man/man1/; 19 | dstSubfolderSpec = 0; 20 | files = ( 21 | 4D63A07C13E420C7006952FD /* DVDTracker.1 in CopyFiles */, 22 | ); 23 | runOnlyForDeploymentPostprocessing = 1; 24 | }; 25 | /* End PBXCopyFilesBuildPhase section */ 26 | 27 | /* Begin PBXFileReference section */ 28 | 4D63A07513E420C7006952FD /* DVDTracker */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = DVDTracker; sourceTree = BUILT_PRODUCTS_DIR; }; 29 | 4D63A07913E420C7006952FD /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; }; 30 | 4D63A07B13E420C7006952FD /* DVDTracker.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = DVDTracker.1; sourceTree = ""; }; 31 | 4D63A08213E420F5006952FD /* main.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = main.h; sourceTree = ""; }; 32 | /* End PBXFileReference section */ 33 | 34 | /* Begin PBXFrameworksBuildPhase section */ 35 | 4D63A07213E420C7006952FD /* Frameworks */ = { 36 | isa = PBXFrameworksBuildPhase; 37 | buildActionMask = 2147483647; 38 | files = ( 39 | ); 40 | runOnlyForDeploymentPostprocessing = 0; 41 | }; 42 | /* End PBXFrameworksBuildPhase section */ 43 | 44 | /* Begin PBXGroup section */ 45 | 4D63A06A13E420C6006952FD = { 46 | isa = PBXGroup; 47 | children = ( 48 | 4D63A07813E420C7006952FD /* DVDTracker */, 49 | 4D63A07613E420C7006952FD /* Products */, 50 | ); 51 | sourceTree = ""; 52 | }; 53 | 4D63A07613E420C7006952FD /* Products */ = { 54 | isa = PBXGroup; 55 | children = ( 56 | 4D63A07513E420C7006952FD /* DVDTracker */, 57 | ); 58 | name = Products; 59 | sourceTree = ""; 60 | }; 61 | 4D63A07813E420C7006952FD /* DVDTracker */ = { 62 | isa = PBXGroup; 63 | children = ( 64 | 4D63A07913E420C7006952FD /* main.c */, 65 | 4D63A08213E420F5006952FD /* main.h */, 66 | 4D63A07B13E420C7006952FD /* DVDTracker.1 */, 67 | ); 68 | path = DVDTracker; 69 | sourceTree = ""; 70 | }; 71 | /* End PBXGroup section */ 72 | 73 | /* Begin PBXNativeTarget section */ 74 | 4D63A07413E420C7006952FD /* DVDTracker */ = { 75 | isa = PBXNativeTarget; 76 | buildConfigurationList = 4D63A07F13E420C7006952FD /* Build configuration list for PBXNativeTarget "DVDTracker" */; 77 | buildPhases = ( 78 | 4D63A07113E420C7006952FD /* Sources */, 79 | 4D63A07213E420C7006952FD /* Frameworks */, 80 | 4D63A07313E420C7006952FD /* CopyFiles */, 81 | ); 82 | buildRules = ( 83 | ); 84 | dependencies = ( 85 | ); 86 | name = DVDTracker; 87 | productName = DVDTracker; 88 | productReference = 4D63A07513E420C7006952FD /* DVDTracker */; 89 | productType = "com.apple.product-type.tool"; 90 | }; 91 | /* End PBXNativeTarget section */ 92 | 93 | /* Begin PBXProject section */ 94 | 4D63A06C13E420C7006952FD /* Project object */ = { 95 | isa = PBXProject; 96 | buildConfigurationList = 4D63A06F13E420C7006952FD /* Build configuration list for PBXProject "DVDTracker" */; 97 | compatibilityVersion = "Xcode 3.2"; 98 | developmentRegion = English; 99 | hasScannedForEncodings = 0; 100 | knownRegions = ( 101 | en, 102 | ); 103 | mainGroup = 4D63A06A13E420C6006952FD; 104 | productRefGroup = 4D63A07613E420C7006952FD /* Products */; 105 | projectDirPath = ""; 106 | projectRoot = ""; 107 | targets = ( 108 | 4D63A07413E420C7006952FD /* DVDTracker */, 109 | ); 110 | }; 111 | /* End PBXProject section */ 112 | 113 | /* Begin PBXSourcesBuildPhase section */ 114 | 4D63A07113E420C7006952FD /* Sources */ = { 115 | isa = PBXSourcesBuildPhase; 116 | buildActionMask = 2147483647; 117 | files = ( 118 | 4D63A07A13E420C7006952FD /* main.c in Sources */, 119 | ); 120 | runOnlyForDeploymentPostprocessing = 0; 121 | }; 122 | /* End PBXSourcesBuildPhase section */ 123 | 124 | /* Begin XCBuildConfiguration section */ 125 | 4D63A07D13E420C7006952FD /* Debug */ = { 126 | isa = XCBuildConfiguration; 127 | buildSettings = { 128 | ALWAYS_SEARCH_USER_PATHS = NO; 129 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 130 | COPY_PHASE_STRIP = NO; 131 | GCC_C_LANGUAGE_STANDARD = gnu99; 132 | GCC_DYNAMIC_NO_PIC = NO; 133 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 134 | GCC_OPTIMIZATION_LEVEL = 0; 135 | GCC_PREPROCESSOR_DEFINITIONS = ( 136 | "DEBUG=1", 137 | "$(inherited)", 138 | ); 139 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 140 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 141 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 142 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 143 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 144 | GCC_WARN_UNUSED_VARIABLE = YES; 145 | MACOSX_DEPLOYMENT_TARGET = 10.7; 146 | ONLY_ACTIVE_ARCH = YES; 147 | SDKROOT = macosx; 148 | }; 149 | name = Debug; 150 | }; 151 | 4D63A07E13E420C7006952FD /* Release */ = { 152 | isa = XCBuildConfiguration; 153 | buildSettings = { 154 | ALWAYS_SEARCH_USER_PATHS = NO; 155 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 156 | COPY_PHASE_STRIP = YES; 157 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 158 | GCC_C_LANGUAGE_STANDARD = gnu99; 159 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 160 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 161 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 162 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 163 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 164 | GCC_WARN_UNUSED_VARIABLE = YES; 165 | MACOSX_DEPLOYMENT_TARGET = 10.7; 166 | SDKROOT = macosx; 167 | }; 168 | name = Release; 169 | }; 170 | 4D63A08013E420C7006952FD /* Debug */ = { 171 | isa = XCBuildConfiguration; 172 | buildSettings = { 173 | PRODUCT_NAME = "$(TARGET_NAME)"; 174 | }; 175 | name = Debug; 176 | }; 177 | 4D63A08113E420C7006952FD /* Release */ = { 178 | isa = XCBuildConfiguration; 179 | buildSettings = { 180 | PRODUCT_NAME = "$(TARGET_NAME)"; 181 | }; 182 | name = Release; 183 | }; 184 | /* End XCBuildConfiguration section */ 185 | 186 | /* Begin XCConfigurationList section */ 187 | 4D63A06F13E420C7006952FD /* Build configuration list for PBXProject "DVDTracker" */ = { 188 | isa = XCConfigurationList; 189 | buildConfigurations = ( 190 | 4D63A07D13E420C7006952FD /* Debug */, 191 | 4D63A07E13E420C7006952FD /* Release */, 192 | ); 193 | defaultConfigurationIsVisible = 0; 194 | defaultConfigurationName = Release; 195 | }; 196 | 4D63A07F13E420C7006952FD /* Build configuration list for PBXNativeTarget "DVDTracker" */ = { 197 | isa = XCConfigurationList; 198 | buildConfigurations = ( 199 | 4D63A08013E420C7006952FD /* Debug */, 200 | 4D63A08113E420C7006952FD /* Release */, 201 | ); 202 | defaultConfigurationIsVisible = 0; 203 | }; 204 | /* End XCConfigurationList section */ 205 | }; 206 | rootObject = 4D63A06C13E420C7006952FD /* Project object */; 207 | } 208 | -------------------------------------------------------------------------------- /DVDTracker/DVDTracker.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /DVDTracker/DVDTracker.xcodeproj/xcuserdata/Mark.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 19 | 20 | 33 | 34 | 47 | 48 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /DVDTracker/DVDTracker.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/DVDTracker.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 14 | 20 | 21 | 22 | 23 | 24 | 29 | 30 | 31 | 32 | 38 | 39 | 45 | 46 | 47 | 48 | 49 | 50 | 55 | 56 | 62 | 63 | 64 | 65 | 67 | 68 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /DVDTracker/DVDTracker.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | DVDTracker.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 4D63A07413E420C7006952FD 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /DVDTracker/DVDTracker/DVDTracker.1: -------------------------------------------------------------------------------- 1 | .\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples. 2 | .\"See Also: 3 | .\"man mdoc.samples for a complete listing of options 4 | .\"man mdoc for the short list of editing options 5 | .\"/usr/share/misc/mdoc.template 6 | .Dd 30/7/11 \" DATE 7 | .Dt DVDTracker 1 \" Program name and manual section number 8 | .Os Darwin 9 | .Sh NAME \" Section Header - required - don't modify 10 | .Nm DVDTracker, 11 | .\" The following lines are read in generating the apropos(man -k) database. Use only key 12 | .\" words here as the database is built based on the words here and in the .ND line. 13 | .Nm Other_name_for_same_program(), 14 | .Nm Yet another name for the same program. 15 | .\" Use .Nm macro to designate other names for the documented program. 16 | .Nd This line parsed for whatis database. 17 | .Sh SYNOPSIS \" Section Header - required - don't modify 18 | .Nm 19 | .Op Fl abcd \" [-abcd] 20 | .Op Fl a Ar path \" [-a path] 21 | .Op Ar file \" [file] 22 | .Op Ar \" [file ...] 23 | .Ar arg0 \" Underlined argument - use .Ar anywhere to underline 24 | arg2 ... \" Arguments 25 | .Sh DESCRIPTION \" Section Header - required - don't modify 26 | Use the .Nm macro to refer to your program throughout the man page like such: 27 | .Nm 28 | Underlining is accomplished with the .Ar macro like this: 29 | .Ar underlined text . 30 | .Pp \" Inserts a space 31 | A list of items with descriptions: 32 | .Bl -tag -width -indent \" Begins a tagged list 33 | .It item a \" Each item preceded by .It macro 34 | Description of item a 35 | .It item b 36 | Description of item b 37 | .El \" Ends the list 38 | .Pp 39 | A list of flags and their descriptions: 40 | .Bl -tag -width -indent \" Differs from above in tag removed 41 | .It Fl a \"-a flag as a list item 42 | Description of -a flag 43 | .It Fl b 44 | Description of -b flag 45 | .El \" Ends the list 46 | .Pp 47 | .\" .Sh ENVIRONMENT \" May not be needed 48 | .\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1 49 | .\" .It Ev ENV_VAR_1 50 | .\" Description of ENV_VAR_1 51 | .\" .It Ev ENV_VAR_2 52 | .\" Description of ENV_VAR_2 53 | .\" .El 54 | .Sh FILES \" File used or created by the topic of the man page 55 | .Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact 56 | .It Pa /usr/share/file_name 57 | FILE_1 description 58 | .It Pa /Users/joeuser/Library/really_long_file_name 59 | FILE_2 description 60 | .El \" Ends the list 61 | .\" .Sh DIAGNOSTICS \" May not be needed 62 | .\" .Bl -diag 63 | .\" .It Diagnostic Tag 64 | .\" Diagnostic informtion here. 65 | .\" .It Diagnostic Tag 66 | .\" Diagnostic informtion here. 67 | .\" .El 68 | .Sh SEE ALSO 69 | .\" List links in ascending order by section, alphabetically within a section. 70 | .\" Please do not reference files that do not exist without filing a bug report 71 | .Xr a 1 , 72 | .Xr b 1 , 73 | .Xr c 1 , 74 | .Xr a 2 , 75 | .Xr b 2 , 76 | .Xr a 3 , 77 | .Xr b 3 78 | .\" .Sh BUGS \" Document known, unremedied bugs 79 | .\" .Sh HISTORY \" Document history if command behaves in a unique manner -------------------------------------------------------------------------------- /DVDTracker/DVDTracker/main.c: -------------------------------------------------------------------------------- 1 | // 2 | // main.c 3 | // DVDTracker 4 | // 5 | // Created by Mark Nemec on 30/7/11. 6 | // Copyright 2011 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #include 10 | #include 11 | #include 12 | #include "main.h" 13 | 14 | int main (int argc, const char * argv[]) 15 | { 16 | char command; 17 | 18 | printf("Press q - quit, n - new entry or l - list entries: "); 19 | while ((command=ReadInstr())!='q') { 20 | switch (command) { 21 | case 'n': 22 | NewDVD(); 23 | break; 24 | case 'l': 25 | ListDVDs(); 26 | break; 27 | default: 28 | printf("Press q - quit, n - new entry or l - list entries: "); 29 | break; 30 | } 31 | } 32 | printf("Goodbye, thank you for using me!\n"); 33 | exit(0); 34 | } 35 | 36 | 37 | char ReadInstr () { 38 | char command; 39 | 40 | scanf("%c",&command); 41 | return command; 42 | } 43 | 44 | 45 | void NewDVD () { 46 | struct DVD *infoPtr; 47 | int num; 48 | 49 | infoPtr=malloc(sizeof(struct DVD)); 50 | printf("\nPlease enter the DVD Title: "); 51 | scanf("%s",infoPtr->title); 52 | printf("Please enter your comment on the DVD: "); 53 | scanf("%s",infoPtr->comment); 54 | printf("Please enter your rating: "); 55 | scanf("%d",&num); 56 | infoPtr->rating=num; 57 | printf("\n--------\n\n"); 58 | if (gHeadPtr==NULL) { 59 | gHeadPtr=infoPtr; 60 | gTailPtr=infoPtr; 61 | } else { 62 | gTailPtr->next=infoPtr; 63 | gTailPtr=infoPtr; 64 | } 65 | gTailPtr->next=NULL; 66 | } 67 | 68 | 69 | void ListDVDs () { 70 | struct DVD *myPtr; 71 | 72 | for (myPtr=gHeadPtr; myPtr!=NULL; myPtr=myPtr->next) { 73 | printf("\n%s | %s | %d\n", myPtr->title, myPtr->comment, myPtr->rating); 74 | } 75 | } -------------------------------------------------------------------------------- /DVDTracker/DVDTracker/main.h: -------------------------------------------------------------------------------- 1 | // 2 | // main.h 3 | // DVDTracker 4 | // 5 | // Created by Mark Nemec on 30/7/11. 6 | // Copyright 2011 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | 10 | // DEFINITIONS // 11 | 12 | #define kMaxLength 128 13 | 14 | // GLOBALS // 15 | 16 | struct DVD { 17 | int rating; 18 | char title[kMaxLength]; 19 | char comment[kMaxLength]; 20 | struct DVD *next; 21 | } myDVD, *gHeadPtr=NULL, *gTailPtr=NULL; 22 | 23 | // FUNCTIONS // 24 | 25 | char ReadInstr( void ); 26 | void ListDVDs( void ); 27 | void NewDVD( void ); 28 | -------------------------------------------------------------------------------- /Movies/Movies.1: -------------------------------------------------------------------------------- 1 | .\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples. 2 | .\"See Also: 3 | .\"man mdoc.samples for a complete listing of options 4 | .\"man mdoc for the short list of editing options 5 | .\"/usr/share/misc/mdoc.template 6 | .Dd 6/30/11 \" DATE 7 | .Dt Movies 1 \" Program name and manual section number 8 | .Os Darwin 9 | .Sh NAME \" Section Header - required - don't modify 10 | .Nm Movies, 11 | .\" The following lines are read in generating the apropos(man -k) database. Use only key 12 | .\" words here as the database is built based on the words here and in the .ND line. 13 | .Nm Other_name_for_same_program(), 14 | .Nm Yet another name for the same program. 15 | .\" Use .Nm macro to designate other names for the documented program. 16 | .Nd This line parsed for whatis database. 17 | .Sh SYNOPSIS \" Section Header - required - don't modify 18 | .Nm 19 | .Op Fl abcd \" [-abcd] 20 | .Op Fl a Ar path \" [-a path] 21 | .Op Ar file \" [file] 22 | .Op Ar \" [file ...] 23 | .Ar arg0 \" Underlined argument - use .Ar anywhere to underline 24 | arg2 ... \" Arguments 25 | .Sh DESCRIPTION \" Section Header - required - don't modify 26 | Use the .Nm macro to refer to your program throughout the man page like such: 27 | .Nm 28 | Underlining is accomplished with the .Ar macro like this: 29 | .Ar underlined text . 30 | .Pp \" Inserts a space 31 | A list of items with descriptions: 32 | .Bl -tag -width -indent \" Begins a tagged list 33 | .It item a \" Each item preceded by .It macro 34 | Description of item a 35 | .It item b 36 | Description of item b 37 | .El \" Ends the list 38 | .Pp 39 | A list of flags and their descriptions: 40 | .Bl -tag -width -indent \" Differs from above in tag removed 41 | .It Fl a \"-a flag as a list item 42 | Description of -a flag 43 | .It Fl b 44 | Description of -b flag 45 | .El \" Ends the list 46 | .Pp 47 | .\" .Sh ENVIRONMENT \" May not be needed 48 | .\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1 49 | .\" .It Ev ENV_VAR_1 50 | .\" Description of ENV_VAR_1 51 | .\" .It Ev ENV_VAR_2 52 | .\" Description of ENV_VAR_2 53 | .\" .El 54 | .Sh FILES \" File used or created by the topic of the man page 55 | .Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact 56 | .It Pa /usr/share/file_name 57 | FILE_1 description 58 | .It Pa /Users/joeuser/Library/really_long_file_name 59 | FILE_2 description 60 | .El \" Ends the list 61 | .\" .Sh DIAGNOSTICS \" May not be needed 62 | .\" .Bl -diag 63 | .\" .It Diagnostic Tag 64 | .\" Diagnostic informtion here. 65 | .\" .It Diagnostic Tag 66 | .\" Diagnostic informtion here. 67 | .\" .El 68 | .Sh SEE ALSO 69 | .\" List links in ascending order by section, alphabetically within a section. 70 | .\" Please do not reference files that do not exist without filing a bug report 71 | .Xr a 1 , 72 | .Xr b 1 , 73 | .Xr c 1 , 74 | .Xr a 2 , 75 | .Xr b 2 , 76 | .Xr a 3 , 77 | .Xr b 3 78 | .\" .Sh BUGS \" Document known, unremedied bugs 79 | .\" .Sh HISTORY \" Document history if command behaves in a unique manner -------------------------------------------------------------------------------- /Movies/Movies.xcodeproj/Mark.mode1v3: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ActivePerspectiveName 6 | Project 7 | AllowedModules 8 | 9 | 10 | BundleLoadPath 11 | 12 | MaxInstances 13 | n 14 | Module 15 | PBXSmartGroupTreeModule 16 | Name 17 | Groups and Files Outline View 18 | 19 | 20 | BundleLoadPath 21 | 22 | MaxInstances 23 | n 24 | Module 25 | PBXNavigatorGroup 26 | Name 27 | Editor 28 | 29 | 30 | BundleLoadPath 31 | 32 | MaxInstances 33 | n 34 | Module 35 | XCTaskListModule 36 | Name 37 | Task List 38 | 39 | 40 | BundleLoadPath 41 | 42 | MaxInstances 43 | n 44 | Module 45 | XCDetailModule 46 | Name 47 | File and Smart Group Detail Viewer 48 | 49 | 50 | BundleLoadPath 51 | 52 | MaxInstances 53 | 1 54 | Module 55 | PBXBuildResultsModule 56 | Name 57 | Detailed Build Results Viewer 58 | 59 | 60 | BundleLoadPath 61 | 62 | MaxInstances 63 | 1 64 | Module 65 | PBXProjectFindModule 66 | Name 67 | Project Batch Find Tool 68 | 69 | 70 | BundleLoadPath 71 | 72 | MaxInstances 73 | n 74 | Module 75 | XCProjectFormatConflictsModule 76 | Name 77 | Project Format Conflicts List 78 | 79 | 80 | BundleLoadPath 81 | 82 | MaxInstances 83 | n 84 | Module 85 | PBXBookmarksModule 86 | Name 87 | Bookmarks Tool 88 | 89 | 90 | BundleLoadPath 91 | 92 | MaxInstances 93 | n 94 | Module 95 | PBXClassBrowserModule 96 | Name 97 | Class Browser 98 | 99 | 100 | BundleLoadPath 101 | 102 | MaxInstances 103 | n 104 | Module 105 | PBXCVSModule 106 | Name 107 | Source Code Control Tool 108 | 109 | 110 | BundleLoadPath 111 | 112 | MaxInstances 113 | n 114 | Module 115 | PBXDebugBreakpointsModule 116 | Name 117 | Debug Breakpoints Tool 118 | 119 | 120 | BundleLoadPath 121 | 122 | MaxInstances 123 | n 124 | Module 125 | XCDockableInspector 126 | Name 127 | Inspector 128 | 129 | 130 | BundleLoadPath 131 | 132 | MaxInstances 133 | n 134 | Module 135 | PBXOpenQuicklyModule 136 | Name 137 | Open Quickly Tool 138 | 139 | 140 | BundleLoadPath 141 | 142 | MaxInstances 143 | 1 144 | Module 145 | PBXDebugSessionModule 146 | Name 147 | Debugger 148 | 149 | 150 | BundleLoadPath 151 | 152 | MaxInstances 153 | 1 154 | Module 155 | PBXDebugCLIModule 156 | Name 157 | Debug Console 158 | 159 | 160 | BundleLoadPath 161 | 162 | MaxInstances 163 | n 164 | Module 165 | XCSnapshotModule 166 | Name 167 | Snapshots Tool 168 | 169 | 170 | BundlePath 171 | /Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources 172 | Description 173 | DefaultDescriptionKey 174 | DockingSystemVisible 175 | 176 | Extension 177 | mode1v3 178 | FavBarConfig 179 | 180 | PBXProjectModuleGUID 181 | 4D477E5113BC87A3004AEDFA 182 | XCBarModuleItemNames 183 | 184 | XCBarModuleItems 185 | 186 | 187 | FirstTimeWindowDisplayed 188 | 189 | Identifier 190 | com.apple.perspectives.project.mode1v3 191 | MajorVersion 192 | 33 193 | MinorVersion 194 | 0 195 | Name 196 | Default 197 | Notifications 198 | 199 | OpenEditors 200 | 201 | PerspectiveWidths 202 | 203 | -1 204 | -1 205 | 206 | Perspectives 207 | 208 | 209 | ChosenToolbarItems 210 | 211 | active-combo-popup 212 | action 213 | NSToolbarFlexibleSpaceItem 214 | debugger-enable-breakpoints 215 | build-and-go 216 | com.apple.ide.PBXToolbarStopButton 217 | get-info 218 | NSToolbarFlexibleSpaceItem 219 | com.apple.pbx.toolbar.searchfield 220 | 221 | ControllerClassBaseName 222 | 223 | IconName 224 | WindowOfProjectWithEditor 225 | Identifier 226 | perspective.project 227 | IsVertical 228 | 229 | Layout 230 | 231 | 232 | ContentConfiguration 233 | 234 | PBXBottomSmartGroupGIDs 235 | 236 | 1C37FBAC04509CD000000102 237 | 1C37FAAC04509CD000000102 238 | 1C37FABC05509CD000000102 239 | 1C37FABC05539CD112110102 240 | E2644B35053B69B200211256 241 | 1C37FABC04509CD000100104 242 | 1CC0EA4004350EF90044410B 243 | 1CC0EA4004350EF90041110B 244 | 245 | PBXProjectModuleGUID 246 | 1CE0B1FE06471DED0097A5F4 247 | PBXProjectModuleLabel 248 | Files 249 | PBXProjectStructureProvided 250 | yes 251 | PBXSmartGroupTreeModuleColumnData 252 | 253 | PBXSmartGroupTreeModuleColumnWidthsKey 254 | 255 | 186 256 | 257 | PBXSmartGroupTreeModuleColumnsKey_v4 258 | 259 | MainColumn 260 | 261 | 262 | PBXSmartGroupTreeModuleOutlineStateKey_v7 263 | 264 | PBXSmartGroupTreeModuleOutlineStateExpansionKey 265 | 266 | 08FB7794FE84155DC02AAC07 267 | 1C37FABC05509CD000000102 268 | 269 | PBXSmartGroupTreeModuleOutlineStateSelectionKey 270 | 271 | 272 | 0 273 | 274 | 275 | PBXSmartGroupTreeModuleOutlineStateVisibleRectKey 276 | {{0, 0}, {186, 579}} 277 | 278 | PBXTopSmartGroupGIDs 279 | 280 | XCIncludePerspectivesSwitch 281 | 282 | XCSharingToken 283 | com.apple.Xcode.GFSharingToken 284 | 285 | GeometryConfiguration 286 | 287 | Frame 288 | {{0, 0}, {203, 597}} 289 | GroupTreeTableConfiguration 290 | 291 | MainColumn 292 | 186 293 | 294 | RubberWindowFrame 295 | 0 140 1280 638 0 0 1280 778 296 | 297 | Module 298 | PBXSmartGroupTreeModule 299 | Proportion 300 | 203pt 301 | 302 | 303 | Dock 304 | 305 | 306 | BecomeActive 307 | 308 | ContentConfiguration 309 | 310 | PBXProjectModuleGUID 311 | 1CE0B20306471E060097A5F4 312 | PBXProjectModuleLabel 313 | main.c 314 | PBXSplitModuleInNavigatorKey 315 | 316 | Split0 317 | 318 | PBXProjectModuleGUID 319 | 1CE0B20406471E060097A5F4 320 | PBXProjectModuleLabel 321 | main.c 322 | _historyCapacity 323 | 0 324 | bookmark 325 | 4D8AE8DD13BC9117006B7122 326 | history 327 | 328 | 4D477E6313BC88CA004AEDFA 329 | 330 | 331 | SplitCount 332 | 1 333 | 334 | StatusBarVisibility 335 | 336 | 337 | GeometryConfiguration 338 | 339 | Frame 340 | {{0, 0}, {1072, 405}} 341 | RubberWindowFrame 342 | 0 140 1280 638 0 0 1280 778 343 | 344 | Module 345 | PBXNavigatorGroup 346 | Proportion 347 | 405pt 348 | 349 | 350 | ContentConfiguration 351 | 352 | PBXProjectModuleGUID 353 | 1CE0B20506471E060097A5F4 354 | PBXProjectModuleLabel 355 | Detail 356 | 357 | GeometryConfiguration 358 | 359 | Frame 360 | {{0, 410}, {1072, 187}} 361 | RubberWindowFrame 362 | 0 140 1280 638 0 0 1280 778 363 | 364 | Module 365 | XCDetailModule 366 | Proportion 367 | 187pt 368 | 369 | 370 | Proportion 371 | 1072pt 372 | 373 | 374 | Name 375 | Project 376 | ServiceClasses 377 | 378 | XCModuleDock 379 | PBXSmartGroupTreeModule 380 | XCModuleDock 381 | PBXNavigatorGroup 382 | XCDetailModule 383 | 384 | TableOfContents 385 | 386 | 4D8AE8DE13BC9117006B7122 387 | 1CE0B1FE06471DED0097A5F4 388 | 4D8AE8DF13BC9117006B7122 389 | 1CE0B20306471E060097A5F4 390 | 1CE0B20506471E060097A5F4 391 | 392 | ToolbarConfigUserDefaultsMinorVersion 393 | 2 394 | ToolbarConfiguration 395 | xcode.toolbar.config.defaultV3 396 | 397 | 398 | ControllerClassBaseName 399 | 400 | IconName 401 | WindowOfProject 402 | Identifier 403 | perspective.morph 404 | IsVertical 405 | 0 406 | Layout 407 | 408 | 409 | BecomeActive 410 | 1 411 | ContentConfiguration 412 | 413 | PBXBottomSmartGroupGIDs 414 | 415 | 1C37FBAC04509CD000000102 416 | 1C37FAAC04509CD000000102 417 | 1C08E77C0454961000C914BD 418 | 1C37FABC05509CD000000102 419 | 1C37FABC05539CD112110102 420 | E2644B35053B69B200211256 421 | 1C37FABC04509CD000100104 422 | 1CC0EA4004350EF90044410B 423 | 1CC0EA4004350EF90041110B 424 | 425 | PBXProjectModuleGUID 426 | 11E0B1FE06471DED0097A5F4 427 | PBXProjectModuleLabel 428 | Files 429 | PBXProjectStructureProvided 430 | yes 431 | PBXSmartGroupTreeModuleColumnData 432 | 433 | PBXSmartGroupTreeModuleColumnWidthsKey 434 | 435 | 186 436 | 437 | PBXSmartGroupTreeModuleColumnsKey_v4 438 | 439 | MainColumn 440 | 441 | 442 | PBXSmartGroupTreeModuleOutlineStateKey_v7 443 | 444 | PBXSmartGroupTreeModuleOutlineStateExpansionKey 445 | 446 | 29B97314FDCFA39411CA2CEA 447 | 1C37FABC05509CD000000102 448 | 449 | PBXSmartGroupTreeModuleOutlineStateSelectionKey 450 | 451 | 452 | 0 453 | 454 | 455 | PBXSmartGroupTreeModuleOutlineStateVisibleRectKey 456 | {{0, 0}, {186, 337}} 457 | 458 | PBXTopSmartGroupGIDs 459 | 460 | XCIncludePerspectivesSwitch 461 | 1 462 | XCSharingToken 463 | com.apple.Xcode.GFSharingToken 464 | 465 | GeometryConfiguration 466 | 467 | Frame 468 | {{0, 0}, {203, 355}} 469 | GroupTreeTableConfiguration 470 | 471 | MainColumn 472 | 186 473 | 474 | RubberWindowFrame 475 | 373 269 690 397 0 0 1440 878 476 | 477 | Module 478 | PBXSmartGroupTreeModule 479 | Proportion 480 | 100% 481 | 482 | 483 | Name 484 | Morph 485 | PreferredWidth 486 | 300 487 | ServiceClasses 488 | 489 | XCModuleDock 490 | PBXSmartGroupTreeModule 491 | 492 | TableOfContents 493 | 494 | 11E0B1FE06471DED0097A5F4 495 | 496 | ToolbarConfiguration 497 | xcode.toolbar.config.default.shortV3 498 | 499 | 500 | PerspectivesBarVisible 501 | 502 | ShelfIsVisible 503 | 504 | SourceDescription 505 | file at '/Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources/XCPerspectivesSpecificationMode1.xcperspec' 506 | StatusbarIsVisible 507 | 508 | TimeStamp 509 | 0.0 510 | ToolbarConfigUserDefaultsMinorVersion 511 | 2 512 | ToolbarDisplayMode 513 | 1 514 | ToolbarIsVisible 515 | 516 | ToolbarSizeMode 517 | 1 518 | Type 519 | Perspectives 520 | UpdateMessage 521 | The Default Workspace in this version of Xcode now includes support to hide and show the detail view (what has been referred to as the "Metro-Morph" feature). You must discard your current Default Workspace settings and update to the latest Default Workspace in order to gain this feature. Do you wish to update to the latest Workspace defaults for project '%@'? 522 | WindowJustification 523 | 5 524 | WindowOrderList 525 | 526 | 4D8AE8E013BC9117006B7122 527 | 4D8AE8E113BC9117006B7122 528 | 1C78EAAD065D492600B07095 529 | 1CD10A99069EF8BA00B06720 530 | 4D477DB513BC80E5004AEDFA 531 | /Users/Mark/Desktop/Movies/Movies.xcodeproj 532 | 533 | WindowString 534 | 0 140 1280 638 0 0 1280 778 535 | WindowToolsV3 536 | 537 | 538 | FirstTimeWindowDisplayed 539 | 540 | Identifier 541 | windowTool.build 542 | IsVertical 543 | 544 | Layout 545 | 546 | 547 | Dock 548 | 549 | 550 | ContentConfiguration 551 | 552 | PBXProjectModuleGUID 553 | 1CD0528F0623707200166675 554 | PBXProjectModuleLabel 555 | 556 | StatusBarVisibility 557 | 558 | 559 | GeometryConfiguration 560 | 561 | Frame 562 | {{0, 0}, {500, 218}} 563 | RubberWindowFrame 564 | 267 221 500 500 0 0 1280 778 565 | 566 | Module 567 | PBXNavigatorGroup 568 | Proportion 569 | 218pt 570 | 571 | 572 | ContentConfiguration 573 | 574 | PBXProjectModuleGUID 575 | XCMainBuildResultsModuleGUID 576 | PBXProjectModuleLabel 577 | Build Results 578 | XCBuildResultsTrigger_Collapse 579 | 1021 580 | XCBuildResultsTrigger_Open 581 | 1011 582 | 583 | GeometryConfiguration 584 | 585 | Frame 586 | {{0, 223}, {500, 236}} 587 | RubberWindowFrame 588 | 267 221 500 500 0 0 1280 778 589 | 590 | Module 591 | PBXBuildResultsModule 592 | Proportion 593 | 236pt 594 | 595 | 596 | Proportion 597 | 459pt 598 | 599 | 600 | Name 601 | Build Results 602 | ServiceClasses 603 | 604 | PBXBuildResultsModule 605 | 606 | StatusbarIsVisible 607 | 608 | TableOfContents 609 | 610 | 4D477DB513BC80E5004AEDFA 611 | 4D8AE8C113BC9014006B7122 612 | 1CD0528F0623707200166675 613 | XCMainBuildResultsModuleGUID 614 | 615 | ToolbarConfiguration 616 | xcode.toolbar.config.buildV3 617 | WindowContentMinSize 618 | 486 300 619 | WindowString 620 | 267 221 500 500 0 0 1280 778 621 | WindowToolGUID 622 | 4D477DB513BC80E5004AEDFA 623 | WindowToolIsVisible 624 | 625 | 626 | 627 | FirstTimeWindowDisplayed 628 | 629 | Identifier 630 | windowTool.debugger 631 | IsVertical 632 | 633 | Layout 634 | 635 | 636 | Dock 637 | 638 | 639 | ContentConfiguration 640 | 641 | Debugger 642 | 643 | HorizontalSplitView 644 | 645 | _collapsingFrameDimension 646 | 0.0 647 | _indexOfCollapsedView 648 | 0 649 | _percentageOfCollapsedView 650 | 0.0 651 | isCollapsed 652 | yes 653 | sizes 654 | 655 | {{0, 0}, {316, 194}} 656 | {{316, 0}, {378, 194}} 657 | 658 | 659 | VerticalSplitView 660 | 661 | _collapsingFrameDimension 662 | 0.0 663 | _indexOfCollapsedView 664 | 0 665 | _percentageOfCollapsedView 666 | 0.0 667 | isCollapsed 668 | yes 669 | sizes 670 | 671 | {{0, 0}, {694, 194}} 672 | {{0, 194}, {694, 187}} 673 | 674 | 675 | 676 | LauncherConfigVersion 677 | 8 678 | PBXProjectModuleGUID 679 | 1C162984064C10D400B95A72 680 | PBXProjectModuleLabel 681 | Debug - GLUTExamples (Underwater) 682 | 683 | GeometryConfiguration 684 | 685 | DebugConsoleVisible 686 | None 687 | DebugConsoleWindowFrame 688 | {{200, 200}, {500, 300}} 689 | DebugSTDIOWindowFrame 690 | {{200, 200}, {500, 300}} 691 | Frame 692 | {{0, 0}, {694, 381}} 693 | PBXDebugSessionStackFrameViewKey 694 | 695 | DebugVariablesTableConfiguration 696 | 697 | Name 698 | 120 699 | Value 700 | 85 701 | Summary 702 | 148 703 | 704 | Frame 705 | {{316, 0}, {378, 194}} 706 | RubberWindowFrame 707 | 21 333 694 422 0 0 1280 778 708 | 709 | RubberWindowFrame 710 | 21 333 694 422 0 0 1280 778 711 | 712 | Module 713 | PBXDebugSessionModule 714 | Proportion 715 | 381pt 716 | 717 | 718 | Proportion 719 | 381pt 720 | 721 | 722 | Name 723 | Debugger 724 | ServiceClasses 725 | 726 | PBXDebugSessionModule 727 | 728 | StatusbarIsVisible 729 | 730 | TableOfContents 731 | 732 | 1CD10A99069EF8BA00B06720 733 | 4D8AE8C213BC9014006B7122 734 | 1C162984064C10D400B95A72 735 | 4D8AE8C313BC9014006B7122 736 | 4D8AE8C413BC9014006B7122 737 | 4D8AE8C513BC9014006B7122 738 | 4D8AE8C613BC9014006B7122 739 | 4D8AE8C713BC9014006B7122 740 | 741 | ToolbarConfiguration 742 | xcode.toolbar.config.debugV3 743 | WindowString 744 | 21 333 694 422 0 0 1280 778 745 | WindowToolGUID 746 | 1CD10A99069EF8BA00B06720 747 | WindowToolIsVisible 748 | 749 | 750 | 751 | Identifier 752 | windowTool.find 753 | Layout 754 | 755 | 756 | Dock 757 | 758 | 759 | Dock 760 | 761 | 762 | ContentConfiguration 763 | 764 | PBXProjectModuleGUID 765 | 1CDD528C0622207200134675 766 | PBXProjectModuleLabel 767 | <No Editor> 768 | PBXSplitModuleInNavigatorKey 769 | 770 | Split0 771 | 772 | PBXProjectModuleGUID 773 | 1CD0528D0623707200166675 774 | 775 | SplitCount 776 | 1 777 | 778 | StatusBarVisibility 779 | 1 780 | 781 | GeometryConfiguration 782 | 783 | Frame 784 | {{0, 0}, {781, 167}} 785 | RubberWindowFrame 786 | 62 385 781 470 0 0 1440 878 787 | 788 | Module 789 | PBXNavigatorGroup 790 | Proportion 791 | 781pt 792 | 793 | 794 | Proportion 795 | 50% 796 | 797 | 798 | BecomeActive 799 | 1 800 | ContentConfiguration 801 | 802 | PBXProjectModuleGUID 803 | 1CD0528E0623707200166675 804 | PBXProjectModuleLabel 805 | Project Find 806 | 807 | GeometryConfiguration 808 | 809 | Frame 810 | {{8, 0}, {773, 254}} 811 | RubberWindowFrame 812 | 62 385 781 470 0 0 1440 878 813 | 814 | Module 815 | PBXProjectFindModule 816 | Proportion 817 | 50% 818 | 819 | 820 | Proportion 821 | 428pt 822 | 823 | 824 | Name 825 | Project Find 826 | ServiceClasses 827 | 828 | PBXProjectFindModule 829 | 830 | StatusbarIsVisible 831 | 1 832 | TableOfContents 833 | 834 | 1C530D57069F1CE1000CFCEE 835 | 1C530D58069F1CE1000CFCEE 836 | 1C530D59069F1CE1000CFCEE 837 | 1CDD528C0622207200134675 838 | 1C530D5A069F1CE1000CFCEE 839 | 1CE0B1FE06471DED0097A5F4 840 | 1CD0528E0623707200166675 841 | 842 | WindowString 843 | 62 385 781 470 0 0 1440 878 844 | WindowToolGUID 845 | 1C530D57069F1CE1000CFCEE 846 | WindowToolIsVisible 847 | 0 848 | 849 | 850 | Identifier 851 | MENUSEPARATOR 852 | 853 | 854 | FirstTimeWindowDisplayed 855 | 856 | Identifier 857 | windowTool.debuggerConsole 858 | IsVertical 859 | 860 | Layout 861 | 862 | 863 | Dock 864 | 865 | 866 | BecomeActive 867 | 868 | ContentConfiguration 869 | 870 | PBXProjectModuleGUID 871 | 1C78EAAC065D492600B07095 872 | PBXProjectModuleLabel 873 | Debugger Console 874 | 875 | GeometryConfiguration 876 | 877 | Frame 878 | {{0, 0}, {650, 209}} 879 | RubberWindowFrame 880 | 21 505 650 250 0 0 1280 778 881 | 882 | Module 883 | PBXDebugCLIModule 884 | Proportion 885 | 209pt 886 | 887 | 888 | Proportion 889 | 209pt 890 | 891 | 892 | Name 893 | Debugger Console 894 | ServiceClasses 895 | 896 | PBXDebugCLIModule 897 | 898 | StatusbarIsVisible 899 | 900 | TableOfContents 901 | 902 | 1C78EAAD065D492600B07095 903 | 4D8AE8C813BC9014006B7122 904 | 1C78EAAC065D492600B07095 905 | 906 | ToolbarConfiguration 907 | xcode.toolbar.config.consoleV3 908 | WindowString 909 | 21 505 650 250 0 0 1280 778 910 | WindowToolGUID 911 | 1C78EAAD065D492600B07095 912 | WindowToolIsVisible 913 | 914 | 915 | 916 | Identifier 917 | windowTool.snapshots 918 | Layout 919 | 920 | 921 | Dock 922 | 923 | 924 | Module 925 | XCSnapshotModule 926 | Proportion 927 | 100% 928 | 929 | 930 | Proportion 931 | 100% 932 | 933 | 934 | Name 935 | Snapshots 936 | ServiceClasses 937 | 938 | XCSnapshotModule 939 | 940 | StatusbarIsVisible 941 | Yes 942 | ToolbarConfiguration 943 | xcode.toolbar.config.snapshots 944 | WindowString 945 | 315 824 300 550 0 0 1440 878 946 | WindowToolIsVisible 947 | Yes 948 | 949 | 950 | Identifier 951 | windowTool.scm 952 | Layout 953 | 954 | 955 | Dock 956 | 957 | 958 | ContentConfiguration 959 | 960 | PBXProjectModuleGUID 961 | 1C78EAB2065D492600B07095 962 | PBXProjectModuleLabel 963 | <No Editor> 964 | PBXSplitModuleInNavigatorKey 965 | 966 | Split0 967 | 968 | PBXProjectModuleGUID 969 | 1C78EAB3065D492600B07095 970 | 971 | SplitCount 972 | 1 973 | 974 | StatusBarVisibility 975 | 1 976 | 977 | GeometryConfiguration 978 | 979 | Frame 980 | {{0, 0}, {452, 0}} 981 | RubberWindowFrame 982 | 743 379 452 308 0 0 1280 1002 983 | 984 | Module 985 | PBXNavigatorGroup 986 | Proportion 987 | 0pt 988 | 989 | 990 | BecomeActive 991 | 1 992 | ContentConfiguration 993 | 994 | PBXProjectModuleGUID 995 | 1CD052920623707200166675 996 | PBXProjectModuleLabel 997 | SCM 998 | 999 | GeometryConfiguration 1000 | 1001 | ConsoleFrame 1002 | {{0, 259}, {452, 0}} 1003 | Frame 1004 | {{0, 7}, {452, 259}} 1005 | RubberWindowFrame 1006 | 743 379 452 308 0 0 1280 1002 1007 | TableConfiguration 1008 | 1009 | Status 1010 | 30 1011 | FileName 1012 | 199 1013 | Path 1014 | 197.0950012207031 1015 | 1016 | TableFrame 1017 | {{0, 0}, {452, 250}} 1018 | 1019 | Module 1020 | PBXCVSModule 1021 | Proportion 1022 | 262pt 1023 | 1024 | 1025 | Proportion 1026 | 266pt 1027 | 1028 | 1029 | Name 1030 | SCM 1031 | ServiceClasses 1032 | 1033 | PBXCVSModule 1034 | 1035 | StatusbarIsVisible 1036 | 1 1037 | TableOfContents 1038 | 1039 | 1C78EAB4065D492600B07095 1040 | 1C78EAB5065D492600B07095 1041 | 1C78EAB2065D492600B07095 1042 | 1CD052920623707200166675 1043 | 1044 | ToolbarConfiguration 1045 | xcode.toolbar.config.scm 1046 | WindowString 1047 | 743 379 452 308 0 0 1280 1002 1048 | 1049 | 1050 | Identifier 1051 | windowTool.breakpoints 1052 | IsVertical 1053 | 0 1054 | Layout 1055 | 1056 | 1057 | Dock 1058 | 1059 | 1060 | BecomeActive 1061 | 1 1062 | ContentConfiguration 1063 | 1064 | PBXBottomSmartGroupGIDs 1065 | 1066 | 1C77FABC04509CD000000102 1067 | 1068 | PBXProjectModuleGUID 1069 | 1CE0B1FE06471DED0097A5F4 1070 | PBXProjectModuleLabel 1071 | Files 1072 | PBXProjectStructureProvided 1073 | no 1074 | PBXSmartGroupTreeModuleColumnData 1075 | 1076 | PBXSmartGroupTreeModuleColumnWidthsKey 1077 | 1078 | 168 1079 | 1080 | PBXSmartGroupTreeModuleColumnsKey_v4 1081 | 1082 | MainColumn 1083 | 1084 | 1085 | PBXSmartGroupTreeModuleOutlineStateKey_v7 1086 | 1087 | PBXSmartGroupTreeModuleOutlineStateExpansionKey 1088 | 1089 | 1C77FABC04509CD000000102 1090 | 1091 | PBXSmartGroupTreeModuleOutlineStateSelectionKey 1092 | 1093 | 1094 | 0 1095 | 1096 | 1097 | PBXSmartGroupTreeModuleOutlineStateVisibleRectKey 1098 | {{0, 0}, {168, 350}} 1099 | 1100 | PBXTopSmartGroupGIDs 1101 | 1102 | XCIncludePerspectivesSwitch 1103 | 0 1104 | 1105 | GeometryConfiguration 1106 | 1107 | Frame 1108 | {{0, 0}, {185, 368}} 1109 | GroupTreeTableConfiguration 1110 | 1111 | MainColumn 1112 | 168 1113 | 1114 | RubberWindowFrame 1115 | 315 424 744 409 0 0 1440 878 1116 | 1117 | Module 1118 | PBXSmartGroupTreeModule 1119 | Proportion 1120 | 185pt 1121 | 1122 | 1123 | ContentConfiguration 1124 | 1125 | PBXProjectModuleGUID 1126 | 1CA1AED706398EBD00589147 1127 | PBXProjectModuleLabel 1128 | Detail 1129 | 1130 | GeometryConfiguration 1131 | 1132 | Frame 1133 | {{190, 0}, {554, 368}} 1134 | RubberWindowFrame 1135 | 315 424 744 409 0 0 1440 878 1136 | 1137 | Module 1138 | XCDetailModule 1139 | Proportion 1140 | 554pt 1141 | 1142 | 1143 | Proportion 1144 | 368pt 1145 | 1146 | 1147 | MajorVersion 1148 | 3 1149 | MinorVersion 1150 | 0 1151 | Name 1152 | Breakpoints 1153 | ServiceClasses 1154 | 1155 | PBXSmartGroupTreeModule 1156 | XCDetailModule 1157 | 1158 | StatusbarIsVisible 1159 | 1 1160 | TableOfContents 1161 | 1162 | 1CDDB66807F98D9800BB5817 1163 | 1CDDB66907F98D9800BB5817 1164 | 1CE0B1FE06471DED0097A5F4 1165 | 1CA1AED706398EBD00589147 1166 | 1167 | ToolbarConfiguration 1168 | xcode.toolbar.config.breakpointsV3 1169 | WindowString 1170 | 315 424 744 409 0 0 1440 878 1171 | WindowToolGUID 1172 | 1CDDB66807F98D9800BB5817 1173 | WindowToolIsVisible 1174 | 1 1175 | 1176 | 1177 | Identifier 1178 | windowTool.debugAnimator 1179 | Layout 1180 | 1181 | 1182 | Dock 1183 | 1184 | 1185 | Module 1186 | PBXNavigatorGroup 1187 | Proportion 1188 | 100% 1189 | 1190 | 1191 | Proportion 1192 | 100% 1193 | 1194 | 1195 | Name 1196 | Debug Visualizer 1197 | ServiceClasses 1198 | 1199 | PBXNavigatorGroup 1200 | 1201 | StatusbarIsVisible 1202 | 1 1203 | ToolbarConfiguration 1204 | xcode.toolbar.config.debugAnimatorV3 1205 | WindowString 1206 | 100 100 700 500 0 0 1280 1002 1207 | 1208 | 1209 | Identifier 1210 | windowTool.bookmarks 1211 | Layout 1212 | 1213 | 1214 | Dock 1215 | 1216 | 1217 | Module 1218 | PBXBookmarksModule 1219 | Proportion 1220 | 100% 1221 | 1222 | 1223 | Proportion 1224 | 100% 1225 | 1226 | 1227 | Name 1228 | Bookmarks 1229 | ServiceClasses 1230 | 1231 | PBXBookmarksModule 1232 | 1233 | StatusbarIsVisible 1234 | 0 1235 | WindowString 1236 | 538 42 401 187 0 0 1280 1002 1237 | 1238 | 1239 | Identifier 1240 | windowTool.projectFormatConflicts 1241 | Layout 1242 | 1243 | 1244 | Dock 1245 | 1246 | 1247 | Module 1248 | XCProjectFormatConflictsModule 1249 | Proportion 1250 | 100% 1251 | 1252 | 1253 | Proportion 1254 | 100% 1255 | 1256 | 1257 | Name 1258 | Project Format Conflicts 1259 | ServiceClasses 1260 | 1261 | XCProjectFormatConflictsModule 1262 | 1263 | StatusbarIsVisible 1264 | 0 1265 | WindowContentMinSize 1266 | 450 300 1267 | WindowString 1268 | 50 850 472 307 0 0 1440 877 1269 | 1270 | 1271 | Identifier 1272 | windowTool.classBrowser 1273 | Layout 1274 | 1275 | 1276 | Dock 1277 | 1278 | 1279 | BecomeActive 1280 | 1 1281 | ContentConfiguration 1282 | 1283 | OptionsSetName 1284 | Hierarchy, all classes 1285 | PBXProjectModuleGUID 1286 | 1CA6456E063B45B4001379D8 1287 | PBXProjectModuleLabel 1288 | Class Browser - NSObject 1289 | 1290 | GeometryConfiguration 1291 | 1292 | ClassesFrame 1293 | {{0, 0}, {374, 96}} 1294 | ClassesTreeTableConfiguration 1295 | 1296 | PBXClassNameColumnIdentifier 1297 | 208 1298 | PBXClassBookColumnIdentifier 1299 | 22 1300 | 1301 | Frame 1302 | {{0, 0}, {630, 331}} 1303 | MembersFrame 1304 | {{0, 105}, {374, 395}} 1305 | MembersTreeTableConfiguration 1306 | 1307 | PBXMemberTypeIconColumnIdentifier 1308 | 22 1309 | PBXMemberNameColumnIdentifier 1310 | 216 1311 | PBXMemberTypeColumnIdentifier 1312 | 97 1313 | PBXMemberBookColumnIdentifier 1314 | 22 1315 | 1316 | PBXModuleWindowStatusBarHidden2 1317 | 1 1318 | RubberWindowFrame 1319 | 385 179 630 352 0 0 1440 878 1320 | 1321 | Module 1322 | PBXClassBrowserModule 1323 | Proportion 1324 | 332pt 1325 | 1326 | 1327 | Proportion 1328 | 332pt 1329 | 1330 | 1331 | Name 1332 | Class Browser 1333 | ServiceClasses 1334 | 1335 | PBXClassBrowserModule 1336 | 1337 | StatusbarIsVisible 1338 | 0 1339 | TableOfContents 1340 | 1341 | 1C0AD2AF069F1E9B00FABCE6 1342 | 1C0AD2B0069F1E9B00FABCE6 1343 | 1CA6456E063B45B4001379D8 1344 | 1345 | ToolbarConfiguration 1346 | xcode.toolbar.config.classbrowser 1347 | WindowString 1348 | 385 179 630 352 0 0 1440 878 1349 | WindowToolGUID 1350 | 1C0AD2AF069F1E9B00FABCE6 1351 | WindowToolIsVisible 1352 | 0 1353 | 1354 | 1355 | Identifier 1356 | windowTool.refactoring 1357 | IncludeInToolsMenu 1358 | 0 1359 | Layout 1360 | 1361 | 1362 | Dock 1363 | 1364 | 1365 | BecomeActive 1366 | 1 1367 | GeometryConfiguration 1368 | 1369 | Frame 1370 | {0, 0}, {500, 335} 1371 | RubberWindowFrame 1372 | {0, 0}, {500, 335} 1373 | 1374 | Module 1375 | XCRefactoringModule 1376 | Proportion 1377 | 100% 1378 | 1379 | 1380 | Proportion 1381 | 100% 1382 | 1383 | 1384 | Name 1385 | Refactoring 1386 | ServiceClasses 1387 | 1388 | XCRefactoringModule 1389 | 1390 | WindowString 1391 | 200 200 500 356 0 0 1920 1200 1392 | 1393 | 1394 | 1395 | 1396 | -------------------------------------------------------------------------------- /Movies/Movies.xcodeproj/Mark.pbxuser: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | 08FB7793FE84155DC02AAC07 /* Project object */ = { 4 | activeBuildConfigurationName = Debug; 5 | activeExecutable = 4D477D9113BC7D06004AEDFA /* Movies */; 6 | activeTarget = 8DD76FA90486AB0100D96B5E /* Movies */; 7 | breakpoints = ( 8 | ); 9 | codeSenseManager = 4D477D9613BC7D26004AEDFA /* Code sense */; 10 | executables = ( 11 | 4D477D9113BC7D06004AEDFA /* Movies */, 12 | ); 13 | perUserDictionary = { 14 | PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = { 15 | PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; 16 | PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; 17 | PBXFileTableDataSourceColumnWidthsKey = ( 18 | 20, 19 | 833, 20 | 20, 21 | 48, 22 | 43, 23 | 43, 24 | 20, 25 | ); 26 | PBXFileTableDataSourceColumnsKey = ( 27 | PBXFileDataSource_FiletypeID, 28 | PBXFileDataSource_Filename_ColumnID, 29 | PBXFileDataSource_Built_ColumnID, 30 | PBXFileDataSource_ObjectSize_ColumnID, 31 | PBXFileDataSource_Errors_ColumnID, 32 | PBXFileDataSource_Warnings_ColumnID, 33 | PBXFileDataSource_Target_ColumnID, 34 | ); 35 | }; 36 | PBXPerProjectTemplateStateSaveDate = 331124012; 37 | PBXWorkspaceStateSaveDate = 331124012; 38 | }; 39 | perUserProjectItems = { 40 | 4D477E6313BC88CA004AEDFA /* PBXTextBookmark */ = 4D477E6313BC88CA004AEDFA /* PBXTextBookmark */; 41 | 4D8AE8DD13BC9117006B7122 /* PBXTextBookmark */ = 4D8AE8DD13BC9117006B7122 /* PBXTextBookmark */; 42 | }; 43 | sourceControlManager = 4D477D9513BC7D26004AEDFA /* Source Control */; 44 | userBuildSettings = { 45 | }; 46 | }; 47 | 08FB7796FE84155DC02AAC07 /* main.c */ = { 48 | uiCtxt = { 49 | sepNavIntBoundsRect = "{{0, 0}, {1011, 598}}"; 50 | sepNavSelRange = "{673, 0}"; 51 | sepNavVisRange = "{40, 873}"; 52 | }; 53 | }; 54 | 4D477D9113BC7D06004AEDFA /* Movies */ = { 55 | isa = PBXExecutable; 56 | activeArgIndices = ( 57 | ); 58 | argumentStrings = ( 59 | ); 60 | autoAttachOnCrash = 1; 61 | breakpointsEnabled = 0; 62 | configStateDict = { 63 | }; 64 | customDataFormattersEnabled = 1; 65 | dataTipCustomDataFormattersEnabled = 1; 66 | dataTipShowTypeColumn = 1; 67 | dataTipSortType = 0; 68 | debuggerPlugin = GDBDebugging; 69 | disassemblyDisplayState = 0; 70 | dylibVariantSuffix = ""; 71 | enableDebugStr = 1; 72 | environmentEntries = ( 73 | ); 74 | executableSystemSymbolLevel = 0; 75 | executableUserSymbolLevel = 0; 76 | libgmallocEnabled = 0; 77 | name = Movies; 78 | savedGlobals = { 79 | }; 80 | showTypeColumn = 0; 81 | sourceDirectories = ( 82 | ); 83 | }; 84 | 4D477D9513BC7D26004AEDFA /* Source Control */ = { 85 | isa = PBXSourceControlManager; 86 | fallbackIsa = XCSourceControlManager; 87 | isSCMEnabled = 0; 88 | scmConfiguration = { 89 | repositoryNamesForRoots = { 90 | "" = ""; 91 | }; 92 | }; 93 | }; 94 | 4D477D9613BC7D26004AEDFA /* Code sense */ = { 95 | isa = PBXCodeSenseManager; 96 | indexTemplatePath = ""; 97 | }; 98 | 4D477E6313BC88CA004AEDFA /* PBXTextBookmark */ = { 99 | isa = PBXTextBookmark; 100 | fRef = 08FB7796FE84155DC02AAC07 /* main.c */; 101 | name = "main.c: 9"; 102 | rLen = 0; 103 | rLoc = 232; 104 | rType = 0; 105 | vrLen = 859; 106 | vrLoc = 80; 107 | }; 108 | 4D8AE8DD13BC9117006B7122 /* PBXTextBookmark */ = { 109 | isa = PBXTextBookmark; 110 | fRef = 08FB7796FE84155DC02AAC07 /* main.c */; 111 | name = "main.c: 22"; 112 | rLen = 0; 113 | rLoc = 673; 114 | rType = 0; 115 | vrLen = 873; 116 | vrLoc = 40; 117 | }; 118 | 8DD76FA90486AB0100D96B5E /* Movies */ = { 119 | activeExec = 0; 120 | executables = ( 121 | 4D477D9113BC7D06004AEDFA /* Movies */, 122 | ); 123 | }; 124 | } 125 | -------------------------------------------------------------------------------- /Movies/Movies.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 8DD76FAC0486AB0100D96B5E /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 08FB7796FE84155DC02AAC07 /* main.c */; settings = {ATTRIBUTES = (); }; }; 11 | 8DD76FB00486AB0100D96B5E /* Movies.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = C6A0FF2C0290799A04C91782 /* Movies.1 */; }; 12 | /* End PBXBuildFile section */ 13 | 14 | /* Begin PBXCopyFilesBuildPhase section */ 15 | 8DD76FAF0486AB0100D96B5E /* CopyFiles */ = { 16 | isa = PBXCopyFilesBuildPhase; 17 | buildActionMask = 8; 18 | dstPath = /usr/share/man/man1/; 19 | dstSubfolderSpec = 0; 20 | files = ( 21 | 8DD76FB00486AB0100D96B5E /* Movies.1 in CopyFiles */, 22 | ); 23 | runOnlyForDeploymentPostprocessing = 1; 24 | }; 25 | /* End PBXCopyFilesBuildPhase section */ 26 | 27 | /* Begin PBXFileReference section */ 28 | 08FB7796FE84155DC02AAC07 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; }; 29 | 8DD76FB20486AB0100D96B5E /* Movies */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = Movies; sourceTree = BUILT_PRODUCTS_DIR; }; 30 | C6A0FF2C0290799A04C91782 /* Movies.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = Movies.1; sourceTree = ""; }; 31 | /* End PBXFileReference section */ 32 | 33 | /* Begin PBXFrameworksBuildPhase section */ 34 | 8DD76FAD0486AB0100D96B5E /* Frameworks */ = { 35 | isa = PBXFrameworksBuildPhase; 36 | buildActionMask = 2147483647; 37 | files = ( 38 | ); 39 | runOnlyForDeploymentPostprocessing = 0; 40 | }; 41 | /* End PBXFrameworksBuildPhase section */ 42 | 43 | /* Begin PBXGroup section */ 44 | 08FB7794FE84155DC02AAC07 /* Movies */ = { 45 | isa = PBXGroup; 46 | children = ( 47 | 08FB7795FE84155DC02AAC07 /* Source */, 48 | C6A0FF2B0290797F04C91782 /* Documentation */, 49 | 1AB674ADFE9D54B511CA2CBB /* Products */, 50 | ); 51 | name = Movies; 52 | sourceTree = ""; 53 | }; 54 | 08FB7795FE84155DC02AAC07 /* Source */ = { 55 | isa = PBXGroup; 56 | children = ( 57 | 08FB7796FE84155DC02AAC07 /* main.c */, 58 | ); 59 | name = Source; 60 | sourceTree = ""; 61 | }; 62 | 1AB674ADFE9D54B511CA2CBB /* Products */ = { 63 | isa = PBXGroup; 64 | children = ( 65 | 8DD76FB20486AB0100D96B5E /* Movies */, 66 | ); 67 | name = Products; 68 | sourceTree = ""; 69 | }; 70 | C6A0FF2B0290797F04C91782 /* Documentation */ = { 71 | isa = PBXGroup; 72 | children = ( 73 | C6A0FF2C0290799A04C91782 /* Movies.1 */, 74 | ); 75 | name = Documentation; 76 | sourceTree = ""; 77 | }; 78 | /* End PBXGroup section */ 79 | 80 | /* Begin PBXNativeTarget section */ 81 | 8DD76FA90486AB0100D96B5E /* Movies */ = { 82 | isa = PBXNativeTarget; 83 | buildConfigurationList = 1DEB928508733DD80010E9CD /* Build configuration list for PBXNativeTarget "Movies" */; 84 | buildPhases = ( 85 | 8DD76FAB0486AB0100D96B5E /* Sources */, 86 | 8DD76FAD0486AB0100D96B5E /* Frameworks */, 87 | 8DD76FAF0486AB0100D96B5E /* CopyFiles */, 88 | ); 89 | buildRules = ( 90 | ); 91 | dependencies = ( 92 | ); 93 | name = Movies; 94 | productInstallPath = "$(HOME)/bin"; 95 | productName = Movies; 96 | productReference = 8DD76FB20486AB0100D96B5E /* Movies */; 97 | productType = "com.apple.product-type.tool"; 98 | }; 99 | /* End PBXNativeTarget section */ 100 | 101 | /* Begin PBXProject section */ 102 | 08FB7793FE84155DC02AAC07 /* Project object */ = { 103 | isa = PBXProject; 104 | attributes = { 105 | LastUpgradeCheck = 0410; 106 | }; 107 | buildConfigurationList = 1DEB928908733DD80010E9CD /* Build configuration list for PBXProject "Movies" */; 108 | compatibilityVersion = "Xcode 3.2"; 109 | developmentRegion = English; 110 | hasScannedForEncodings = 1; 111 | knownRegions = ( 112 | en, 113 | ); 114 | mainGroup = 08FB7794FE84155DC02AAC07 /* Movies */; 115 | projectDirPath = ""; 116 | projectRoot = ""; 117 | targets = ( 118 | 8DD76FA90486AB0100D96B5E /* Movies */, 119 | ); 120 | }; 121 | /* End PBXProject section */ 122 | 123 | /* Begin PBXSourcesBuildPhase section */ 124 | 8DD76FAB0486AB0100D96B5E /* Sources */ = { 125 | isa = PBXSourcesBuildPhase; 126 | buildActionMask = 2147483647; 127 | files = ( 128 | 8DD76FAC0486AB0100D96B5E /* main.c in Sources */, 129 | ); 130 | runOnlyForDeploymentPostprocessing = 0; 131 | }; 132 | /* End PBXSourcesBuildPhase section */ 133 | 134 | /* Begin XCBuildConfiguration section */ 135 | 1DEB928608733DD80010E9CD /* Debug */ = { 136 | isa = XCBuildConfiguration; 137 | buildSettings = { 138 | ALWAYS_SEARCH_USER_PATHS = NO; 139 | COPY_PHASE_STRIP = NO; 140 | GCC_DYNAMIC_NO_PIC = NO; 141 | GCC_MODEL_TUNING = G5; 142 | GCC_OPTIMIZATION_LEVEL = 0; 143 | INSTALL_PATH = /usr/local/bin; 144 | PRODUCT_NAME = Movies; 145 | }; 146 | name = Debug; 147 | }; 148 | 1DEB928708733DD80010E9CD /* Release */ = { 149 | isa = XCBuildConfiguration; 150 | buildSettings = { 151 | ALWAYS_SEARCH_USER_PATHS = NO; 152 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 153 | GCC_MODEL_TUNING = G5; 154 | INSTALL_PATH = /usr/local/bin; 155 | PRODUCT_NAME = Movies; 156 | }; 157 | name = Release; 158 | }; 159 | 1DEB928A08733DD80010E9CD /* Debug */ = { 160 | isa = XCBuildConfiguration; 161 | buildSettings = { 162 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 163 | GCC_C_LANGUAGE_STANDARD = gnu99; 164 | GCC_OPTIMIZATION_LEVEL = 0; 165 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 166 | GCC_WARN_UNUSED_VARIABLE = YES; 167 | ONLY_ACTIVE_ARCH = YES; 168 | SDKROOT = macosx; 169 | }; 170 | name = Debug; 171 | }; 172 | 1DEB928B08733DD80010E9CD /* Release */ = { 173 | isa = XCBuildConfiguration; 174 | buildSettings = { 175 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 176 | GCC_C_LANGUAGE_STANDARD = gnu99; 177 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 178 | GCC_WARN_UNUSED_VARIABLE = YES; 179 | SDKROOT = macosx; 180 | }; 181 | name = Release; 182 | }; 183 | /* End XCBuildConfiguration section */ 184 | 185 | /* Begin XCConfigurationList section */ 186 | 1DEB928508733DD80010E9CD /* Build configuration list for PBXNativeTarget "Movies" */ = { 187 | isa = XCConfigurationList; 188 | buildConfigurations = ( 189 | 1DEB928608733DD80010E9CD /* Debug */, 190 | 1DEB928708733DD80010E9CD /* Release */, 191 | ); 192 | defaultConfigurationIsVisible = 0; 193 | defaultConfigurationName = Release; 194 | }; 195 | 1DEB928908733DD80010E9CD /* Build configuration list for PBXProject "Movies" */ = { 196 | isa = XCConfigurationList; 197 | buildConfigurations = ( 198 | 1DEB928A08733DD80010E9CD /* Debug */, 199 | 1DEB928B08733DD80010E9CD /* Release */, 200 | ); 201 | defaultConfigurationIsVisible = 0; 202 | defaultConfigurationName = Release; 203 | }; 204 | /* End XCConfigurationList section */ 205 | }; 206 | rootObject = 08FB7793FE84155DC02AAC07 /* Project object */; 207 | } 208 | -------------------------------------------------------------------------------- /Movies/Movies.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Movies/Movies.xcodeproj/project.xcworkspace/xcuserdata/Mark.xcuserdatad/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEWorkspaceUserSettings_HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges 6 | 7 | IDEWorkspaceUserSettings_SnapshotAutomaticallyBeforeSignificantChanges 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Movies/Movies.xcodeproj/xcuserdata/Mark.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /Movies/Movies.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/Movies.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 14 | 20 | 21 | 22 | 23 | 24 | 29 | 30 | 31 | 32 | 38 | 39 | 45 | 46 | 47 | 48 | 49 | 50 | 55 | 56 | 62 | 63 | 64 | 65 | 67 | 68 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /Movies/Movies.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Movies.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 8DD76FA90486AB0100D96B5E 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Movies/build/Debug/Movies: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hassanmaher/C/850b66d3223ac43ba3c8d63162cd406050d04803/Movies/build/Debug/Movies -------------------------------------------------------------------------------- /Movies/build/Movies.build/Debug/Movies.build/Movies-all-target-headers.hmap: -------------------------------------------------------------------------------- 1 | pamh@ -------------------------------------------------------------------------------- /Movies/build/Movies.build/Debug/Movies.build/Movies-generated-files.hmap: -------------------------------------------------------------------------------- 1 | pamhx -------------------------------------------------------------------------------- /Movies/build/Movies.build/Debug/Movies.build/Movies-own-target-headers.hmap: -------------------------------------------------------------------------------- 1 | pamh@ -------------------------------------------------------------------------------- /Movies/build/Movies.build/Debug/Movies.build/Movies-project-headers.hmap: -------------------------------------------------------------------------------- 1 | pamh@ -------------------------------------------------------------------------------- /Movies/build/Movies.build/Debug/Movies.build/Movies.dep: -------------------------------------------------------------------------------- 1 | bf5eed9e059d65e4d7fa1a816176af37 00db970398d698603c29f518ffae618f ffffffffffffffffffffffffffffffff 9432 /Users/Mark/Desktop/Movies/build/Debug/Movies 2 | 000000004e0c599400000000000052f9 bf5eed9e00089e49d7fa1a816176fd20 ffffffffffffffffffffffffffffffff 5684 /Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/main.o 3 | -------------------------------------------------------------------------------- /Movies/build/Movies.build/Debug/Movies.build/Movies.hmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hassanmaher/C/850b66d3223ac43ba3c8d63162cd406050d04803/Movies/build/Movies.build/Debug/Movies.build/Movies.hmap -------------------------------------------------------------------------------- /Movies/build/Movies.build/Debug/Movies.build/Movies~.dep: -------------------------------------------------------------------------------- 1 | bf5eed9e059d7456d7fa1a816176a8d4 00db970398d698603c29f518ffae618f ffffffffffffffffffffffffffffffff 9160 /Users/Mark/Desktop/Movies/build/Debug/Movies 2 | 000000004e0c4826000000000000551a bf5eed9e00089e49d7fa1a816176fd20 ffffffffffffffffffffffffffffffff 4924 /Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/main.o 3 | -------------------------------------------------------------------------------- /Movies/build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/Movies.LinkFileList: -------------------------------------------------------------------------------- 1 | /Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/main.o 2 | -------------------------------------------------------------------------------- /Movies/build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hassanmaher/C/850b66d3223ac43ba3c8d63162cd406050d04803/Movies/build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/main.o -------------------------------------------------------------------------------- /Movies/build/Movies.build/Debug/Movies.build/build-state.dat: -------------------------------------------------------------------------------- 1 | TMovies 2 | v7 3 | r0 4 | t331125013.074539 5 | cCheck dependencies 6 | cCompileC build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/main.o /Users/Mark/Desktop/Movies/main.c normal x86_64 c com.apple.compilers.gcc.4_2 7 | cLd /Users/Mark/Desktop/Movies/build/Debug/Movies normal x86_64 8 | 9 | N/Developer/SDKs/MacOSX10.6.sdk 10 | c000000004B99A23900000000000000EE 11 | t1268359737 12 | s238 13 | 14 | N/Developer/SDKs/MacOSX10.6.sdk/usr/include/stdio.h 15 | c000000004AC326060000000000004174 16 | t1254303238 17 | s16756 18 | 19 | N/Developer/SDKs/MacOSX10.6.sdk/usr/include/string.h 20 | c000000004AC326060000000000001731 21 | t1254303238 22 | s5937 23 | 24 | N/Users/Mark/Desktop/Movies/build/Debug/Movies 25 | t1309432213 26 | s9432 27 | 28 | N/Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/Movies.LinkFileList 29 | c000000004E0C4828000000000000005E 30 | t1309427752 31 | s94 32 | 33 | N/Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/main.o 34 | t1309432212 35 | s5684 36 | 37 | N/Users/Mark/Desktop/Movies/main.c 38 | c000000004E0C599400000000000004BC 39 | t1309432212 40 | s1212 41 | i 42 | i 43 | 44 | CCheck dependencies 45 | r0 46 | lSLF07#2@18"Check dependencies331125013#331125013#0(0"0(0#1#0"4300911832#0"0# 47 | 48 | CCompileC build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/main.o /Users/Mark/Desktop/Movies/main.c normal x86_64 c com.apple.compilers.gcc.4_2 49 | s331125013.054019 50 | e331125013.055025 51 | r1 52 | xCompileC 53 | xbuild/Movies.build/Debug/Movies.build/Objects-normal/x86_64/main.o 54 | x/Users/Mark/Desktop/Movies/main.c 55 | xnormal 56 | xx86_64 57 | xc 58 | xcom.apple.compilers.gcc.4_2 59 | lSLF07#2@41"Compile /Users/Mark/Desktop/Movies/main.c331125013#331125013#0(0"0(0#0#33"/Users/Mark/Desktop/Movies/main.c4300911832#1120" cd /Users/Mark/Desktop/Movies setenv LANG en_US.US-ASCII /Developer/usr/bin/gcc-4.2 -x c -arch x86_64 -fmessage-length=0 -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.6.sdk -mfix-and-continue -mmacosx-version-min=10.6 -gdwarf-2 -iquote /Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Movies-generated-files.hmap -I/Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Movies-own-target-headers.hmap -I/Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Movies-all-target-headers.hmap -iquote /Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Movies-project-headers.hmap -F/Users/Mark/Desktop/Movies/build/Debug -I/Users/Mark/Desktop/Movies/build/Debug/include -I/Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/DerivedSources/x86_64 -I/Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/DerivedSources -c /Users/Mark/Desktop/Movies/main.c -o /Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/main.o 0# 60 | 61 | CLd /Users/Mark/Desktop/Movies/build/Debug/Movies normal x86_64 62 | s331125013.055083 63 | e331125013.074497 64 | r1 65 | xLd 66 | x/Users/Mark/Desktop/Movies/build/Debug/Movies 67 | xnormal 68 | xx86_64 69 | lSLF07#2@50"Link /Users/Mark/Desktop/Movies/build/Debug/Movies331125013#331125013#0(0"0(0#0#0"4300911832#434" cd /Users/Mark/Desktop/Movies setenv MACOSX_DEPLOYMENT_TARGET 10.6 /Developer/usr/bin/gcc-4.2 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -L/Users/Mark/Desktop/Movies/build/Debug -F/Users/Mark/Desktop/Movies/build/Debug -filelist /Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/Movies.LinkFileList -mmacosx-version-min=10.6 -o /Users/Mark/Desktop/Movies/build/Debug/Movies 0# 70 | 71 | -------------------------------------------------------------------------------- /Movies/build/Movies.build/Debug/Movies.build/build-state~.dat: -------------------------------------------------------------------------------- 1 | TMovies 2 | v7 3 | r0 4 | t331120553.259986 5 | cCheck dependencies 6 | cCompileC build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/main.o /Users/Mark/Desktop/Movies/main.c normal x86_64 c com.apple.compilers.gcc.4_2 7 | cLd /Users/Mark/Desktop/Movies/build/Debug/Movies normal x86_64 8 | 9 | N/Developer/SDKs/MacOSX10.6.sdk 10 | c000000004B99A23900000000000000EE 11 | t1268359737 12 | s238 13 | 14 | N/Developer/SDKs/MacOSX10.6.sdk/usr/include/stdio.h 15 | c000000004AC326060000000000004174 16 | t1254303238 17 | s16756 18 | 19 | N/Developer/SDKs/MacOSX10.6.sdk/usr/include/string.h 20 | c000000004AC326060000000000001731 21 | t1254303238 22 | s5937 23 | 24 | N/Users/Mark/Desktop/Movies/build/Debug/Movies 25 | t1309427753 26 | s9160 27 | 28 | N/Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/Movies.LinkFileList 29 | c000000004E0C4828000000000000005E 30 | t1309427752 31 | s94 32 | 33 | N/Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/main.o 34 | t1309427750 35 | s4924 36 | 37 | N/Users/Mark/Desktop/Movies/main.c 38 | c000000004E0C4826000000000000035F 39 | t1309427750 40 | s863 41 | i 42 | i 43 | 44 | CCheck dependencies 45 | r0 46 | lSLF07#2@18"Check dependencies331120552#331120552#0(0"0(0#1#0"7947009927035180032#0"0# 47 | 48 | CCompileC build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/main.o /Users/Mark/Desktop/Movies/main.c normal x86_64 c com.apple.compilers.gcc.4_2 49 | s331120552.802029 50 | e331120552.839000 51 | r1 52 | xCompileC 53 | xbuild/Movies.build/Debug/Movies.build/Objects-normal/x86_64/main.o 54 | x/Users/Mark/Desktop/Movies/main.c 55 | xnormal 56 | xx86_64 57 | xc 58 | xcom.apple.compilers.gcc.4_2 59 | lSLF07#2@41"Compile /Users/Mark/Desktop/Movies/main.c331120552#331120552#0(758"/Users/Mark/Desktop/Movies/main.c: In function 'main': /Users/Mark/Desktop/Movies/main.c:22: warning: passing argument 1 of 'fgets' makes pointer from integer without a cast /Users/Mark/Desktop/Movies/main.c:25: warning: passing argument 1 of 'PrintDVDs' from incompatible pointer type /Users/Mark/Desktop/Movies/main.c:25: warning: passing argument 2 of 'PrintDVDs' from incompatible pointer type /Users/Mark/Desktop/Movies/main.c: In function 'PrintDVDs': /Users/Mark/Desktop/Movies/main.c:33: warning: format '%s' expects type 'char *', but argument 3 has type 'int' /Users/Mark/Desktop/Movies/main.c:33: warning: format '%s' expects type 'char *', but argument 4 has type 'int' /Users/Mark/Desktop/Movies/main.c:33: warning: too few arguments for format 6(22@71"Passing argument 1 of 'fgets' makes pointer from integer without a cast331120552#55#119#0(6@33"/Users/Mark/Desktop/Movies/main.c331120550#22#0#22#0#0"0(22@64"Passing argument 1 of 'PrintDVDs' from incompatible pointer type331120552#174#112#0(6@33"/Users/Mark/Desktop/Movies/main.c331120550#25#0#25#0#56"passing argument * of '*' from incompatible pointer type0(22@64"Passing argument 2 of 'PrintDVDs' from incompatible pointer type331120552#286#112#0(6@33"/Users/Mark/Desktop/Movies/main.c331120550#25#0#25#0#56"passing argument * of '*' from incompatible pointer type0(22@64"Format '%s' expects type 'char *', but argument 3 has type 'int'331120552#458#112#0(6@33"/Users/Mark/Desktop/Movies/main.c331120550#33#0#33#0#56"format '*' expects type '*', but argument * has type '*'0(22@64"Format '%s' expects type 'char *', but argument 4 has type 'int'331120552#570#112#0(6@33"/Users/Mark/Desktop/Movies/main.c331120550#33#0#33#0#56"format '*' expects type '*', but argument * has type '*'0(22@28"Too few arguments for format331120552#682#76#0(6@33"/Users/Mark/Desktop/Movies/main.c331120550#33#0#33#0#0"0(0#0#33"/Users/Mark/Desktop/Movies/main.c8660259774160596992#1120" cd /Users/Mark/Desktop/Movies setenv LANG en_US.US-ASCII /Developer/usr/bin/gcc-4.2 -x c -arch x86_64 -fmessage-length=0 -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.6.sdk -mfix-and-continue -mmacosx-version-min=10.6 -gdwarf-2 -iquote /Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Movies-generated-files.hmap -I/Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Movies-own-target-headers.hmap -I/Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Movies-all-target-headers.hmap -iquote /Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Movies-project-headers.hmap -F/Users/Mark/Desktop/Movies/build/Debug -I/Users/Mark/Desktop/Movies/build/Debug/include -I/Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/DerivedSources/x86_64 -I/Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/DerivedSources -c /Users/Mark/Desktop/Movies/main.c -o /Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/main.o 0# 60 | 61 | CLd /Users/Mark/Desktop/Movies/build/Debug/Movies normal x86_64 62 | s331120552.839070 63 | e331120553.259914 64 | r1 65 | xLd 66 | x/Users/Mark/Desktop/Movies/build/Debug/Movies 67 | xnormal 68 | xx86_64 69 | lSLF07#2@50"Link /Users/Mark/Desktop/Movies/build/Debug/Movies331120552#331120553#0(0"0(0#0#0"4300911832#434" cd /Users/Mark/Desktop/Movies setenv MACOSX_DEPLOYMENT_TARGET 10.6 /Developer/usr/bin/gcc-4.2 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -L/Users/Mark/Desktop/Movies/build/Debug -F/Users/Mark/Desktop/Movies/build/Debug -filelist /Users/Mark/Desktop/Movies/build/Movies.build/Debug/Movies.build/Objects-normal/x86_64/Movies.LinkFileList -mmacosx-version-min=10.6 -o /Users/Mark/Desktop/Movies/build/Debug/Movies 0# 70 | 71 | -------------------------------------------------------------------------------- /Movies/build/Movies.build/Movies.pbxindex/categories.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hassanmaher/C/850b66d3223ac43ba3c8d63162cd406050d04803/Movies/build/Movies.build/Movies.pbxindex/categories.pbxbtree -------------------------------------------------------------------------------- /Movies/build/Movies.build/Movies.pbxindex/cdecls.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hassanmaher/C/850b66d3223ac43ba3c8d63162cd406050d04803/Movies/build/Movies.build/Movies.pbxindex/cdecls.pbxbtree -------------------------------------------------------------------------------- /Movies/build/Movies.build/Movies.pbxindex/decls.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hassanmaher/C/850b66d3223ac43ba3c8d63162cd406050d04803/Movies/build/Movies.build/Movies.pbxindex/decls.pbxbtree -------------------------------------------------------------------------------- /Movies/build/Movies.build/Movies.pbxindex/files.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hassanmaher/C/850b66d3223ac43ba3c8d63162cd406050d04803/Movies/build/Movies.build/Movies.pbxindex/files.pbxbtree -------------------------------------------------------------------------------- /Movies/build/Movies.build/Movies.pbxindex/imports.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hassanmaher/C/850b66d3223ac43ba3c8d63162cd406050d04803/Movies/build/Movies.build/Movies.pbxindex/imports.pbxbtree -------------------------------------------------------------------------------- /Movies/build/Movies.build/Movies.pbxindex/pbxindex.header: -------------------------------------------------------------------------------- 1 | xnip!Q e -------------------------------------------------------------------------------- /Movies/build/Movies.build/Movies.pbxindex/protocols.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hassanmaher/C/850b66d3223ac43ba3c8d63162cd406050d04803/Movies/build/Movies.build/Movies.pbxindex/protocols.pbxbtree -------------------------------------------------------------------------------- /Movies/build/Movies.build/Movies.pbxindex/refs.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hassanmaher/C/850b66d3223ac43ba3c8d63162cd406050d04803/Movies/build/Movies.build/Movies.pbxindex/refs.pbxbtree -------------------------------------------------------------------------------- /Movies/build/Movies.build/Movies.pbxindex/strings.pbxstrings/control: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hassanmaher/C/850b66d3223ac43ba3c8d63162cd406050d04803/Movies/build/Movies.build/Movies.pbxindex/strings.pbxstrings/control -------------------------------------------------------------------------------- /Movies/build/Movies.build/Movies.pbxindex/strings.pbxstrings/strings: -------------------------------------------------------------------------------- 1 | /Users/Mark/Desktop/Movies/Movies.xcodeproj/Users/Mark/Desktop/Moviesmain.c/Developer/SDKs/MacOSX10.6.sdk/usr/includestdio.h_STDIO_H__types.h__TYPES_H_/Developer/SDKs/MacOSX10.6.sdk/usr/include/sys_SYS__TYPES_H_cdefs.h_CDEFS_H___BEGIN_DECLS__END_DECLS__P(protos) protos__CONCAT(x,y) x ## y__STRING(x) #xconst constsigned signedvolatile volatile__dead2 __attribute__((__noreturn__))__pure2 __attribute__((__const__))__unused __attribute__((__unused__))__dead__pure__restrict__printflike(fmtarg, firstvararg) __attribute__((__format__ (__printf__, fmtarg, firstvararg)))__scanflike(fmtarg, firstvararg) __attribute__((__format__ (__scanf__, fmtarg, firstvararg)))__IDSTRING(name,string) static const char name[] __unused = string__COPYRIGHT(s) __IDSTRING(copyright,s)__RCSID(s) __IDSTRING(rcsid,s)__SCCSID(s) __IDSTRING(sccsid,s)__PROJECT_VERSION(s) __IDSTRING(project_version,s)__DARWIN_ONLY_64_BIT_INO_T 0__DARWIN_ONLY_VERS_1050__DARWIN_ONLY_UNIX_CONFORMANCE 1__DARWIN_UNIX03 1__DARWIN_64_BIT_INO_T__DARWIN_VERS_1050__DARWIN_NON_CANCELABLE 0__DARWIN_SUF_UNIX03__DARWIN_SUF_64_BIT_INO_T "$INODE64"__DARWIN_SUF_1050 "$1050"__DARWIN_SUF_NON_CANCELABLE__DARWIN_SUF_EXTSN "$DARWIN_EXTSN"__DARWIN_ALIAS(sym) __asm("_" __STRING(sym) __DARWIN_SUF_UNIX03)__DARWIN_ALIAS_C(sym) __asm("_" __STRING(sym) __DARWIN_SUF_NON_CANCELABLE __DARWIN_SUF_UNIX03)__DARWIN_ALIAS_I(sym) __asm("_" __STRING(sym) __DARWIN_SUF_64_BIT_INO_T __DARWIN_SUF_UNIX03)__DARWIN_INODE64(sym) __asm("_" __STRING(sym) __DARWIN_SUF_64_BIT_INO_T)__DARWIN_1050(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050)__DARWIN_1050ALIAS(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050 __DARWIN_SUF_UNIX03)__DARWIN_1050ALIAS_C(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050 __DARWIN_SUF_NON_CANCELABLE __DARWIN_SUF_UNIX03)__DARWIN_1050ALIAS_I(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050 __DARWIN_SUF_64_BIT_INO_T __DARWIN_SUF_UNIX03)__DARWIN_1050INODE64(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050 __DARWIN_SUF_64_BIT_INO_T)__DARWIN_EXTSN(sym) __asm("_" __STRING(sym) __DARWIN_SUF_EXTSN)__DARWIN_EXTSN_C(sym) __asm("_" __STRING(sym) __DARWIN_SUF_EXTSN __DARWIN_SUF_NON_CANCELABLE)__DARWIN_10_6_AND_LATER__DARWIN_10_6_AND_LATER_ALIAS(x) x__DARWIN_NO_LONG_LONG (defined(__STRICT_ANSI__) && (__STDC_VERSION__-0 < 199901L) && !defined(__GNUG__))__DARWIN_LDBL_COMPAT(x)__DARWIN_LDBL_COMPAT2__DARWIN_LONG_DOUBLE_IS_DOUBLE__deprecated __attribute__((deprecated))_DARWIN_FEATURE_64_BIT_INODE_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE_DARWIN_FEATURE_UNIX_CONFORMANCE 3__CAST_AWAY_QUALIFIER(variable, qualifier, type) (type) ((char *)0 + ((qualifier char *)(variable) - (qualifier char *)0) )/Developer/SDKs/MacOSX10.6.sdk/usr/include/machine_BSD_MACHINE__TYPES_H_/Developer/SDKs/MacOSX10.6.sdk/usr/include/i386_BSD_I386__TYPES_H___int8_t__uint8_t__int16_t__uint16_t__int32_t__uint32_t__int64_t__uint64_t__darwin_intptr_t__darwin_natural_t__darwin_ct_rune_t__mbstate8_mbstateL__mbstate_t__darwin_mbstate_t__darwin_ptrdiff_t__darwin_size_t__darwin_va_list__darwin_wchar_t__darwin_rune_t__darwin_wint_t__darwin_clock_t__darwin_socklen_t__darwin_ssize_t__darwin_time_t__PTHREAD_SIZE__ 1168__PTHREAD_ATTR_SIZE__ 56__PTHREAD_MUTEXATTR_SIZE__ 8__PTHREAD_MUTEX_SIZE____PTHREAD_CONDATTR_SIZE____PTHREAD_COND_SIZE__ 40__PTHREAD_ONCE_SIZE____PTHREAD_RWLOCK_SIZE__ 192__PTHREAD_RWLOCKATTR_SIZE__ 16__darwin_pthread_handler_rec__routine__arg__next_opaque_pthread_attr_t__sig__opaque_opaque_pthread_cond_t_opaque_pthread_condattr_t_opaque_pthread_mutex_t_opaque_pthread_mutexattr_t_opaque_pthread_once_t_opaque_pthread_rwlock_t_opaque_pthread_rwlockattr_t_opaque_pthread_t__cleanup_stack__DARWIN_NULL ((void *)0)__darwin_blkcnt_t__darwin_blksize_t__darwin_dev_t__darwin_fsblkcnt_t__darwin_fsfilcnt_t__darwin_gid_t__darwin_id_t__darwin_ino64_t__darwin_ino_t__darwin_mach_port_name_t__darwin_mach_port_t__darwin_mode_t__darwin_off_t__darwin_pid_t__darwin_pthread_attr_t__darwin_pthread_cond_t__darwin_pthread_condattr_t__darwin_pthread_key_t__darwin_pthread_mutex_t__darwin_pthread_mutexattr_t__darwin_pthread_once_t__darwin_pthread_rwlock_t__darwin_pthread_rwlockattr_t__darwin_pthread_t__darwin_sigset_t__darwin_suseconds_t__darwin_uid_t__darwin_useconds_t__darwin_uuid_t__darwin_uuid_string_t__strfmonlike(fmtarg, firstvararg) __attribute__((__format__ (__strfmon__, fmtarg, firstvararg)))__strftimelike(fmtarg) __attribute__((__format__ (__strftime__, fmtarg, 0)))__darwin_nl_item__darwin_wctrans_t__darwin_wctype_t__DARWIN_WCHAR_MAX __WCHAR_MAX____DARWIN_WCHAR_MIN (-0x7fffffff - 1)__DARWIN_WEOF ((__darwin_wint_t)-1)_FORTIFY_SOURCE 2_VA_LISTva_list_OFF_Toff_t_SIZE_Tsize_tNULL __DARWIN_NULLfpos_t_FSTDIO__sbuf_base_size__sFILEX__sFILE_p_r_w_flags_file_bf_lbfsize_cookie_close_read_seek_write_ub_extra_ur_ubuf_nbuf_lb_blksize_offsetFILE__stdinp__stdoutp__stderrp__SLBF 0x0001__SNBF 0x0002__SRD 0x0004__SWR 0x0008__SRW 0x0010__SEOF 0x0020__SERR 0x0040__SMBF 0x0080__SAPP 0x0100__SSTR 0x0200__SOPT 0x0400__SNPT 0x0800__SOFF 0x1000__SMOD 0x2000__SALC 0x4000__SIGN 0x8000_IOFBF_IOLBF_IONBF 2BUFSIZ 1024EOF (-1)FOPEN_MAX 20FILENAME_MAXP_tmpdir "/var/tmp/"L_tmpnamTMP_MAX 308915776SEEK_SETSEEK_CURSEEK_ENDstdin __stdinpstdout __stdoutpstderr __stderrpclearerrfclosefeofferrorfflushfgetcfgetposfgetsfopenfprintffputcfputsfreadfreopenfscanffseekfsetposftellfwritegetcgetchargetssys_nerrsys_errlistperrorprintfputcputcharputsremoverenamerewindscanfsetbufsetvbufsprintfsscanftmpfiletmpnamungetcvfprintfvprintfvsprintfasprintfvasprintfL_ctermidctermidctermid_rfdopenfgetlnfilenoflockfilefmtcheckfpurgefseekoftelloftrylockfilefunlockfilegetc_unlockedgetchar_unlockedgetwpclosepopenputc_unlockedputchar_unlockedputwsetbuffersetlinebufsnprintftempnamvfscanfvscanfvsnprintfvsscanfzopenfunopenfropen(cookie, fn) funopen(cookie, fn, 0, 0, 0)fwopen(cookie, fn) funopen(cookie, 0, fn, 0, 0)__srget__svfscanf__swbuf__sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++))__sputc_c__sfeof(p) (((p)->_flags & __SEOF) != 0)__sferror(p) (((p)->_flags & __SERR) != 0)__sclearerr(p) ((void)((p)->_flags &= ~(__SERR|__SEOF)))__sfileno(p) ((p)->_file)feof_unlocked(p) __sfeof(p)ferror_unlocked(p) __sferror(p)clearerr_unlocked(p) __sclearerr(p)fileno_unlocked(p) __sfileno(p)(fp) __sgetc(fp)(x, fp) __sputc(x, fp)() getc_unlocked(stdin)(x) putc_unlocked(x, stdout)/Developer/SDKs/MacOSX10.6.sdk/usr/include/secure_stdio.h_SECURE__STDIO_H__common.h_SECURE__COMMON_H__USE_FORTIFY_LEVEL__darwin_obsz0(object) __builtin_object_size (object, 0)__darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1)__sprintf_chk(str, ...) __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)__snprintf_chk(str, len, ...) __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)__vsprintf_chk(str, format, ap) __builtin___vsprintf_chk (str, 0, __darwin_obsz(str), format, ap)__vsnprintf_chk(str, len, format, ap) __builtin___vsnprintf_chk (str, len, 0, __darwin_obsz(str), format, ap)mainargcargvstring.h_STRING_H__SSIZE_Tssize_tmemchrmemcmpmemcpymemmovememsetstpcpystrcasestrstrcatstrchrstrcmpstrcollstrcpystrcspnstrerrorstrerror_rstrlenstrncatstrncmpstrncpystrnstrstrpbrkstrrchrstrspnstrstrstrtokstrxfrmmemccpystrtok_rstrdupbcmpbcopybzeroffsffslflsflslindexmemset_pattern4memset_pattern8memset_pattern16rindexstrcasecmpstrlcatstrlcpystrmodestrncasecmpstrsepstrsignalsigswab_string.h_SECURE__STRING_H_(dest, src, len) ((__darwin_obsz0 (dest) != (size_t) -1) ? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) : __inline_memcpy_chk (dest, src, len))__inline_memcpy_chk__dest__src__len__builtin___memcpy_chk__builtin_object_size(dest, src, len) ((__darwin_obsz0 (dest) != (size_t) -1) ? __builtin___memmove_chk (dest, src, len, __darwin_obsz0 (dest)) : __inline_memmove_chk (dest, src, len))__inline_memmove_chk__builtin___memmove_chk(dest, val, len) ((__darwin_obsz0 (dest) != (size_t) -1) ? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) : __inline_memset_chk (dest, val, len))__inline_memset_chk__val__builtin___memset_chk(dest, src) ((__darwin_obsz0 (dest) != (size_t) -1) ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) : __inline_strcpy_chk (dest, src))__inline_strcpy_chk__builtin___strcpy_chk(dest, src) ((__darwin_obsz0 (dest) != (size_t) -1) ? __builtin___stpcpy_chk (dest, src, __darwin_obsz (dest)) : __inline_stpcpy_chk (dest, src))__inline_stpcpy_chk__builtin___stpcpy_chk(dest, src, len) ((__darwin_obsz0 (dest) != (size_t) -1) ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest)) : __inline_strncpy_chk (dest, src, len))__inline_strncpy_chk__builtin___strncpy_chk(dest, src) ((__darwin_obsz0 (dest) != (size_t) -1) ? __builtin___strcat_chk (dest, src, __darwin_obsz (dest)) : __inline_strcat_chk (dest, src))__inline_strcat_chk__builtin___strcat_chk(dest, src, len) ((__darwin_obsz0 (dest) != (size_t) -1) ? __builtin___strncat_chk (dest, src, len, __darwin_obsz (dest)) : __inline_strncat_chk (dest, src, len))__inline_strncat_chk__builtin___strncat_chkPrintDVDskMaxDVDs 4kMaxText 256numDVDstitlecommentratingiTerminateStringjReplaceReturntAtEndOfStringstring1string2 -------------------------------------------------------------------------------- /Movies/build/Movies.build/Movies.pbxindex/subclasses.pbxbtree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hassanmaher/C/850b66d3223ac43ba3c8d63162cd406050d04803/Movies/build/Movies.build/Movies.pbxindex/subclasses.pbxbtree -------------------------------------------------------------------------------- /Movies/build/Movies.build/Movies.pbxindex/symbols0.pbxsymbols: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hassanmaher/C/850b66d3223ac43ba3c8d63162cd406050d04803/Movies/build/Movies.build/Movies.pbxindex/symbols0.pbxsymbols -------------------------------------------------------------------------------- /Movies/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define kMaxDVDs 4 5 | #define kMaxText 256 6 | 7 | 8 | void PrintDVDs (int i, char title[][kMaxText], char comment[][kMaxText], int rating); 9 | void ReplaceReturntAtEndOfString (char *string1, char *string2); 10 | 11 | 12 | int main (int argc, const char * argv[]) { 13 | char title[kMaxDVDs][kMaxText],comment[kMaxDVDs][kMaxText]; 14 | char rating[kMaxDVDs]; 15 | int i,numDVDs = 0; 16 | 17 | while (numDVDs < kMaxDVDs) { 18 | printf("Please enter the title of DVD #%d: ", numDVDs+1); 19 | fgets(title[numDVDs], kMaxText, stdin); 20 | printf("Please enter the comment of DVD #%d: ", numDVDs+1); 21 | fgets(comment[numDVDs], kMaxText, stdin); 22 | printf("Please enter the rating of DVD #%d: ", numDVDs+1); 23 | fgets(&rating[numDVDs], kMaxText, stdin); 24 | printf("-----\n"); 25 | numDVDs++; 26 | } 27 | for (i=0; i 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Movies2/Movies2.xcodeproj/xcuserdata/Mark.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /Movies2/Movies2.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/Movies2.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 14 | 20 | 21 | 22 | 23 | 24 | 29 | 30 | 31 | 32 | 38 | 39 | 45 | 46 | 47 | 48 | 49 | 50 | 55 | 56 | 62 | 63 | 64 | 65 | 67 | 68 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /Movies2/Movies2.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Movies2.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 4D804DBE13E19AF7003D7448 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Movies2/Movies2/Movies2.1: -------------------------------------------------------------------------------- 1 | .\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples. 2 | .\"See Also: 3 | .\"man mdoc.samples for a complete listing of options 4 | .\"man mdoc for the short list of editing options 5 | .\"/usr/share/misc/mdoc.template 6 | .Dd 7/28/11 \" DATE 7 | .Dt Movies2 1 \" Program name and manual section number 8 | .Os Darwin 9 | .Sh NAME \" Section Header - required - don't modify 10 | .Nm Movies2, 11 | .\" The following lines are read in generating the apropos(man -k) database. Use only key 12 | .\" words here as the database is built based on the words here and in the .ND line. 13 | .Nm Other_name_for_same_program(), 14 | .Nm Yet another name for the same program. 15 | .\" Use .Nm macro to designate other names for the documented program. 16 | .Nd This line parsed for whatis database. 17 | .Sh SYNOPSIS \" Section Header - required - don't modify 18 | .Nm 19 | .Op Fl abcd \" [-abcd] 20 | .Op Fl a Ar path \" [-a path] 21 | .Op Ar file \" [file] 22 | .Op Ar \" [file ...] 23 | .Ar arg0 \" Underlined argument - use .Ar anywhere to underline 24 | arg2 ... \" Arguments 25 | .Sh DESCRIPTION \" Section Header - required - don't modify 26 | Use the .Nm macro to refer to your program throughout the man page like such: 27 | .Nm 28 | Underlining is accomplished with the .Ar macro like this: 29 | .Ar underlined text . 30 | .Pp \" Inserts a space 31 | A list of items with descriptions: 32 | .Bl -tag -width -indent \" Begins a tagged list 33 | .It item a \" Each item preceded by .It macro 34 | Description of item a 35 | .It item b 36 | Description of item b 37 | .El \" Ends the list 38 | .Pp 39 | A list of flags and their descriptions: 40 | .Bl -tag -width -indent \" Differs from above in tag removed 41 | .It Fl a \"-a flag as a list item 42 | Description of -a flag 43 | .It Fl b 44 | Description of -b flag 45 | .El \" Ends the list 46 | .Pp 47 | .\" .Sh ENVIRONMENT \" May not be needed 48 | .\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1 49 | .\" .It Ev ENV_VAR_1 50 | .\" Description of ENV_VAR_1 51 | .\" .It Ev ENV_VAR_2 52 | .\" Description of ENV_VAR_2 53 | .\" .El 54 | .Sh FILES \" File used or created by the topic of the man page 55 | .Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact 56 | .It Pa /usr/share/file_name 57 | FILE_1 description 58 | .It Pa /Users/joeuser/Library/really_long_file_name 59 | FILE_2 description 60 | .El \" Ends the list 61 | .\" .Sh DIAGNOSTICS \" May not be needed 62 | .\" .Bl -diag 63 | .\" .It Diagnostic Tag 64 | .\" Diagnostic informtion here. 65 | .\" .It Diagnostic Tag 66 | .\" Diagnostic informtion here. 67 | .\" .El 68 | .Sh SEE ALSO 69 | .\" List links in ascending order by section, alphabetically within a section. 70 | .\" Please do not reference files that do not exist without filing a bug report 71 | .Xr a 1 , 72 | .Xr b 1 , 73 | .Xr c 1 , 74 | .Xr a 2 , 75 | .Xr b 2 , 76 | .Xr a 3 , 77 | .Xr b 3 78 | .\" .Sh BUGS \" Document known, unremedied bugs 79 | .\" .Sh HISTORY \" Document history if command behaves in a unique manner -------------------------------------------------------------------------------- /Movies2/Movies2/main.c: -------------------------------------------------------------------------------- 1 | // 2 | // main.c 3 | // Movies2 4 | // 5 | // Created by Mark Nemec on 7/28/11. 6 | // Copyright 2011 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #include 10 | #include 11 | #include "main.h" 12 | 13 | int main (int argc, const char * argv[]) 14 | { 15 | struct DVDFilm myDVD[kMaxDVDs]; 16 | int i=0; 17 | 18 | while (ititle[strlen(myDVDPtr->title)-1]='\0'; 37 | myDVDPtr->comment[strlen(myDVDPtr->comment)-1]='\0'; 38 | }*/ -------------------------------------------------------------------------------- /Movies2/Movies2/main.h: -------------------------------------------------------------------------------- 1 | // 2 | // main.h 3 | // Movies2 4 | // 5 | // Created by Mark Nemec on 7/28/11. 6 | // Copyright 2011 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #ifndef Movies2_main_h 10 | #define Movies2_main_h 11 | #define kMaxDVDs 4 12 | #define kMaxTitleLength 256 13 | #define kMaxCommentLength 256 14 | 15 | struct DVDFilm { 16 | int rating; 17 | char title[kMaxTitleLength]; 18 | char comment[kMaxCommentLength]; 19 | }; 20 | 21 | void ReplaceReturnAtTheEndOfString(struct DVDFilm *myDVDPtr); 22 | 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /Palindrome/Palindrome.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 4D3F5FFF13E2FB0E008BEACD /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 4D3F5FFE13E2FB0E008BEACD /* main.c */; }; 11 | 4D3F600113E2FB0E008BEACD /* Palindrome.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = 4D3F600013E2FB0E008BEACD /* Palindrome.1 */; }; 12 | /* End PBXBuildFile section */ 13 | 14 | /* Begin PBXCopyFilesBuildPhase section */ 15 | 4D3F5FF813E2FB0E008BEACD /* CopyFiles */ = { 16 | isa = PBXCopyFilesBuildPhase; 17 | buildActionMask = 2147483647; 18 | dstPath = /usr/share/man/man1/; 19 | dstSubfolderSpec = 0; 20 | files = ( 21 | 4D3F600113E2FB0E008BEACD /* Palindrome.1 in CopyFiles */, 22 | ); 23 | runOnlyForDeploymentPostprocessing = 1; 24 | }; 25 | /* End PBXCopyFilesBuildPhase section */ 26 | 27 | /* Begin PBXFileReference section */ 28 | 4D3F5FFA13E2FB0E008BEACD /* Palindrome */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = Palindrome; sourceTree = BUILT_PRODUCTS_DIR; }; 29 | 4D3F5FFE13E2FB0E008BEACD /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; }; 30 | 4D3F600013E2FB0E008BEACD /* Palindrome.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = Palindrome.1; sourceTree = ""; }; 31 | /* End PBXFileReference section */ 32 | 33 | /* Begin PBXFrameworksBuildPhase section */ 34 | 4D3F5FF713E2FB0E008BEACD /* Frameworks */ = { 35 | isa = PBXFrameworksBuildPhase; 36 | buildActionMask = 2147483647; 37 | files = ( 38 | ); 39 | runOnlyForDeploymentPostprocessing = 0; 40 | }; 41 | /* End PBXFrameworksBuildPhase section */ 42 | 43 | /* Begin PBXGroup section */ 44 | 4D3F5FEF13E2FB0D008BEACD = { 45 | isa = PBXGroup; 46 | children = ( 47 | 4D3F5FFD13E2FB0E008BEACD /* Palindrome */, 48 | 4D3F5FFB13E2FB0E008BEACD /* Products */, 49 | ); 50 | sourceTree = ""; 51 | }; 52 | 4D3F5FFB13E2FB0E008BEACD /* Products */ = { 53 | isa = PBXGroup; 54 | children = ( 55 | 4D3F5FFA13E2FB0E008BEACD /* Palindrome */, 56 | ); 57 | name = Products; 58 | sourceTree = ""; 59 | }; 60 | 4D3F5FFD13E2FB0E008BEACD /* Palindrome */ = { 61 | isa = PBXGroup; 62 | children = ( 63 | 4D3F5FFE13E2FB0E008BEACD /* main.c */, 64 | 4D3F600013E2FB0E008BEACD /* Palindrome.1 */, 65 | ); 66 | path = Palindrome; 67 | sourceTree = ""; 68 | }; 69 | /* End PBXGroup section */ 70 | 71 | /* Begin PBXNativeTarget section */ 72 | 4D3F5FF913E2FB0E008BEACD /* Palindrome */ = { 73 | isa = PBXNativeTarget; 74 | buildConfigurationList = 4D3F600413E2FB0E008BEACD /* Build configuration list for PBXNativeTarget "Palindrome" */; 75 | buildPhases = ( 76 | 4D3F5FF613E2FB0E008BEACD /* Sources */, 77 | 4D3F5FF713E2FB0E008BEACD /* Frameworks */, 78 | 4D3F5FF813E2FB0E008BEACD /* CopyFiles */, 79 | ); 80 | buildRules = ( 81 | ); 82 | dependencies = ( 83 | ); 84 | name = Palindrome; 85 | productName = Palindrome; 86 | productReference = 4D3F5FFA13E2FB0E008BEACD /* Palindrome */; 87 | productType = "com.apple.product-type.tool"; 88 | }; 89 | /* End PBXNativeTarget section */ 90 | 91 | /* Begin PBXProject section */ 92 | 4D3F5FF113E2FB0D008BEACD /* Project object */ = { 93 | isa = PBXProject; 94 | buildConfigurationList = 4D3F5FF413E2FB0D008BEACD /* Build configuration list for PBXProject "Palindrome" */; 95 | compatibilityVersion = "Xcode 3.2"; 96 | developmentRegion = English; 97 | hasScannedForEncodings = 0; 98 | knownRegions = ( 99 | en, 100 | ); 101 | mainGroup = 4D3F5FEF13E2FB0D008BEACD; 102 | productRefGroup = 4D3F5FFB13E2FB0E008BEACD /* Products */; 103 | projectDirPath = ""; 104 | projectRoot = ""; 105 | targets = ( 106 | 4D3F5FF913E2FB0E008BEACD /* Palindrome */, 107 | ); 108 | }; 109 | /* End PBXProject section */ 110 | 111 | /* Begin PBXSourcesBuildPhase section */ 112 | 4D3F5FF613E2FB0E008BEACD /* Sources */ = { 113 | isa = PBXSourcesBuildPhase; 114 | buildActionMask = 2147483647; 115 | files = ( 116 | 4D3F5FFF13E2FB0E008BEACD /* main.c in Sources */, 117 | ); 118 | runOnlyForDeploymentPostprocessing = 0; 119 | }; 120 | /* End PBXSourcesBuildPhase section */ 121 | 122 | /* Begin XCBuildConfiguration section */ 123 | 4D3F600213E2FB0E008BEACD /* Debug */ = { 124 | isa = XCBuildConfiguration; 125 | buildSettings = { 126 | ALWAYS_SEARCH_USER_PATHS = NO; 127 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 128 | COPY_PHASE_STRIP = NO; 129 | GCC_C_LANGUAGE_STANDARD = gnu99; 130 | GCC_DYNAMIC_NO_PIC = NO; 131 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 132 | GCC_OPTIMIZATION_LEVEL = 0; 133 | GCC_PREPROCESSOR_DEFINITIONS = ( 134 | "DEBUG=1", 135 | "$(inherited)", 136 | ); 137 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 138 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 139 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 140 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 141 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 142 | GCC_WARN_UNUSED_VARIABLE = YES; 143 | MACOSX_DEPLOYMENT_TARGET = 10.7; 144 | ONLY_ACTIVE_ARCH = YES; 145 | SDKROOT = macosx; 146 | }; 147 | name = Debug; 148 | }; 149 | 4D3F600313E2FB0E008BEACD /* Release */ = { 150 | isa = XCBuildConfiguration; 151 | buildSettings = { 152 | ALWAYS_SEARCH_USER_PATHS = NO; 153 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 154 | COPY_PHASE_STRIP = YES; 155 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 156 | GCC_C_LANGUAGE_STANDARD = gnu99; 157 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 158 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 159 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 160 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 161 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 162 | GCC_WARN_UNUSED_VARIABLE = YES; 163 | MACOSX_DEPLOYMENT_TARGET = 10.7; 164 | SDKROOT = macosx; 165 | }; 166 | name = Release; 167 | }; 168 | 4D3F600513E2FB0E008BEACD /* Debug */ = { 169 | isa = XCBuildConfiguration; 170 | buildSettings = { 171 | PRODUCT_NAME = "$(TARGET_NAME)"; 172 | }; 173 | name = Debug; 174 | }; 175 | 4D3F600613E2FB0E008BEACD /* Release */ = { 176 | isa = XCBuildConfiguration; 177 | buildSettings = { 178 | PRODUCT_NAME = "$(TARGET_NAME)"; 179 | }; 180 | name = Release; 181 | }; 182 | /* End XCBuildConfiguration section */ 183 | 184 | /* Begin XCConfigurationList section */ 185 | 4D3F5FF413E2FB0D008BEACD /* Build configuration list for PBXProject "Palindrome" */ = { 186 | isa = XCConfigurationList; 187 | buildConfigurations = ( 188 | 4D3F600213E2FB0E008BEACD /* Debug */, 189 | 4D3F600313E2FB0E008BEACD /* Release */, 190 | ); 191 | defaultConfigurationIsVisible = 0; 192 | defaultConfigurationName = Release; 193 | }; 194 | 4D3F600413E2FB0E008BEACD /* Build configuration list for PBXNativeTarget "Palindrome" */ = { 195 | isa = XCConfigurationList; 196 | buildConfigurations = ( 197 | 4D3F600513E2FB0E008BEACD /* Debug */, 198 | 4D3F600613E2FB0E008BEACD /* Release */, 199 | ); 200 | defaultConfigurationIsVisible = 0; 201 | }; 202 | /* End XCConfigurationList section */ 203 | }; 204 | rootObject = 4D3F5FF113E2FB0D008BEACD /* Project object */; 205 | } 206 | -------------------------------------------------------------------------------- /Palindrome/Palindrome.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Palindrome/Palindrome.xcodeproj/xcuserdata/Mark.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /Palindrome/Palindrome.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/Palindrome.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 14 | 20 | 21 | 22 | 23 | 24 | 29 | 30 | 31 | 32 | 38 | 39 | 45 | 46 | 47 | 48 | 49 | 50 | 55 | 56 | 62 | 63 | 64 | 65 | 67 | 68 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /Palindrome/Palindrome.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Palindrome.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 4D3F5FF913E2FB0E008BEACD 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Palindrome/Palindrome/Palindrome.1: -------------------------------------------------------------------------------- 1 | .\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples. 2 | .\"See Also: 3 | .\"man mdoc.samples for a complete listing of options 4 | .\"man mdoc for the short list of editing options 5 | .\"/usr/share/misc/mdoc.template 6 | .Dd 7/29/11 \" DATE 7 | .Dt Palindrome 1 \" Program name and manual section number 8 | .Os Darwin 9 | .Sh NAME \" Section Header - required - don't modify 10 | .Nm Palindrome, 11 | .\" The following lines are read in generating the apropos(man -k) database. Use only key 12 | .\" words here as the database is built based on the words here and in the .ND line. 13 | .Nm Other_name_for_same_program(), 14 | .Nm Yet another name for the same program. 15 | .\" Use .Nm macro to designate other names for the documented program. 16 | .Nd This line parsed for whatis database. 17 | .Sh SYNOPSIS \" Section Header - required - don't modify 18 | .Nm 19 | .Op Fl abcd \" [-abcd] 20 | .Op Fl a Ar path \" [-a path] 21 | .Op Ar file \" [file] 22 | .Op Ar \" [file ...] 23 | .Ar arg0 \" Underlined argument - use .Ar anywhere to underline 24 | arg2 ... \" Arguments 25 | .Sh DESCRIPTION \" Section Header - required - don't modify 26 | Use the .Nm macro to refer to your program throughout the man page like such: 27 | .Nm 28 | Underlining is accomplished with the .Ar macro like this: 29 | .Ar underlined text . 30 | .Pp \" Inserts a space 31 | A list of items with descriptions: 32 | .Bl -tag -width -indent \" Begins a tagged list 33 | .It item a \" Each item preceded by .It macro 34 | Description of item a 35 | .It item b 36 | Description of item b 37 | .El \" Ends the list 38 | .Pp 39 | A list of flags and their descriptions: 40 | .Bl -tag -width -indent \" Differs from above in tag removed 41 | .It Fl a \"-a flag as a list item 42 | Description of -a flag 43 | .It Fl b 44 | Description of -b flag 45 | .El \" Ends the list 46 | .Pp 47 | .\" .Sh ENVIRONMENT \" May not be needed 48 | .\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1 49 | .\" .It Ev ENV_VAR_1 50 | .\" Description of ENV_VAR_1 51 | .\" .It Ev ENV_VAR_2 52 | .\" Description of ENV_VAR_2 53 | .\" .El 54 | .Sh FILES \" File used or created by the topic of the man page 55 | .Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact 56 | .It Pa /usr/share/file_name 57 | FILE_1 description 58 | .It Pa /Users/joeuser/Library/really_long_file_name 59 | FILE_2 description 60 | .El \" Ends the list 61 | .\" .Sh DIAGNOSTICS \" May not be needed 62 | .\" .Bl -diag 63 | .\" .It Diagnostic Tag 64 | .\" Diagnostic informtion here. 65 | .\" .It Diagnostic Tag 66 | .\" Diagnostic informtion here. 67 | .\" .El 68 | .Sh SEE ALSO 69 | .\" List links in ascending order by section, alphabetically within a section. 70 | .\" Please do not reference files that do not exist without filing a bug report 71 | .Xr a 1 , 72 | .Xr b 1 , 73 | .Xr c 1 , 74 | .Xr a 2 , 75 | .Xr b 2 , 76 | .Xr a 3 , 77 | .Xr b 3 78 | .\" .Sh BUGS \" Document known, unremedied bugs 79 | .\" .Sh HISTORY \" Document history if command behaves in a unique manner -------------------------------------------------------------------------------- /Palindrome/Palindrome/main.c: -------------------------------------------------------------------------------- 1 | // 2 | // main.c 3 | // Palindrome 4 | // 5 | // Created by Mark Nemec on 7/29/11. 6 | // Copyright 2011 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #include 10 | #include 11 | 12 | #define kMaxText 100 13 | 14 | int main (int argc, const char * argv[]) 15 | { 16 | char c,palindrom[kMaxText],obratene[kMaxText]; 17 | int i,j=0; 18 | 19 | printf("Zadaj text pre overenie palindromu:"); 20 | for (i=0; (c=getchar())!='\n'; i++) { 21 | if (c!=' ') { 22 | palindrom[i]=c; 23 | } 24 | } 25 | palindrom[i]='\0'; 26 | for (i--; i>=0; i--) { 27 | obratene[j]=palindrom[i]; 28 | j++; 29 | } 30 | obratene[j]='\0'; 31 | for (i=0; i<=strlen(palindrom); i++) { 32 | if (palindrom[i]!=obratene[i]) { 33 | printf("Toto nie je palindrom"); 34 | return 0; 35 | } 36 | } 37 | printf("Toto je palindrom"); 38 | return 0; 39 | } 40 | 41 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | Learning C -------------------------------------------------------------------------------- /Zakopy/Zakopy.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 4D4726B513E322D0008FA053 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 4D4726B413E322D0008FA053 /* main.c */; }; 11 | 4D4726B713E322D0008FA053 /* Zakopy.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = 4D4726B613E322D0008FA053 /* Zakopy.1 */; }; 12 | /* End PBXBuildFile section */ 13 | 14 | /* Begin PBXCopyFilesBuildPhase section */ 15 | 4D4726AE13E322D0008FA053 /* CopyFiles */ = { 16 | isa = PBXCopyFilesBuildPhase; 17 | buildActionMask = 2147483647; 18 | dstPath = /usr/share/man/man1/; 19 | dstSubfolderSpec = 0; 20 | files = ( 21 | 4D4726B713E322D0008FA053 /* Zakopy.1 in CopyFiles */, 22 | ); 23 | runOnlyForDeploymentPostprocessing = 1; 24 | }; 25 | /* End PBXCopyFilesBuildPhase section */ 26 | 27 | /* Begin PBXFileReference section */ 28 | 4D4726B013E322D0008FA053 /* Zakopy */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = Zakopy; sourceTree = BUILT_PRODUCTS_DIR; }; 29 | 4D4726B413E322D0008FA053 /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; }; 30 | 4D4726B613E322D0008FA053 /* Zakopy.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = Zakopy.1; sourceTree = ""; }; 31 | /* End PBXFileReference section */ 32 | 33 | /* Begin PBXFrameworksBuildPhase section */ 34 | 4D4726AD13E322D0008FA053 /* Frameworks */ = { 35 | isa = PBXFrameworksBuildPhase; 36 | buildActionMask = 2147483647; 37 | files = ( 38 | ); 39 | runOnlyForDeploymentPostprocessing = 0; 40 | }; 41 | /* End PBXFrameworksBuildPhase section */ 42 | 43 | /* Begin PBXGroup section */ 44 | 4D4726A513E322D0008FA053 = { 45 | isa = PBXGroup; 46 | children = ( 47 | 4D4726B313E322D0008FA053 /* Zakopy */, 48 | 4D4726B113E322D0008FA053 /* Products */, 49 | ); 50 | sourceTree = ""; 51 | }; 52 | 4D4726B113E322D0008FA053 /* Products */ = { 53 | isa = PBXGroup; 54 | children = ( 55 | 4D4726B013E322D0008FA053 /* Zakopy */, 56 | ); 57 | name = Products; 58 | sourceTree = ""; 59 | }; 60 | 4D4726B313E322D0008FA053 /* Zakopy */ = { 61 | isa = PBXGroup; 62 | children = ( 63 | 4D4726B413E322D0008FA053 /* main.c */, 64 | 4D4726B613E322D0008FA053 /* Zakopy.1 */, 65 | ); 66 | path = Zakopy; 67 | sourceTree = ""; 68 | }; 69 | /* End PBXGroup section */ 70 | 71 | /* Begin PBXNativeTarget section */ 72 | 4D4726AF13E322D0008FA053 /* Zakopy */ = { 73 | isa = PBXNativeTarget; 74 | buildConfigurationList = 4D4726BA13E322D0008FA053 /* Build configuration list for PBXNativeTarget "Zakopy" */; 75 | buildPhases = ( 76 | 4D4726AC13E322D0008FA053 /* Sources */, 77 | 4D4726AD13E322D0008FA053 /* Frameworks */, 78 | 4D4726AE13E322D0008FA053 /* CopyFiles */, 79 | ); 80 | buildRules = ( 81 | ); 82 | dependencies = ( 83 | ); 84 | name = Zakopy; 85 | productName = Zakopy; 86 | productReference = 4D4726B013E322D0008FA053 /* Zakopy */; 87 | productType = "com.apple.product-type.tool"; 88 | }; 89 | /* End PBXNativeTarget section */ 90 | 91 | /* Begin PBXProject section */ 92 | 4D4726A713E322D0008FA053 /* Project object */ = { 93 | isa = PBXProject; 94 | buildConfigurationList = 4D4726AA13E322D0008FA053 /* Build configuration list for PBXProject "Zakopy" */; 95 | compatibilityVersion = "Xcode 3.2"; 96 | developmentRegion = English; 97 | hasScannedForEncodings = 0; 98 | knownRegions = ( 99 | en, 100 | ); 101 | mainGroup = 4D4726A513E322D0008FA053; 102 | productRefGroup = 4D4726B113E322D0008FA053 /* Products */; 103 | projectDirPath = ""; 104 | projectRoot = ""; 105 | targets = ( 106 | 4D4726AF13E322D0008FA053 /* Zakopy */, 107 | ); 108 | }; 109 | /* End PBXProject section */ 110 | 111 | /* Begin PBXSourcesBuildPhase section */ 112 | 4D4726AC13E322D0008FA053 /* Sources */ = { 113 | isa = PBXSourcesBuildPhase; 114 | buildActionMask = 2147483647; 115 | files = ( 116 | 4D4726B513E322D0008FA053 /* main.c in Sources */, 117 | ); 118 | runOnlyForDeploymentPostprocessing = 0; 119 | }; 120 | /* End PBXSourcesBuildPhase section */ 121 | 122 | /* Begin XCBuildConfiguration section */ 123 | 4D4726B813E322D0008FA053 /* Debug */ = { 124 | isa = XCBuildConfiguration; 125 | buildSettings = { 126 | ALWAYS_SEARCH_USER_PATHS = NO; 127 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 128 | COPY_PHASE_STRIP = NO; 129 | GCC_C_LANGUAGE_STANDARD = gnu99; 130 | GCC_DYNAMIC_NO_PIC = NO; 131 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 132 | GCC_OPTIMIZATION_LEVEL = 0; 133 | GCC_PREPROCESSOR_DEFINITIONS = ( 134 | "DEBUG=1", 135 | "$(inherited)", 136 | ); 137 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 138 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 139 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 140 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 141 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 142 | GCC_WARN_UNUSED_VARIABLE = YES; 143 | MACOSX_DEPLOYMENT_TARGET = 10.7; 144 | ONLY_ACTIVE_ARCH = YES; 145 | SDKROOT = macosx; 146 | }; 147 | name = Debug; 148 | }; 149 | 4D4726B913E322D0008FA053 /* Release */ = { 150 | isa = XCBuildConfiguration; 151 | buildSettings = { 152 | ALWAYS_SEARCH_USER_PATHS = NO; 153 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 154 | COPY_PHASE_STRIP = YES; 155 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 156 | GCC_C_LANGUAGE_STANDARD = gnu99; 157 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 158 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 159 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 160 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 161 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 162 | GCC_WARN_UNUSED_VARIABLE = YES; 163 | MACOSX_DEPLOYMENT_TARGET = 10.7; 164 | SDKROOT = macosx; 165 | }; 166 | name = Release; 167 | }; 168 | 4D4726BB13E322D0008FA053 /* Debug */ = { 169 | isa = XCBuildConfiguration; 170 | buildSettings = { 171 | PRODUCT_NAME = "$(TARGET_NAME)"; 172 | }; 173 | name = Debug; 174 | }; 175 | 4D4726BC13E322D0008FA053 /* Release */ = { 176 | isa = XCBuildConfiguration; 177 | buildSettings = { 178 | PRODUCT_NAME = "$(TARGET_NAME)"; 179 | }; 180 | name = Release; 181 | }; 182 | /* End XCBuildConfiguration section */ 183 | 184 | /* Begin XCConfigurationList section */ 185 | 4D4726AA13E322D0008FA053 /* Build configuration list for PBXProject "Zakopy" */ = { 186 | isa = XCConfigurationList; 187 | buildConfigurations = ( 188 | 4D4726B813E322D0008FA053 /* Debug */, 189 | 4D4726B913E322D0008FA053 /* Release */, 190 | ); 191 | defaultConfigurationIsVisible = 0; 192 | defaultConfigurationName = Release; 193 | }; 194 | 4D4726BA13E322D0008FA053 /* Build configuration list for PBXNativeTarget "Zakopy" */ = { 195 | isa = XCConfigurationList; 196 | buildConfigurations = ( 197 | 4D4726BB13E322D0008FA053 /* Debug */, 198 | 4D4726BC13E322D0008FA053 /* Release */, 199 | ); 200 | defaultConfigurationIsVisible = 0; 201 | }; 202 | /* End XCConfigurationList section */ 203 | }; 204 | rootObject = 4D4726A713E322D0008FA053 /* Project object */; 205 | } 206 | -------------------------------------------------------------------------------- /Zakopy/Zakopy.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Zakopy/Zakopy.xcodeproj/xcuserdata/Mark.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /Zakopy/Zakopy.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/Zakopy.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 14 | 20 | 21 | 22 | 23 | 24 | 29 | 30 | 31 | 32 | 38 | 39 | 45 | 46 | 47 | 48 | 49 | 50 | 55 | 56 | 62 | 63 | 64 | 65 | 67 | 68 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /Zakopy/Zakopy.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Zakopy.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 4D4726AF13E322D0008FA053 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Zakopy/Zakopy/Zakopy.1: -------------------------------------------------------------------------------- 1 | .\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples. 2 | .\"See Also: 3 | .\"man mdoc.samples for a complete listing of options 4 | .\"man mdoc for the short list of editing options 5 | .\"/usr/share/misc/mdoc.template 6 | .Dd 29/7/11 \" DATE 7 | .Dt Zakopy 1 \" Program name and manual section number 8 | .Os Darwin 9 | .Sh NAME \" Section Header - required - don't modify 10 | .Nm Zakopy, 11 | .\" The following lines are read in generating the apropos(man -k) database. Use only key 12 | .\" words here as the database is built based on the words here and in the .ND line. 13 | .Nm Other_name_for_same_program(), 14 | .Nm Yet another name for the same program. 15 | .\" Use .Nm macro to designate other names for the documented program. 16 | .Nd This line parsed for whatis database. 17 | .Sh SYNOPSIS \" Section Header - required - don't modify 18 | .Nm 19 | .Op Fl abcd \" [-abcd] 20 | .Op Fl a Ar path \" [-a path] 21 | .Op Ar file \" [file] 22 | .Op Ar \" [file ...] 23 | .Ar arg0 \" Underlined argument - use .Ar anywhere to underline 24 | arg2 ... \" Arguments 25 | .Sh DESCRIPTION \" Section Header - required - don't modify 26 | Use the .Nm macro to refer to your program throughout the man page like such: 27 | .Nm 28 | Underlining is accomplished with the .Ar macro like this: 29 | .Ar underlined text . 30 | .Pp \" Inserts a space 31 | A list of items with descriptions: 32 | .Bl -tag -width -indent \" Begins a tagged list 33 | .It item a \" Each item preceded by .It macro 34 | Description of item a 35 | .It item b 36 | Description of item b 37 | .El \" Ends the list 38 | .Pp 39 | A list of flags and their descriptions: 40 | .Bl -tag -width -indent \" Differs from above in tag removed 41 | .It Fl a \"-a flag as a list item 42 | Description of -a flag 43 | .It Fl b 44 | Description of -b flag 45 | .El \" Ends the list 46 | .Pp 47 | .\" .Sh ENVIRONMENT \" May not be needed 48 | .\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1 49 | .\" .It Ev ENV_VAR_1 50 | .\" Description of ENV_VAR_1 51 | .\" .It Ev ENV_VAR_2 52 | .\" Description of ENV_VAR_2 53 | .\" .El 54 | .Sh FILES \" File used or created by the topic of the man page 55 | .Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact 56 | .It Pa /usr/share/file_name 57 | FILE_1 description 58 | .It Pa /Users/joeuser/Library/really_long_file_name 59 | FILE_2 description 60 | .El \" Ends the list 61 | .\" .Sh DIAGNOSTICS \" May not be needed 62 | .\" .Bl -diag 63 | .\" .It Diagnostic Tag 64 | .\" Diagnostic informtion here. 65 | .\" .It Diagnostic Tag 66 | .\" Diagnostic informtion here. 67 | .\" .El 68 | .Sh SEE ALSO 69 | .\" List links in ascending order by section, alphabetically within a section. 70 | .\" Please do not reference files that do not exist without filing a bug report 71 | .Xr a 1 , 72 | .Xr b 1 , 73 | .Xr c 1 , 74 | .Xr a 2 , 75 | .Xr b 2 , 76 | .Xr a 3 , 77 | .Xr b 3 78 | .\" .Sh BUGS \" Document known, unremedied bugs 79 | .\" .Sh HISTORY \" Document history if command behaves in a unique manner -------------------------------------------------------------------------------- /Zakopy/Zakopy/main.c: -------------------------------------------------------------------------------- 1 | // 2 | // main.c 3 | // Zakopy 4 | // 5 | // Created by Mark Nemec on 29/7/11. 6 | // Copyright 2011 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | int main (int argc, const char * argv[]) 14 | { 15 | int i,zakop,prihod,zakopy[3]; 16 | srand(time(NULL)); 17 | 18 | for (i=0; i<3; i++) { 19 | zakopy[i]=(rand()%3)-3; 20 | } 21 | for (i=0; i<3; i++) { 22 | printf("%d\n",zakopy[i]); 23 | } 24 | while ((zakopy[0]!=0) && (zakopy[1]!=0) && (zakopy[2]!=0)) { 25 | printf("Zadaj cislo zakopu:"); 26 | scanf("%d",&zakop); 27 | printf("Kolko mam prihodit?"); 28 | scanf("%d",&prihod); 29 | zakopy[zakop]+=prihod; 30 | for (i=0; i<3; i++) { 31 | printf("%d\n",zakopy[i]); 32 | } 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /printFile/My Data File: -------------------------------------------------------------------------------- 1 | 5 1 2 3 4 5 1 1 2 3 5 12341 12342 12343 12344 12345 -------------------------------------------------------------------------------- /printFile/printFile.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 4D2EF41C144B757800F60963 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 4D2EF41B144B757800F60963 /* main.c */; }; 11 | 4D2EF41E144B757800F60963 /* printFile.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = 4D2EF41D144B757800F60963 /* printFile.1 */; }; 12 | /* End PBXBuildFile section */ 13 | 14 | /* Begin PBXCopyFilesBuildPhase section */ 15 | 4D2EF415144B757800F60963 /* CopyFiles */ = { 16 | isa = PBXCopyFilesBuildPhase; 17 | buildActionMask = 2147483647; 18 | dstPath = /usr/share/man/man1/; 19 | dstSubfolderSpec = 0; 20 | files = ( 21 | 4D2EF41E144B757800F60963 /* printFile.1 in CopyFiles */, 22 | ); 23 | runOnlyForDeploymentPostprocessing = 1; 24 | }; 25 | /* End PBXCopyFilesBuildPhase section */ 26 | 27 | /* Begin PBXFileReference section */ 28 | 4D2EF417144B757800F60963 /* printFile */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = printFile; sourceTree = BUILT_PRODUCTS_DIR; }; 29 | 4D2EF41B144B757800F60963 /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; }; 30 | 4D2EF41D144B757800F60963 /* printFile.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = printFile.1; sourceTree = ""; }; 31 | 4D2EF424144B7B3500F60963 /* My Data File */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "My Data File"; path = "../../../../Junk/9781430218098/Learn C Projects/10.04 - fileReader/My Data File"; sourceTree = ""; }; 32 | /* End PBXFileReference section */ 33 | 34 | /* Begin PBXFrameworksBuildPhase section */ 35 | 4D2EF414144B757800F60963 /* Frameworks */ = { 36 | isa = PBXFrameworksBuildPhase; 37 | buildActionMask = 2147483647; 38 | files = ( 39 | ); 40 | runOnlyForDeploymentPostprocessing = 0; 41 | }; 42 | /* End PBXFrameworksBuildPhase section */ 43 | 44 | /* Begin PBXGroup section */ 45 | 4D2EF40C144B757800F60963 = { 46 | isa = PBXGroup; 47 | children = ( 48 | 4D2EF41A144B757800F60963 /* printFile */, 49 | 4D2EF418144B757800F60963 /* Products */, 50 | ); 51 | sourceTree = ""; 52 | }; 53 | 4D2EF418144B757800F60963 /* Products */ = { 54 | isa = PBXGroup; 55 | children = ( 56 | 4D2EF417144B757800F60963 /* printFile */, 57 | ); 58 | name = Products; 59 | sourceTree = ""; 60 | }; 61 | 4D2EF41A144B757800F60963 /* printFile */ = { 62 | isa = PBXGroup; 63 | children = ( 64 | 4D2EF424144B7B3500F60963 /* My Data File */, 65 | 4D2EF41B144B757800F60963 /* main.c */, 66 | 4D2EF41D144B757800F60963 /* printFile.1 */, 67 | ); 68 | path = printFile; 69 | sourceTree = ""; 70 | }; 71 | /* End PBXGroup section */ 72 | 73 | /* Begin PBXNativeTarget section */ 74 | 4D2EF416144B757800F60963 /* printFile */ = { 75 | isa = PBXNativeTarget; 76 | buildConfigurationList = 4D2EF421144B757800F60963 /* Build configuration list for PBXNativeTarget "printFile" */; 77 | buildPhases = ( 78 | 4D2EF413144B757800F60963 /* Sources */, 79 | 4D2EF414144B757800F60963 /* Frameworks */, 80 | 4D2EF415144B757800F60963 /* CopyFiles */, 81 | ); 82 | buildRules = ( 83 | ); 84 | dependencies = ( 85 | ); 86 | name = printFile; 87 | productName = printFile; 88 | productReference = 4D2EF417144B757800F60963 /* printFile */; 89 | productType = "com.apple.product-type.tool"; 90 | }; 91 | /* End PBXNativeTarget section */ 92 | 93 | /* Begin PBXProject section */ 94 | 4D2EF40E144B757800F60963 /* Project object */ = { 95 | isa = PBXProject; 96 | buildConfigurationList = 4D2EF411144B757800F60963 /* Build configuration list for PBXProject "printFile" */; 97 | compatibilityVersion = "Xcode 3.2"; 98 | developmentRegion = English; 99 | hasScannedForEncodings = 0; 100 | knownRegions = ( 101 | en, 102 | ); 103 | mainGroup = 4D2EF40C144B757800F60963; 104 | productRefGroup = 4D2EF418144B757800F60963 /* Products */; 105 | projectDirPath = ""; 106 | projectRoot = ""; 107 | targets = ( 108 | 4D2EF416144B757800F60963 /* printFile */, 109 | ); 110 | }; 111 | /* End PBXProject section */ 112 | 113 | /* Begin PBXSourcesBuildPhase section */ 114 | 4D2EF413144B757800F60963 /* Sources */ = { 115 | isa = PBXSourcesBuildPhase; 116 | buildActionMask = 2147483647; 117 | files = ( 118 | 4D2EF41C144B757800F60963 /* main.c in Sources */, 119 | ); 120 | runOnlyForDeploymentPostprocessing = 0; 121 | }; 122 | /* End PBXSourcesBuildPhase section */ 123 | 124 | /* Begin XCBuildConfiguration section */ 125 | 4D2EF41F144B757800F60963 /* Debug */ = { 126 | isa = XCBuildConfiguration; 127 | buildSettings = { 128 | ALWAYS_SEARCH_USER_PATHS = NO; 129 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 130 | COPY_PHASE_STRIP = NO; 131 | GCC_C_LANGUAGE_STANDARD = gnu99; 132 | GCC_DYNAMIC_NO_PIC = NO; 133 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 134 | GCC_OPTIMIZATION_LEVEL = 0; 135 | GCC_PREPROCESSOR_DEFINITIONS = ( 136 | "DEBUG=1", 137 | "$(inherited)", 138 | ); 139 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 140 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 141 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 142 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 143 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 144 | GCC_WARN_UNUSED_VARIABLE = YES; 145 | MACOSX_DEPLOYMENT_TARGET = 10.7; 146 | ONLY_ACTIVE_ARCH = YES; 147 | SDKROOT = macosx; 148 | }; 149 | name = Debug; 150 | }; 151 | 4D2EF420144B757800F60963 /* Release */ = { 152 | isa = XCBuildConfiguration; 153 | buildSettings = { 154 | ALWAYS_SEARCH_USER_PATHS = NO; 155 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 156 | COPY_PHASE_STRIP = YES; 157 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 158 | GCC_C_LANGUAGE_STANDARD = gnu99; 159 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 160 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 161 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 162 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 163 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 164 | GCC_WARN_UNUSED_VARIABLE = YES; 165 | MACOSX_DEPLOYMENT_TARGET = 10.7; 166 | SDKROOT = macosx; 167 | }; 168 | name = Release; 169 | }; 170 | 4D2EF422144B757800F60963 /* Debug */ = { 171 | isa = XCBuildConfiguration; 172 | buildSettings = { 173 | PRODUCT_NAME = "$(TARGET_NAME)"; 174 | }; 175 | name = Debug; 176 | }; 177 | 4D2EF423144B757800F60963 /* Release */ = { 178 | isa = XCBuildConfiguration; 179 | buildSettings = { 180 | PRODUCT_NAME = "$(TARGET_NAME)"; 181 | }; 182 | name = Release; 183 | }; 184 | /* End XCBuildConfiguration section */ 185 | 186 | /* Begin XCConfigurationList section */ 187 | 4D2EF411144B757800F60963 /* Build configuration list for PBXProject "printFile" */ = { 188 | isa = XCConfigurationList; 189 | buildConfigurations = ( 190 | 4D2EF41F144B757800F60963 /* Debug */, 191 | 4D2EF420144B757800F60963 /* Release */, 192 | ); 193 | defaultConfigurationIsVisible = 0; 194 | defaultConfigurationName = Release; 195 | }; 196 | 4D2EF421144B757800F60963 /* Build configuration list for PBXNativeTarget "printFile" */ = { 197 | isa = XCConfigurationList; 198 | buildConfigurations = ( 199 | 4D2EF422144B757800F60963 /* Debug */, 200 | 4D2EF423144B757800F60963 /* Release */, 201 | ); 202 | defaultConfigurationIsVisible = 0; 203 | }; 204 | /* End XCConfigurationList section */ 205 | }; 206 | rootObject = 4D2EF40E144B757800F60963 /* Project object */; 207 | } 208 | -------------------------------------------------------------------------------- /printFile/printFile.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /printFile/printFile.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/printFile.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 14 | 20 | 21 | 22 | 23 | 24 | 29 | 30 | 31 | 32 | 38 | 39 | 45 | 46 | 47 | 48 | 49 | 50 | 55 | 56 | 62 | 63 | 64 | 65 | 67 | 68 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /printFile/printFile.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | printFile.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 4D2EF416144B757800F60963 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /printFile/printFile/main.c: -------------------------------------------------------------------------------- 1 | // 2 | // main.c 3 | // printFile 4 | // 5 | // Created by Mark Nemec on 16/10/11. 6 | // Copyright 2011 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #include 10 | 11 | int main (int argc, const char * argv[]) 12 | { 13 | FILE *fp; 14 | int num, nums; 15 | 16 | if ( (fp=fopen("~/Development/My C Stuff/printFile/My Data File", "r+") ) == NULL ) { 17 | printf("File not found\n"); 18 | } 19 | fscanf(fp, "%d\n", &num); 20 | fscanf(fp, "%d", &nums); 21 | printf("%d",nums); 22 | 23 | return 0; 24 | } 25 | 26 | -------------------------------------------------------------------------------- /printFile/printFile/printFile.1: -------------------------------------------------------------------------------- 1 | .\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples. 2 | .\"See Also: 3 | .\"man mdoc.samples for a complete listing of options 4 | .\"man mdoc for the short list of editing options 5 | .\"/usr/share/misc/mdoc.template 6 | .Dd 16/10/11 \" DATE 7 | .Dt printFile 1 \" Program name and manual section number 8 | .Os Darwin 9 | .Sh NAME \" Section Header - required - don't modify 10 | .Nm printFile, 11 | .\" The following lines are read in generating the apropos(man -k) database. Use only key 12 | .\" words here as the database is built based on the words here and in the .ND line. 13 | .Nm Other_name_for_same_program(), 14 | .Nm Yet another name for the same program. 15 | .\" Use .Nm macro to designate other names for the documented program. 16 | .Nd This line parsed for whatis database. 17 | .Sh SYNOPSIS \" Section Header - required - don't modify 18 | .Nm 19 | .Op Fl abcd \" [-abcd] 20 | .Op Fl a Ar path \" [-a path] 21 | .Op Ar file \" [file] 22 | .Op Ar \" [file ...] 23 | .Ar arg0 \" Underlined argument - use .Ar anywhere to underline 24 | arg2 ... \" Arguments 25 | .Sh DESCRIPTION \" Section Header - required - don't modify 26 | Use the .Nm macro to refer to your program throughout the man page like such: 27 | .Nm 28 | Underlining is accomplished with the .Ar macro like this: 29 | .Ar underlined text . 30 | .Pp \" Inserts a space 31 | A list of items with descriptions: 32 | .Bl -tag -width -indent \" Begins a tagged list 33 | .It item a \" Each item preceded by .It macro 34 | Description of item a 35 | .It item b 36 | Description of item b 37 | .El \" Ends the list 38 | .Pp 39 | A list of flags and their descriptions: 40 | .Bl -tag -width -indent \" Differs from above in tag removed 41 | .It Fl a \"-a flag as a list item 42 | Description of -a flag 43 | .It Fl b 44 | Description of -b flag 45 | .El \" Ends the list 46 | .Pp 47 | .\" .Sh ENVIRONMENT \" May not be needed 48 | .\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1 49 | .\" .It Ev ENV_VAR_1 50 | .\" Description of ENV_VAR_1 51 | .\" .It Ev ENV_VAR_2 52 | .\" Description of ENV_VAR_2 53 | .\" .El 54 | .Sh FILES \" File used or created by the topic of the man page 55 | .Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact 56 | .It Pa /usr/share/file_name 57 | FILE_1 description 58 | .It Pa /Users/joeuser/Library/really_long_file_name 59 | FILE_2 description 60 | .El \" Ends the list 61 | .\" .Sh DIAGNOSTICS \" May not be needed 62 | .\" .Bl -diag 63 | .\" .It Diagnostic Tag 64 | .\" Diagnostic informtion here. 65 | .\" .It Diagnostic Tag 66 | .\" Diagnostic informtion here. 67 | .\" .El 68 | .Sh SEE ALSO 69 | .\" List links in ascending order by section, alphabetically within a section. 70 | .\" Please do not reference files that do not exist without filing a bug report 71 | .Xr a 1 , 72 | .Xr b 1 , 73 | .Xr c 1 , 74 | .Xr a 2 , 75 | .Xr b 2 , 76 | .Xr a 3 , 77 | .Xr b 3 78 | .\" .Sh BUGS \" Document known, unremedied bugs 79 | .\" .Sh HISTORY \" Document history if command behaves in a unique manner --------------------------------------------------------------------------------