├── .gitattributes ├── .gitignore ├── .vs └── CProgramlamaOrnekleri │ └── v15 │ ├── Browse.VC.db │ ├── Solution.VC.db │ ├── Solution.VC.db-shm │ └── Solution.VC.db-wal ├── 1-Giris ├── Casting1 │ ├── casting.sln │ ├── casting1.vcxproj │ └── main.c ├── Casting2 │ ├── casting2.vcxproj │ └── main.c ├── Degiskenler1 │ ├── degiskenler1.sln │ ├── degiskenler1.vcxproj │ └── main.c ├── Kacis_karakterleri │ ├── escapesequence.vcxproj │ └── main.c ├── KarakterDegiskenler │ ├── karakterDegisken.sln │ ├── karakterDegisken.vcxproj │ └── main.c ├── KarakterDegiskenler2 │ ├── karakterDegisken2.vcxproj │ └── main.c ├── Operatorler1 │ ├── main.c │ └── operatorler1.vcxproj ├── Operatorler2 │ ├── main.c │ └── operatorler2.vcxproj ├── Printf │ ├── main.c │ ├── printf.sln │ └── printf.vcxproj ├── Sabitler │ ├── main.c │ ├── sabit.sln │ └── sabit.vcxproj ├── Scanf-2 │ ├── main.c │ └── scanf2.vcxproj ├── Scanf │ ├── main.c │ ├── scanf.sln │ └── scanf.vcxproj └── Sizeof │ ├── main.c │ ├── operatorler2.sln │ └── sizeof.vcxproj ├── CProgramlamaOrnekleri.sln ├── Diziler ├── diziler1 │ ├── diziler1.vcxproj │ └── main.c ├── diziler2 │ ├── diziler2.vcxproj │ └── main.c ├── diziler3 │ ├── diziler3.vcxproj │ └── main.c ├── diziler4 │ ├── diziler4.vcxproj │ └── main.c ├── diziler5 │ ├── diziler5.vcxproj │ └── main.c └── diziler_sorting │ ├── main.c │ └── sorting.vcxproj ├── Fonksiyonlar ├── FonksiyonOrnek1 │ ├── fonksiyonornek1.vcxproj │ └── main.c ├── FonksiyonOrnek2 │ ├── FonksiyonOrnek2.vcxproj │ └── main.c ├── FonksiyonOrnek3 │ ├── FonksiyonOrnek3.vcxproj │ └── main.c ├── FonksiyonOrnek4 │ ├── FonksiyonOrnek4.vcxproj │ └── main.c ├── FonksiyonOrnek5 │ ├── FonksiyonOrnek5.vcxproj │ └── main.c └── FonksiyonOrnek6 │ ├── FonksiyonOrnek6.vcxproj │ ├── main.c │ ├── module1.c │ ├── module1.h │ ├── module2.c │ └── module2.h ├── KarakterDizileri ├── string1 │ ├── main.c │ └── string1.vcxproj ├── string10 │ ├── .vs │ │ └── string6 │ │ │ └── v15 │ │ │ └── Browse.VC.opendb │ ├── string10.vcxproj │ └── strtok.c ├── string2 │ ├── main.c │ └── string2.vcxproj ├── string3 │ ├── main.c │ └── string3.vcxproj ├── string4 │ ├── main.c │ └── string4.vcxproj ├── string5 │ ├── main.c │ └── string5.vcxproj ├── string6 │ ├── strcspn.c │ └── string6.vcxproj ├── string7 │ ├── .vs │ │ └── string6 │ │ │ └── v15 │ │ │ └── Browse.VC.opendb │ ├── string7.vcxproj │ └── strspn.c ├── string8 │ ├── .vs │ │ └── string6 │ │ │ └── v15 │ │ │ └── Browse.VC.opendb │ ├── string8.vcxproj │ └── strrchr.c └── string9 │ ├── .vs │ └── string6 │ │ └── v15 │ │ └── Browse.VC.opendb │ ├── string9.vcxproj │ └── strstr.c ├── KontrolYapilariDonguler ├── break │ ├── Debug │ │ ├── break.log │ │ └── dowhile.tlog │ │ │ ├── CL.command.1.tlog │ │ │ ├── CL.read.1.tlog │ │ │ ├── CL.write.1.tlog │ │ │ ├── dowhile.lastbuildstate │ │ │ ├── link.command.1.tlog │ │ │ ├── link.read.1.tlog │ │ │ └── link.write.1.tlog │ ├── break.sln │ ├── break.vcxproj │ └── main.c ├── continue │ ├── continue.sln │ ├── continue.vcxproj │ └── main.c ├── dowhile │ ├── Debug │ │ ├── dowhile.log │ │ └── dowhile.tlog │ │ │ ├── CL.command.1.tlog │ │ │ ├── CL.read.1.tlog │ │ │ ├── CL.write.1.tlog │ │ │ ├── dowhile.lastbuildstate │ │ │ ├── link.command.1.tlog │ │ │ ├── link.read.1.tlog │ │ │ └── link.write.1.tlog │ ├── dowhile.sln │ ├── dowhile.vcxproj │ └── main.c ├── for │ ├── for.sln │ ├── for.vcxproj │ └── main.c ├── for2 │ ├── Debug │ │ ├── for.tlog │ │ │ ├── CL.command.1.tlog │ │ │ ├── CL.read.1.tlog │ │ │ ├── CL.write.1.tlog │ │ │ ├── for.lastbuildstate │ │ │ ├── link.command.1.tlog │ │ │ ├── link.read.1.tlog │ │ │ └── link.write.1.tlog │ │ └── for2.log │ ├── for2.vcxproj │ └── main.c ├── for3 │ ├── for3.vcxproj │ └── main.c ├── ifelse │ ├── ifelse.sln │ ├── ifelse.vcxproj │ └── main.c ├── switch-case │ ├── main.c │ ├── switchcase.sln │ └── switchcase.vcxproj ├── switch-case2 │ ├── Debug │ │ ├── switchcase.log │ │ ├── switchcase.tlog │ │ │ ├── CL.command.1.tlog │ │ │ ├── CL.read.1.tlog │ │ │ ├── CL.write.1.tlog │ │ │ ├── link.command.1.tlog │ │ │ ├── link.read.1.tlog │ │ │ ├── link.write.1.tlog │ │ │ └── switchcase.lastbuildstate │ │ └── switchcase2.log │ ├── main.c │ ├── switchcase2.sln │ └── switchcase2.vcxproj └── while │ ├── Debug │ ├── while.log │ └── while.tlog │ │ ├── CL.command.1.tlog │ │ ├── CL.read.1.tlog │ │ ├── CL.write.1.tlog │ │ ├── link.command.1.tlog │ │ ├── link.read.1.tlog │ │ ├── link.write.1.tlog │ │ └── while.lastbuildstate │ ├── main.c │ ├── while.sln │ └── while.vcxproj ├── Moduler ├── .vs │ └── moduler │ │ └── v15 │ │ ├── .suo │ │ └── Browse.VC.db ├── ekran.c ├── ekran.h ├── main.c ├── moduler.sln ├── moduler.vcxproj ├── motor_kontrol.c ├── motor_kontrol.h ├── sicaklik_sensor.c └── sicaklik_sensor.h ├── bit işlemleri ├── bit_islemler1 │ ├── bit_islem1.vcxproj │ └── main.c ├── bit_islemler2 │ ├── bit_islem2.vcxproj │ └── main.c └── bit_islemler3 │ ├── bit_islem3.vcxproj │ └── main.c ├── c_preprocessor ├── define_kullanimi_makro │ ├── define.sln │ ├── define.vcxproj │ └── main.c ├── define_kullanimi_sabit_tanimlama │ ├── define.sln │ ├── define.vcxproj │ └── main.c └── define_kullanimi_sartli_derleme │ ├── define.sln │ ├── define.vcxproj │ └── main.c ├── isaretciler ├── isaretciler1 │ ├── Debug │ │ ├── fonksiyonornek1.log │ │ ├── isaretciler-1.tlog │ │ │ ├── CL.command.1.tlog │ │ │ ├── CL.read.1.tlog │ │ │ ├── CL.write.1.tlog │ │ │ ├── isaretciler-1.lastbuildstate │ │ │ ├── link.command.1.tlog │ │ │ ├── link.read.1.tlog │ │ │ └── link.write.1.tlog │ │ └── main.obj │ ├── fonksiyonornek1.vcxproj │ └── main.c ├── isaretciler2 │ ├── isaretciler2.vcxproj │ └── main.c ├── isaretciler3 │ ├── isaretci3.vcxproj │ └── main.c ├── isaretciler4 │ ├── Debug │ │ ├── isaretciler-4.Build.CppClean.log │ │ ├── isaretciler-4.tlog │ │ │ ├── CL.command.1.tlog │ │ │ ├── CL.read.1.tlog │ │ │ ├── CL.write.1.tlog │ │ │ ├── isaretciler-4.lastbuildstate │ │ │ ├── link.command.1.tlog │ │ │ ├── link.read.1.tlog │ │ │ └── link.write.1.tlog │ │ ├── main.obj │ │ └── pointer_aritmetik_2.log │ ├── main.c │ └── pointer_aritmetik_2.vcxproj ├── isaretciler5 │ ├── Debug │ │ ├── isaretci.F9C1043C.tlog │ │ │ ├── CL.command.1.tlog │ │ │ ├── CL.read.1.tlog │ │ │ ├── CL.write.1.tlog │ │ │ ├── isaretciler-referans.lastbuildstate │ │ │ ├── link.command.1.tlog │ │ │ ├── link.read.1.tlog │ │ │ └── link.write.1.tlog │ │ ├── main.obj │ │ └── pointer_fonksiyon.log │ ├── main.c │ └── pointer_fonksiyon.vcxproj ├── isaretciler6 │ ├── Pointer_fonksiyon2.vcxproj │ └── main.c └── isaretciler7 │ ├── main.c │ └── pointers7.vcxproj └── yapilar ├── Enum1 ├── enum1.vcxproj └── main.c ├── Union1 ├── main.c ├── union.sln └── union.vcxproj ├── Yapilar1 ├── Debug │ ├── Yapilar1.tlog │ │ ├── CL.command.1.tlog │ │ ├── CL.read.1.tlog │ │ ├── CL.write.1.tlog │ │ ├── Yapilar1.lastbuildstate │ │ ├── link.command.1.tlog │ │ ├── link.read.1.tlog │ │ └── link.write.1.tlog │ ├── main.obj │ └── yapilar1.log ├── main.c └── yapilar1.vcxproj ├── Yapilar2 ├── Debug │ ├── Yapilar2.tlog │ │ ├── CL.command.1.tlog │ │ ├── CL.read.1.tlog │ │ ├── CL.write.1.tlog │ │ └── Yapilar2.lastbuildstate │ └── yapilar2.log ├── main.c └── yapilar2.vcxproj ├── Yapilar3 ├── Yapilar3.sln ├── Yapilar3.vcxproj.filters ├── main.c ├── typedefs.h └── yapilar3.vcxproj ├── Yapilar4 ├── main.c ├── yapilar4.sln └── yapilar4.vcxproj ├── Yapilar5 ├── main.c ├── ogrenciKayit.c ├── ogrenciKayit.h ├── typedefs.h └── yapilar5.vcxproj ├── Yapilar6 ├── main.c └── yapilar6.vcxproj └── Yapilar7 ├── main.c └── yapilar7.vcxproj /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | *.exe 19 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Prerequisites 2 | *.d 3 | 4 | # Object files 5 | *.o 6 | *.ko 7 | *.obj 8 | *.elf 9 | 10 | # Linker output 11 | *.ilk 12 | *.map 13 | *.exp 14 | 15 | # Precompiled Headers 16 | *.gch 17 | *.pch 18 | 19 | # Libraries 20 | *.lib 21 | *.a 22 | *.la 23 | *.lo 24 | 25 | # Shared objects (inc. Windows DLLs) 26 | *.dll 27 | *.so 28 | *.so.* 29 | *.dylib 30 | 31 | # Executables 32 | *.exe 33 | *.out 34 | *.app 35 | *.i*86 36 | *.x86_64 37 | *.hex 38 | 39 | # Debug files 40 | *.dSYM/ 41 | *.su 42 | *.idb 43 | *.pdb 44 | 45 | # Kernel Module Compile Results 46 | *.mod* 47 | *.cmd 48 | .tmp_versions/ 49 | modules.order 50 | Module.symvers 51 | Mkfile.old 52 | dkms.conf 53 | 54 | #ignore thumbnails created by windows 55 | Thumbs.db 56 | #Ignore files build by Visual Studio 57 | *.user 58 | *.aps 59 | *.pch 60 | *.vspscc 61 | *_i.c 62 | *_p.c 63 | *.ncb 64 | *.suo 65 | *.bak 66 | *.cache 67 | *.ilk 68 | *.log 69 | *.ipch 70 | *.db 71 | [Bb]in 72 | [Dd]ebug*/ 73 | *.sbr 74 | obj/ 75 | [Rr]elease*/ 76 | _ReSharper*/ 77 | -------------------------------------------------------------------------------- /.vs/CProgramlamaOrnekleri/v15/Browse.VC.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/.vs/CProgramlamaOrnekleri/v15/Browse.VC.db -------------------------------------------------------------------------------- /.vs/CProgramlamaOrnekleri/v15/Solution.VC.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/.vs/CProgramlamaOrnekleri/v15/Solution.VC.db -------------------------------------------------------------------------------- /.vs/CProgramlamaOrnekleri/v15/Solution.VC.db-shm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/.vs/CProgramlamaOrnekleri/v15/Solution.VC.db-shm -------------------------------------------------------------------------------- /.vs/CProgramlamaOrnekleri/v15/Solution.VC.db-wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/.vs/CProgramlamaOrnekleri/v15/Solution.VC.db-wal -------------------------------------------------------------------------------- /1-Giris/Casting1/casting.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "casting1", "casting1.vcxproj", "{0D929E2F-B526-4A17-A591-A8F404EFE1AE}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {0D929E2F-B526-4A17-A591-A8F404EFE1AE}.Debug|x64.ActiveCfg = Debug|x64 17 | {0D929E2F-B526-4A17-A591-A8F404EFE1AE}.Debug|x64.Build.0 = Debug|x64 18 | {0D929E2F-B526-4A17-A591-A8F404EFE1AE}.Debug|x86.ActiveCfg = Debug|Win32 19 | {0D929E2F-B526-4A17-A591-A8F404EFE1AE}.Debug|x86.Build.0 = Debug|Win32 20 | {0D929E2F-B526-4A17-A591-A8F404EFE1AE}.Release|x64.ActiveCfg = Release|x64 21 | {0D929E2F-B526-4A17-A591-A8F404EFE1AE}.Release|x64.Build.0 = Release|x64 22 | {0D929E2F-B526-4A17-A591-A8F404EFE1AE}.Release|x86.ActiveCfg = Release|Win32 23 | {0D929E2F-B526-4A17-A591-A8F404EFE1AE}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /1-Giris/Casting1/casting1.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {0D929E2F-B526-4A17-A591-A8F404EFE1AE} 23 | Win32Proj 24 | ConsoleApplication1 25 | 10.0.15063.0 26 | casting1 27 | 28 | 29 | 30 | Application 31 | true 32 | v141 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v141 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v141 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v141 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | true 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | 85 | 86 | 87 | 88 | 89 | Level3 90 | Disabled 91 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | CompileAsC 93 | 94 | 95 | Console 96 | true 97 | 98 | 99 | 100 | 101 | 102 | 103 | Level3 104 | Disabled 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | 107 | 108 | Console 109 | true 110 | 111 | 112 | 113 | 114 | Level3 115 | 116 | 117 | MaxSpeed 118 | true 119 | true 120 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 121 | CompileAsC 122 | 123 | 124 | Console 125 | true 126 | true 127 | true 128 | 129 | 130 | 131 | 132 | Level3 133 | 134 | 135 | MaxSpeed 136 | true 137 | true 138 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 139 | 140 | 141 | Console 142 | true 143 | true 144 | true 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /1-Giris/Casting1/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/1-Giris/Casting1/main.c -------------------------------------------------------------------------------- /1-Giris/Casting2/casting2.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {51089CC8-6EDC-451F-B958-BA180EB9323C} 23 | Win32Proj 24 | ConsoleApplication1 25 | 10.0.15063.0 26 | casting2 27 | 28 | 29 | 30 | Application 31 | true 32 | v141 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v141 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v141 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v141 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | true 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | 85 | 86 | 87 | 88 | 89 | Level3 90 | Disabled 91 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | CompileAsC 93 | 94 | 95 | Console 96 | true 97 | 98 | 99 | 100 | 101 | 102 | 103 | Level3 104 | Disabled 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | 107 | 108 | Console 109 | true 110 | 111 | 112 | 113 | 114 | Level3 115 | 116 | 117 | MaxSpeed 118 | true 119 | true 120 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 121 | CompileAsC 122 | 123 | 124 | Console 125 | true 126 | true 127 | true 128 | 129 | 130 | 131 | 132 | Level3 133 | 134 | 135 | MaxSpeed 136 | true 137 | true 138 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 139 | 140 | 141 | Console 142 | true 143 | true 144 | true 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /1-Giris/Casting2/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/1-Giris/Casting2/main.c -------------------------------------------------------------------------------- /1-Giris/Degiskenler1/degiskenler1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Degiskenler1", "degiskenler1.vcxproj", "{DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}.Debug|x64.ActiveCfg = Debug|x64 17 | {DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}.Debug|x64.Build.0 = Debug|x64 18 | {DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}.Debug|x86.ActiveCfg = Debug|Win32 19 | {DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}.Debug|x86.Build.0 = Debug|Win32 20 | {DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}.Release|x64.ActiveCfg = Release|x64 21 | {DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}.Release|x64.Build.0 = Release|x64 22 | {DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}.Release|x86.ActiveCfg = Release|Win32 23 | {DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /1-Giris/Degiskenler1/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/1-Giris/Degiskenler1/main.c -------------------------------------------------------------------------------- /1-Giris/Kacis_karakterleri/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | 5 | 6 | int main() 7 | { 8 | printf("Escape \nsequence\nornegi\n"); 9 | printf("Escape\tsequence\tornegi\n"); 10 | printf("Escape\"sequence\"ornegi\""); 11 | 12 | return 0; 13 | } 14 | 15 | 16 | -------------------------------------------------------------------------------- /1-Giris/KarakterDegiskenler/karakterDegisken.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "KarakterDegisken", "karakterDegisken.vcxproj", "{4834619F-31F1-42F2-B69C-5586B4BDC0C0}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Debug|x64.ActiveCfg = Debug|x64 17 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Debug|x64.Build.0 = Debug|x64 18 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Debug|x86.ActiveCfg = Debug|Win32 19 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Debug|x86.Build.0 = Debug|Win32 20 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Release|x64.ActiveCfg = Release|x64 21 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Release|x64.Build.0 = Release|x64 22 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Release|x86.ActiveCfg = Release|Win32 23 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /1-Giris/KarakterDegiskenler/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | 5 | 6 | int main() 7 | { 8 | char kar = 'A'; 9 | 10 | 11 | printf("Karakter = %c Sayisal Karsilik= %d\n", kar,kar); 12 | kar++; 13 | printf("Karakter = %c Sayisal Karsilik= %d\n", kar, kar); 14 | kar++; 15 | printf("Karakter = %c Sayisal Karsilik= %d\n", kar, kar); 16 | kar++; 17 | 18 | return 0; 19 | } 20 | 21 | 22 | -------------------------------------------------------------------------------- /1-Giris/KarakterDegiskenler2/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | /* 5 | ASCII TABLOSU 6 | */ 7 | 8 | 9 | int main() 10 | { 11 | char kar = 'A'; 12 | int i = 0; 13 | 14 | for (i = 0; i < 255; i++) 15 | { 16 | printf("Karakter=%c \tASCII Degeri = %d\n", i, i); 17 | } 18 | 19 | return 0; 20 | } 21 | 22 | 23 | -------------------------------------------------------------------------------- /1-Giris/Operatorler1/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | 5 | int main() 6 | { 7 | int sayi1 = 10; 8 | int sayi2 = 3; 9 | int sonuc = 0; 10 | float ondalik = 1.34567; 11 | 12 | printf("toplama=%d \n", sayi1+sayi2); 13 | printf("cikarma=%d \n", sayi1-sayi2); 14 | printf("carpma=%d \n", sayi1*sayi2); 15 | printf("bolme=%d \n", sayi1 / sayi2); 16 | printf("mod=%d \n", sayi1 % 3); 17 | printf("artirma=%d \n", sayi1++); 18 | printf("sayi1=%d \n", sayi1); 19 | printf("azaltma=%d \n", sayi1--); 20 | printf("sayi1=%d \n", sayi1); 21 | return 0; 22 | } 23 | 24 | 25 | -------------------------------------------------------------------------------- /1-Giris/Operatorler2/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | 5 | int main() 6 | { 7 | int sayi1 = 10; 8 | int sayi2 = 3; 9 | 10 | 11 | printf("sayi1 = %d sayi2 = %d\n", sayi1++, sayi2++); 12 | printf("sayi1 = %d sayi2 = %d\n", sayi1, sayi2); 13 | 14 | printf("sayi1 = %d sayi2 = %d\n", ++sayi1, ++sayi2); 15 | printf("sayi1 = %d sayi2 = %d\n", sayi1, sayi2); 16 | 17 | return 0; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /1-Giris/Printf/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | int number1 = 10; 6 | int number2 = 3543; 7 | float fnumber = 1.34567; 8 | double dnumber = 1345.7654; 9 | char ch = 'X'; 10 | 11 | printf("tam sayi=%d \n", number1); 12 | printf("ondalik sayi=%f \n", fnumber); 13 | printf("Sayi = %d \t Hexadesimal gosterim=%x \n", number2, number2); 14 | printf("ondalik sayi ustel gosterim=%e\n", dnumber); 15 | printf("Karaker=%c Sayi karsiligi=%d\n", ch, ch); 16 | return 0; 17 | } 18 | 19 | 20 | -------------------------------------------------------------------------------- /1-Giris/Printf/printf.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "printf", "printf.vcxproj", "{4834619F-31F1-42F2-B69C-5586B4BDC0C0}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Debug|x64.ActiveCfg = Debug|x64 17 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Debug|x64.Build.0 = Debug|x64 18 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Debug|x86.ActiveCfg = Debug|Win32 19 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Debug|x86.Build.0 = Debug|Win32 20 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Release|x64.ActiveCfg = Release|x64 21 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Release|x64.Build.0 = Release|x64 22 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Release|x86.ActiveCfg = Release|Win32 23 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /1-Giris/Printf/printf.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0} 23 | Win32Proj 24 | ConsoleApplication1 25 | 10.0.15063.0 26 | printf 27 | 28 | 29 | 30 | Application 31 | true 32 | v141 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v141 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v141 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v141 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | true 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | 85 | 86 | 87 | 88 | 89 | Level3 90 | Disabled 91 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | CompileAsC 93 | 94 | 95 | Console 96 | true 97 | 98 | 99 | 100 | 101 | 102 | 103 | Level3 104 | Disabled 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | 107 | 108 | Console 109 | true 110 | 111 | 112 | 113 | 114 | Level3 115 | 116 | 117 | MaxSpeed 118 | true 119 | true 120 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 121 | CompileAsC 122 | 123 | 124 | Console 125 | true 126 | true 127 | true 128 | 129 | 130 | 131 | 132 | Level3 133 | 134 | 135 | MaxSpeed 136 | true 137 | true 138 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 139 | 140 | 141 | Console 142 | true 143 | true 144 | true 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /1-Giris/Sabitler/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | 5 | 6 | int main() 7 | { 8 | const int sabit_sayi = 20; 9 | 10 | 11 | sabit_sayi = 12; 12 | 13 | return 0; 14 | } 15 | 16 | 17 | -------------------------------------------------------------------------------- /1-Giris/Sabitler/sabit.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Sabitler", "sabit.vcxproj", "{4834619F-31F1-42F2-B69C-5586B4BDC0C0}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Debug|x64.ActiveCfg = Debug|x64 17 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Debug|x64.Build.0 = Debug|x64 18 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Debug|x86.ActiveCfg = Debug|Win32 19 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Debug|x86.Build.0 = Debug|Win32 20 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Release|x64.ActiveCfg = Release|x64 21 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Release|x64.Build.0 = Release|x64 22 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Release|x86.ActiveCfg = Release|Win32 23 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /1-Giris/Sabitler/sabit.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {24434A30-EA37-4429-95C4-3CB53E0A123C} 23 | Win32Proj 24 | ConsoleApplication1 25 | 10.0.15063.0 26 | Sabitler 27 | 28 | 29 | 30 | Application 31 | true 32 | v141 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v141 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v141 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v141 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | true 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | 85 | 86 | 87 | 88 | 89 | Level3 90 | Disabled 91 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | CompileAsC 93 | 94 | 95 | Console 96 | true 97 | 98 | 99 | 100 | 101 | 102 | 103 | Level3 104 | Disabled 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | 107 | 108 | Console 109 | true 110 | 111 | 112 | 113 | 114 | Level3 115 | 116 | 117 | MaxSpeed 118 | true 119 | true 120 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 121 | CompileAsC 122 | 123 | 124 | Console 125 | true 126 | true 127 | true 128 | 129 | 130 | 131 | 132 | Level3 133 | 134 | 135 | MaxSpeed 136 | true 137 | true 138 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 139 | 140 | 141 | Console 142 | true 143 | true 144 | true 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /1-Giris/Scanf-2/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | 5 | int main() 6 | { 7 | char kar1; 8 | char kar2; 9 | 10 | printf("2 karakter giriniz:\n"); 11 | scanf("%c %c", &kar1, &kar2); 12 | 13 | printf("Karakter 1=%c ASCII Degeri %d, Karakter 2=%c ASCII Degeri %d \n", kar1, kar1, kar2,kar2); 14 | 15 | return 0; 16 | } 17 | 18 | 19 | -------------------------------------------------------------------------------- /1-Giris/Scanf-2/scanf2.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0} 23 | Win32Proj 24 | ConsoleApplication1 25 | 10.0.15063.0 26 | scanf2 27 | 28 | 29 | 30 | Application 31 | true 32 | v141 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v141 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v141 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v141 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | true 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | 85 | 86 | 87 | 88 | 89 | Level3 90 | Disabled 91 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | CompileAsC 93 | 94 | 95 | Console 96 | true 97 | 98 | 99 | 100 | 101 | 102 | 103 | Level3 104 | Disabled 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | 107 | 108 | Console 109 | true 110 | 111 | 112 | 113 | 114 | Level3 115 | 116 | 117 | MaxSpeed 118 | true 119 | true 120 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 121 | CompileAsC 122 | 123 | 124 | Console 125 | true 126 | true 127 | true 128 | 129 | 130 | 131 | 132 | Level3 133 | 134 | 135 | MaxSpeed 136 | true 137 | true 138 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 139 | 140 | 141 | Console 142 | true 143 | true 144 | true 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /1-Giris/Scanf/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | 5 | int main() 6 | { 7 | int number1 = 10; 8 | int number2 = 3543; 9 | 10 | printf("2 sayi giriniz:\n"); 11 | scanf("%d %d", &number1, &number2); 12 | 13 | printf("Sayi1=%d Sayi2=%d Toplamlari=%d\n", number1, number2, number1 + number2); 14 | 15 | return 0; 16 | } 17 | 18 | 19 | -------------------------------------------------------------------------------- /1-Giris/Scanf/scanf.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "scanf", "scanf.vcxproj", "{4834619F-31F1-42F2-B69C-5586B4BDC0C0}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Debug|x64.ActiveCfg = Debug|x64 17 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Debug|x64.Build.0 = Debug|x64 18 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Debug|x86.ActiveCfg = Debug|Win32 19 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Debug|x86.Build.0 = Debug|Win32 20 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Release|x64.ActiveCfg = Release|x64 21 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Release|x64.Build.0 = Release|x64 22 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Release|x86.ActiveCfg = Release|Win32 23 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /1-Giris/Scanf/scanf.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {4834619F-31F1-42F2-B69C-5586B4BDC0C0} 23 | Win32Proj 24 | ConsoleApplication1 25 | 10.0.15063.0 26 | scanf 27 | 28 | 29 | 30 | Application 31 | true 32 | v141 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v141 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v141 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v141 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | true 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | 85 | 86 | 87 | 88 | 89 | Level3 90 | Disabled 91 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | CompileAsC 93 | 94 | 95 | Console 96 | true 97 | 98 | 99 | 100 | 101 | 102 | 103 | Level3 104 | Disabled 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | 107 | 108 | Console 109 | true 110 | 111 | 112 | 113 | 114 | Level3 115 | 116 | 117 | MaxSpeed 118 | true 119 | true 120 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 121 | CompileAsC 122 | 123 | 124 | Console 125 | true 126 | true 127 | true 128 | 129 | 130 | 131 | 132 | Level3 133 | 134 | 135 | MaxSpeed 136 | true 137 | true 138 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 139 | 140 | 141 | Console 142 | true 143 | true 144 | true 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /1-Giris/Sizeof/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/1-Giris/Sizeof/main.c -------------------------------------------------------------------------------- /1-Giris/Sizeof/operatorler2.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "operatorler2", "operatorler2.vcxproj", "{792CACF2-A1B7-4C5C-B8FE-A820554EDCE9}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {792CACF2-A1B7-4C5C-B8FE-A820554EDCE9}.Debug|x64.ActiveCfg = Debug|x64 17 | {792CACF2-A1B7-4C5C-B8FE-A820554EDCE9}.Debug|x64.Build.0 = Debug|x64 18 | {792CACF2-A1B7-4C5C-B8FE-A820554EDCE9}.Debug|x86.ActiveCfg = Debug|Win32 19 | {792CACF2-A1B7-4C5C-B8FE-A820554EDCE9}.Debug|x86.Build.0 = Debug|Win32 20 | {792CACF2-A1B7-4C5C-B8FE-A820554EDCE9}.Release|x64.ActiveCfg = Release|x64 21 | {792CACF2-A1B7-4C5C-B8FE-A820554EDCE9}.Release|x64.Build.0 = Release|x64 22 | {792CACF2-A1B7-4C5C-B8FE-A820554EDCE9}.Release|x86.ActiveCfg = Release|Win32 23 | {792CACF2-A1B7-4C5C-B8FE-A820554EDCE9}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /1-Giris/Sizeof/sizeof.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {47A2B900-C401-40F4-84E0-FC0AD1178896} 23 | Win32Proj 24 | ConsoleApplication1 25 | 10.0.15063.0 26 | sizeof 27 | 28 | 29 | 30 | Application 31 | true 32 | v141 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v141 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v141 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v141 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | true 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | 85 | 86 | 87 | 88 | 89 | Level3 90 | Disabled 91 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | CompileAsC 93 | 94 | 95 | Console 96 | true 97 | 98 | 99 | 100 | 101 | 102 | 103 | Level3 104 | Disabled 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | 107 | 108 | Console 109 | true 110 | 111 | 112 | 113 | 114 | Level3 115 | 116 | 117 | MaxSpeed 118 | true 119 | true 120 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 121 | CompileAsC 122 | 123 | 124 | Console 125 | true 126 | true 127 | true 128 | 129 | 130 | 131 | 132 | Level3 133 | 134 | 135 | MaxSpeed 136 | true 137 | true 138 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 139 | 140 | 141 | Console 142 | true 143 | true 144 | true 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /Diziler/diziler1/diziler1.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {1A2DF1B6-5FCB-49D2-9028-D6E7EBAC6E99} 23 | Win32Proj 24 | ConsoleApplication1 25 | 10.0.15063.0 26 | Diziler-1 27 | 28 | 29 | 30 | Application 31 | true 32 | v141 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v141 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v141 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v141 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | true 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | 85 | 86 | 87 | 88 | 89 | Level3 90 | Disabled 91 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | CompileAsC 93 | 94 | 95 | Console 96 | true 97 | 98 | 99 | 100 | 101 | 102 | 103 | Level3 104 | Disabled 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | 107 | 108 | Console 109 | true 110 | 111 | 112 | 113 | 114 | Level3 115 | 116 | 117 | MaxSpeed 118 | true 119 | true 120 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 121 | CompileAsC 122 | 123 | 124 | Console 125 | true 126 | true 127 | true 128 | 129 | 130 | 131 | 132 | Level3 133 | 134 | 135 | MaxSpeed 136 | true 137 | true 138 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 139 | 140 | 141 | Console 142 | true 143 | true 144 | true 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /Diziler/diziler1/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Diziler/diziler1/main.c -------------------------------------------------------------------------------- /Diziler/diziler2/diziler2.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {12A2A904-3A0F-4DDD-BFAD-773775B4214D} 23 | Win32Proj 24 | ConsoleApplication1 25 | 10.0.15063.0 26 | Diziler-2 27 | 28 | 29 | 30 | Application 31 | true 32 | v141 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v141 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v141 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v141 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | true 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | 85 | 86 | 87 | 88 | 89 | Level3 90 | Disabled 91 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | CompileAsC 93 | 94 | 95 | Console 96 | true 97 | 98 | 99 | 100 | 101 | 102 | 103 | Level3 104 | Disabled 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | 107 | 108 | Console 109 | true 110 | 111 | 112 | 113 | 114 | Level3 115 | 116 | 117 | MaxSpeed 118 | true 119 | true 120 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 121 | CompileAsC 122 | 123 | 124 | Console 125 | true 126 | true 127 | true 128 | 129 | 130 | 131 | 132 | Level3 133 | 134 | 135 | MaxSpeed 136 | true 137 | true 138 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 139 | 140 | 141 | Console 142 | true 143 | true 144 | true 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /Diziler/diziler2/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Diziler/diziler2/main.c -------------------------------------------------------------------------------- /Diziler/diziler3/diziler3.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {B1CCFB0D-D24B-40D8-8B7F-FAEDC678E17C} 23 | Win32Proj 24 | ConsoleApplication1 25 | 10.0.15063.0 26 | Diziler-3 27 | 28 | 29 | 30 | Application 31 | true 32 | v141 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v141 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v141 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v141 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | true 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | 85 | 86 | 87 | 88 | 89 | Level3 90 | Disabled 91 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | CompileAsC 93 | 94 | 95 | Console 96 | true 97 | 98 | 99 | 100 | 101 | 102 | 103 | Level3 104 | Disabled 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | 107 | 108 | Console 109 | true 110 | 111 | 112 | 113 | 114 | Level3 115 | 116 | 117 | MaxSpeed 118 | true 119 | true 120 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 121 | CompileAsC 122 | 123 | 124 | Console 125 | true 126 | true 127 | true 128 | 129 | 130 | 131 | 132 | Level3 133 | 134 | 135 | MaxSpeed 136 | true 137 | true 138 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 139 | 140 | 141 | Console 142 | true 143 | true 144 | true 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /Diziler/diziler3/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Diziler/diziler3/main.c -------------------------------------------------------------------------------- /Diziler/diziler4/diziler4.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {04F941F7-A038-48F5-AFDA-67135E543CF5} 23 | Win32Proj 24 | ConsoleApplication1 25 | 10.0.15063.0 26 | Diziler-4 27 | 28 | 29 | 30 | Application 31 | true 32 | v141 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v141 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v141 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v141 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | true 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | 85 | 86 | 87 | 88 | 89 | Level3 90 | Disabled 91 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | CompileAsC 93 | 94 | 95 | Console 96 | true 97 | 98 | 99 | 100 | 101 | 102 | 103 | Level3 104 | Disabled 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | 107 | 108 | Console 109 | true 110 | 111 | 112 | 113 | 114 | Level3 115 | 116 | 117 | MaxSpeed 118 | true 119 | true 120 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 121 | CompileAsC 122 | 123 | 124 | Console 125 | true 126 | true 127 | true 128 | 129 | 130 | 131 | 132 | Level3 133 | 134 | 135 | MaxSpeed 136 | true 137 | true 138 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 139 | 140 | 141 | Console 142 | true 143 | true 144 | true 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /Diziler/diziler4/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Diziler/diziler4/main.c -------------------------------------------------------------------------------- /Diziler/diziler5/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Diziler/diziler5/main.c -------------------------------------------------------------------------------- /Diziler/diziler_sorting/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Diziler/diziler_sorting/main.c -------------------------------------------------------------------------------- /Fonksiyonlar/FonksiyonOrnek1/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Fonksiyonlar/FonksiyonOrnek1/main.c -------------------------------------------------------------------------------- /Fonksiyonlar/FonksiyonOrnek2/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Fonksiyonlar/FonksiyonOrnek2/main.c -------------------------------------------------------------------------------- /Fonksiyonlar/FonksiyonOrnek3/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Fonksiyonlar/FonksiyonOrnek3/main.c -------------------------------------------------------------------------------- /Fonksiyonlar/FonksiyonOrnek4/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Fonksiyonlar/FonksiyonOrnek4/main.c -------------------------------------------------------------------------------- /Fonksiyonlar/FonksiyonOrnek5/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Fonksiyonlar/FonksiyonOrnek5/main.c -------------------------------------------------------------------------------- /Fonksiyonlar/FonksiyonOrnek6/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Fonksiyonlar/FonksiyonOrnek6/main.c -------------------------------------------------------------------------------- /Fonksiyonlar/FonksiyonOrnek6/module1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Fonksiyonlar/FonksiyonOrnek6/module1.c -------------------------------------------------------------------------------- /Fonksiyonlar/FonksiyonOrnek6/module1.h: -------------------------------------------------------------------------------- 1 | #ifndef __MODULE1_H 2 | #define __MODULE1_H 3 | 4 | void module1_function1(); 5 | void module1_function2(); 6 | 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Fonksiyonlar/FonksiyonOrnek6/module2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Fonksiyonlar/FonksiyonOrnek6/module2.c -------------------------------------------------------------------------------- /Fonksiyonlar/FonksiyonOrnek6/module2.h: -------------------------------------------------------------------------------- 1 | #ifndef __MODULE2_H 2 | #define __MODULE2_H 3 | 4 | 5 | 6 | int module2_function1(); 7 | void module2_function2(); 8 | 9 | #endif 10 | 11 | -------------------------------------------------------------------------------- /KarakterDizileri/string1/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KarakterDizileri/string1/main.c -------------------------------------------------------------------------------- /KarakterDizileri/string10/.vs/string6/v15/Browse.VC.opendb: -------------------------------------------------------------------------------- 1 | coskunDESKTOP-220102L -------------------------------------------------------------------------------- /KarakterDizileri/string10/strtok.c: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | #include 4 | 5 | int main(void) 6 | { 7 | /* initialize array string */ 8 | char string[] = "This-is-a-sentence-with 7 tokens"; 9 | char *tokenPtr; /* create char pointer */ 10 | 11 | printf("%s\n%s\n\n%s\n", 12 | "The string to be tokenized is:", string, 13 | "The tokens are:"); 14 | 15 | tokenPtr = strtok(string, "-"); /* begin tokenizing sentence */ 16 | 17 | /* continue tokenizing sentence until tokenPtr becomes NULL */ 18 | while (tokenPtr != NULL) { 19 | printf("%s\n", tokenPtr); 20 | tokenPtr = strtok(NULL, "-"); /* get next token */ 21 | 22 | } /* end while */ 23 | } -------------------------------------------------------------------------------- /KarakterDizileri/string2/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KarakterDizileri/string2/main.c -------------------------------------------------------------------------------- /KarakterDizileri/string3/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KarakterDizileri/string3/main.c -------------------------------------------------------------------------------- /KarakterDizileri/string4/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KarakterDizileri/string4/main.c -------------------------------------------------------------------------------- /KarakterDizileri/string5/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KarakterDizileri/string5/main.c -------------------------------------------------------------------------------- /KarakterDizileri/string6/strcspn.c: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | #include 4 | 5 | int main(void) 6 | { 7 | const char *string1 = "Ornek bir string 1235678"; 8 | const char *string2 = "Ornek 1 string 1235678"; 9 | const char *string3 = "1234567890"; 10 | 11 | printf("string1 = %s\n",string1); 12 | printf("string2 = %s\n",string2); 13 | 14 | /* string1 string'i icerisinde string3'den herhangi bir karakter 15 | icermeyen ilk parcanin boyutu: */ 16 | printf("sonuc = %u\n", strcspn(string1, string3)); 17 | 18 | 19 | printf("string1 = %s\n", string1); 20 | 21 | printf("sonuc = %u\n", strcspn(string2, string3)); 22 | 23 | return 0; 24 | 25 | } 26 | 27 | -------------------------------------------------------------------------------- /KarakterDizileri/string7/.vs/string6/v15/Browse.VC.opendb: -------------------------------------------------------------------------------- 1 | coskunDESKTOP-220102L -------------------------------------------------------------------------------- /KarakterDizileri/string7/strspn.c: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | #include 4 | 5 | int main(void) 6 | { 7 | const char *string1 = "Ornek bir string 1235678"; 8 | const char *string2 = "Ornek 1 string 1235678"; 9 | const char *string3 = "1234567890"; 10 | 11 | printf("string1 = %s\n", string1); 12 | printf("string2 = %s\n", string2); 13 | 14 | /* string1 string'i icerisinde string3'den herhangi bir karakter 15 | iceren ilk parcanin boyutu: */ 16 | printf("sonuc = %u\n", strspn(string1, string3)); 17 | 18 | 19 | printf("string1 = %s\n", string1); 20 | 21 | printf("sonuc = %u\n", strspn(string2, string3)); 22 | 23 | return 0; 24 | 25 | } -------------------------------------------------------------------------------- /KarakterDizileri/string8/.vs/string6/v15/Browse.VC.opendb: -------------------------------------------------------------------------------- 1 | coskunDESKTOP-220102L -------------------------------------------------------------------------------- /KarakterDizileri/string8/strrchr.c: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | #include 4 | 5 | int main(void) 6 | { 7 | /* initialize char pointer */ 8 | const char *string1 = "damlaya damlaya gol olur"; 9 | 10 | int c = 'd'; 11 | 12 | printf("string1 de %c karakterinin son goruldugu \nyerden itibaren" \ 13 | " kalan kisim:%s\n",c,strrchr(string1, c)); 14 | 15 | return 0; /* indicates successful termination */ 16 | 17 | } /* end main */ 18 | -------------------------------------------------------------------------------- /KarakterDizileri/string9/.vs/string6/v15/Browse.VC.opendb: -------------------------------------------------------------------------------- 1 | coskunDESKTOP-220102L -------------------------------------------------------------------------------- /KarakterDizileri/string9/strstr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KarakterDizileri/string9/strstr.c -------------------------------------------------------------------------------- /KontrolYapilariDonguler/break/Debug/break.log: -------------------------------------------------------------------------------- 1 |  main.c 2 | break.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\KontrolYapilariDonguler\break\Debug\dowhile.exe 3 | break.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\KontrolYapilariDonguler\break\Debug\dowhile.pdb (Partial PDB) 4 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/break/Debug/dowhile.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/break/Debug/dowhile.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/break/Debug/dowhile.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/break/Debug/dowhile.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/break/Debug/dowhile.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/break/Debug/dowhile.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/break/Debug/dowhile.tlog/dowhile.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.15063.0 2 | Debug|Win32|D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\KontrolYapilariDonguler\break\| 3 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/break/Debug/dowhile.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/break/Debug/dowhile.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/break/Debug/dowhile.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/break/Debug/dowhile.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/break/Debug/dowhile.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/break/Debug/dowhile.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/break/break.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dowhile", "break.vcxproj", "{02B84294-0359-470C-900A-A12DA5E3E9E5}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x64.ActiveCfg = Debug|x64 17 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x64.Build.0 = Debug|x64 18 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x86.ActiveCfg = Debug|Win32 19 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x86.Build.0 = Debug|Win32 20 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x64.ActiveCfg = Release|x64 21 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x64.Build.0 = Release|x64 22 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x86.ActiveCfg = Release|Win32 23 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/break/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | uint32_t i = 0; 7 | 8 | i = 0; 9 | 10 | printf("do while dongusu\n"); 11 | do 12 | { 13 | i++; 14 | if (i == 5) 15 | { 16 | break; 17 | } 18 | printf("%d DO-WHILE DONGU\n", i); 19 | } while (i < 10); 20 | 21 | 22 | i = 0; 23 | 24 | printf("while dongusu\n"); 25 | while (i < 10) 26 | { 27 | i++; 28 | if (i == 3) 29 | { 30 | break; 31 | } 32 | printf("%d DONGU\n", i); 33 | } 34 | 35 | printf("for dongusu\n"); 36 | while (1) { 37 | for (i = 0; i < 20; i++) 38 | { 39 | if (i == 7) 40 | { 41 | break; 42 | } 43 | printf("%d DONGU\n", i); 44 | } 45 | } 46 | 47 | 48 | printf("i nin degeri=%d\n", i); 49 | return 0; 50 | } 51 | 52 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/continue/continue.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "continue", "continue.vcxproj", "{02B84294-0359-470C-900A-A12DA5E3E9E5}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x64.ActiveCfg = Debug|x64 17 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x64.Build.0 = Debug|x64 18 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x86.ActiveCfg = Debug|Win32 19 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x86.Build.0 = Debug|Win32 20 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x64.ActiveCfg = Release|x64 21 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x64.Build.0 = Release|x64 22 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x86.ActiveCfg = Release|Win32 23 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/continue/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | uint32_t i = 0; 7 | 8 | i = 0; 9 | 10 | printf("do while dongusu\n"); 11 | do 12 | { 13 | i++; 14 | if (i == 5) 15 | { 16 | continue; 17 | } 18 | printf("%d DO-WHILE DONGU\n", i); 19 | } while (i < 10); 20 | 21 | 22 | i = 0; 23 | 24 | printf("while dongusu\n"); 25 | while (i < 10) 26 | { 27 | i++; 28 | if (i == 3) 29 | { 30 | continue; 31 | } 32 | printf("%d DONGU\n", i); 33 | } 34 | 35 | printf("for dongusu\n"); 36 | for (i = 0; i < 20; i++) 37 | { 38 | if (i == 7) 39 | { 40 | printf("continue"); 41 | continue; 42 | 43 | } 44 | printf("%d DONGU\n", i); 45 | } 46 | 47 | 48 | printf("i nin degeri=%d\n", i); 49 | return 0; 50 | } 51 | 52 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/dowhile/Debug/dowhile.log: -------------------------------------------------------------------------------- 1 |  main.c 2 | dowhile.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\KontrolYapilariDonguler\dowhile\Debug\dowhile.exe 3 | dowhile.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\KontrolYapilariDonguler\dowhile\Debug\dowhile.pdb (Partial PDB) 4 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/dowhile/Debug/dowhile.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/dowhile/Debug/dowhile.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/dowhile/Debug/dowhile.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/dowhile/Debug/dowhile.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/dowhile/Debug/dowhile.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/dowhile/Debug/dowhile.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/dowhile/Debug/dowhile.tlog/dowhile.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.15063.0 2 | Debug|Win32|D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\KontrolYapilariDonguler\dowhile\| 3 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/dowhile/Debug/dowhile.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/dowhile/Debug/dowhile.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/dowhile/Debug/dowhile.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/dowhile/Debug/dowhile.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/dowhile/Debug/dowhile.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/dowhile/Debug/dowhile.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/dowhile/dowhile.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dowhile", "dowhile.vcxproj", "{02B84294-0359-470C-900A-A12DA5E3E9E5}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x64.ActiveCfg = Debug|x64 17 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x64.Build.0 = Debug|x64 18 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x86.ActiveCfg = Debug|Win32 19 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x86.Build.0 = Debug|Win32 20 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x64.ActiveCfg = Release|x64 21 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x64.Build.0 = Release|x64 22 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x86.ActiveCfg = Release|Win32 23 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/dowhile/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | uint32_t i = 0; 7 | 8 | i = 10; 9 | 10 | 11 | do 12 | { 13 | printf("%d DO-WHILE DONGU\n", i); 14 | i++; 15 | } while (i < 10); 16 | 17 | 18 | 19 | while (i < 10) 20 | { 21 | printf("%d DONGU\n", i); 22 | i++; 23 | } 24 | 25 | printf("i nin degeri=%d\n", i); 26 | return 0; 27 | } 28 | 29 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/for/for.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "for", "for.vcxproj", "{02B84294-0359-470C-900A-A12DA5E3E9E5}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x64.ActiveCfg = Debug|x64 17 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x64.Build.0 = Debug|x64 18 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x86.ActiveCfg = Debug|Win32 19 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x86.Build.0 = Debug|Win32 20 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x64.ActiveCfg = Release|x64 21 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x64.Build.0 = Release|x64 22 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x86.ActiveCfg = Release|Win32 23 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/for/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | uint32_t i = 0; 7 | 8 | 9 | for (i = 0; i < 10; i++) { 10 | printf("%d FOR ORNEK\n",i); 11 | } 12 | printf("i'nin degeri = %d\n", i); 13 | 14 | 15 | return 0; 16 | } 17 | 18 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/for2/Debug/for.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/for2/Debug/for.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/for2/Debug/for.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/for2/Debug/for.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/for2/Debug/for.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/for2/Debug/for.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/for2/Debug/for.tlog/for.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.15063.0 2 | Debug|Win32|D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\KontrolYapilariDonguler\for2\| 3 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/for2/Debug/for.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/for2/Debug/for.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/for2/Debug/for.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/for2/Debug/for.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/for2/Debug/for.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/for2/Debug/for.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/for2/Debug/for2.log: -------------------------------------------------------------------------------- 1 |  main.c 2 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\kontrolyapilaridonguler\for2\main.c(12): warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 3 | c:\program files (x86)\windows kits\10\include\10.0.15063.0\ucrt\stdio.h(1272): note: see declaration of 'scanf' 4 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\kontrolyapilaridonguler\for2\main.c(10): warning C4700: uninitialized local variable 'sinir' used 5 | for2.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\KontrolYapilariDonguler\for2\Debug\for.exe 6 | for2.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\KontrolYapilariDonguler\for2\Debug\for.pdb (Partial PDB) 7 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/for2/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/for2/main.c -------------------------------------------------------------------------------- /KontrolYapilariDonguler/for3/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | int main() 3 | { 4 | int i, j, k; 5 | int sayac = 0; 6 | 7 | for (i = 20; i>10; i--) 8 | { 9 | printf("1. dongu=%d\n", i); 10 | for (j = 0; j<10; j++) 11 | { 12 | printf("2. dongu=%d\n", j); 13 | for (k = 5; k<30; k+=5) 14 | { 15 | printf("3. dongu=%d ", k); 16 | printf("Sayac=%d\n", sayac++); 17 | } 18 | printf("\n"); 19 | } 20 | } 21 | 22 | 23 | 24 | return 0; 25 | } -------------------------------------------------------------------------------- /KontrolYapilariDonguler/ifelse/ifelse.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ifelse", "ifelse.vcxproj", "{02B84294-0359-470C-900A-A12DA5E3E9E5}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x64.ActiveCfg = Debug|x64 17 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x64.Build.0 = Debug|x64 18 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x86.ActiveCfg = Debug|Win32 19 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x86.Build.0 = Debug|Win32 20 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x64.ActiveCfg = Release|x64 21 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x64.Build.0 = Release|x64 22 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x86.ActiveCfg = Release|Win32 23 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/ifelse/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | uint32_t yas = 0; 7 | 8 | printf("Yasinizi giriniz:\n"); 9 | scanf("%d",&yas); 10 | 11 | if (yas < 18) 12 | { 13 | printf("Cocuk!\n"); 14 | } 15 | else if (yas >= 18 && yas < 35) 16 | { 17 | printf("Genc!\n"); 18 | } 19 | else if (yas >= 35 && yas < 60) 20 | { 21 | printf("Orta Yas!\n"); 22 | } 23 | else if (yas >= 60) 24 | { 25 | printf("Yasli!\n"); 26 | } 27 | return 0; 28 | } 29 | 30 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/switch-case/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | uint32_t secim = 0; 7 | 8 | printf("1: MENU1\n"); 9 | printf("2: MENU2\n"); 10 | printf("3: MENU3\n"); 11 | printf("4: MENU4\n"); 12 | printf("5: CIKIS\n"); 13 | 14 | 15 | 16 | while (1) { 17 | printf("Seciminizi giriniz:\n"); 18 | scanf("%d", &secim); 19 | switch (secim) 20 | { 21 | case 1: 22 | printf("MENU1!\n"); 23 | return 0; 24 | break; 25 | case 2: 26 | printf("MENU2!\n"); 27 | return 0; 28 | break; 29 | case 3: 30 | printf("MENU3!\n"); 31 | return 0; 32 | break; 33 | case 4: 34 | printf("MENU4!\n"); 35 | return 0; 36 | break; 37 | case 5: 38 | // CIKIS 39 | return 0; 40 | break; 41 | default: 42 | printf("yanlis secim!\n"); 43 | break; 44 | } 45 | 46 | } 47 | 48 | return 0; 49 | } 50 | 51 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/switch-case/switchcase.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "switchcase", "switchcase.vcxproj", "{02B84294-0359-470C-900A-A12DA5E3E9E5}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x64.ActiveCfg = Debug|x64 17 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x64.Build.0 = Debug|x64 18 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x86.ActiveCfg = Debug|Win32 19 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x86.Build.0 = Debug|Win32 20 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x64.ActiveCfg = Release|x64 21 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x64.Build.0 = Release|x64 22 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x86.ActiveCfg = Release|Win32 23 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/switch-case2/Debug/switchcase.log: -------------------------------------------------------------------------------- 1 |  main.c 2 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\kontrolyapilaridonguler\switch-case\main.c(18): warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 3 | c:\program files (x86)\windows kits\10\include\10.0.15063.0\ucrt\stdio.h(1272): note: see declaration of 'scanf' 4 | switchcase.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\KontrolYapilariDonguler\switch-case\Debug\switchcase.exe 5 | switchcase.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\KontrolYapilariDonguler\switch-case\Debug\switchcase.pdb (Partial PDB) 6 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/switch-case2/Debug/switchcase.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/switch-case2/Debug/switchcase.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/switch-case2/Debug/switchcase.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/switch-case2/Debug/switchcase.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/switch-case2/Debug/switchcase.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/switch-case2/Debug/switchcase.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/switch-case2/Debug/switchcase.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/switch-case2/Debug/switchcase.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/switch-case2/Debug/switchcase.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/switch-case2/Debug/switchcase.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/switch-case2/Debug/switchcase.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/switch-case2/Debug/switchcase.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/switch-case2/Debug/switchcase.tlog/switchcase.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.15063.0 2 | Debug|Win32|D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\KontrolYapilariDonguler\switch-case2\| 3 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/switch-case2/Debug/switchcase2.log: -------------------------------------------------------------------------------- 1 | C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(387,5): warning MSB8028: The intermediate directory (Debug\) contains files shared from another project (switchcase.vcxproj). This can lead to incorrect clean and rebuild behavior. 2 | main.c 3 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\kontrolyapilaridonguler\switch-case2\main.c(9): warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 4 | c:\program files (x86)\windows kits\10\include\10.0.15063.0\ucrt\stdio.h(1272): note: see declaration of 'scanf' 5 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\kontrolyapilaridonguler\switch-case2\main.c(12): warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 6 | c:\program files (x86)\windows kits\10\include\10.0.15063.0\ucrt\stdio.h(1272): note: see declaration of 'scanf' 7 | switchcase2.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\KontrolYapilariDonguler\switch-case2\Debug\switchcase2.exe 8 | switchcase2.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\KontrolYapilariDonguler\switch-case2\Debug\switchcase2.pdb (Partial PDB) 9 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/switch-case2/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | 5 | char operator; 6 | double firstNumber, secondNumber; 7 | 8 | printf("Enter an operator (+, -, *,): "); 9 | scanf("%c", &operator); 10 | 11 | printf("Enter two operands: "); 12 | scanf("%lf %lf", &firstNumber, &secondNumber); 13 | 14 | switch (operator) 15 | { 16 | case '+': 17 | printf("%.4lf + %.4lf = %.4lf\n", firstNumber, secondNumber, firstNumber + secondNumber); 18 | break; 19 | 20 | case '-': 21 | printf("%.1lf - %.1lf = %.1lf\n", firstNumber, secondNumber, firstNumber - secondNumber); 22 | break; 23 | 24 | case '*': 25 | printf("%.1lf * %.1lf = %.1lf \n", firstNumber, secondNumber, firstNumber * secondNumber); 26 | break; 27 | 28 | case '/': 29 | printf("%.1lf / %.1lf = %.1lf \n", firstNumber, secondNumber, firstNumber / firstNumber); 30 | break; 31 | 32 | // operator doesn't match any case constant (+, -, *, /) 33 | default: 34 | printf("Error! operator is not correct"); 35 | } 36 | 37 | return 0; 38 | } -------------------------------------------------------------------------------- /KontrolYapilariDonguler/switch-case2/switchcase2.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "switchcase2", "switchcase2.vcxproj", "{02B84294-0359-470C-900A-A12DA5E3E9E5}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x64.ActiveCfg = Debug|x64 17 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x64.Build.0 = Debug|x64 18 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x86.ActiveCfg = Debug|Win32 19 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x86.Build.0 = Debug|Win32 20 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x64.ActiveCfg = Release|x64 21 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x64.Build.0 = Release|x64 22 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x86.ActiveCfg = Release|Win32 23 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/while/Debug/while.log: -------------------------------------------------------------------------------- 1 |  main.c 2 | while.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\KontrolYapilariDonguler\while\Debug\while.exe 3 | while.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\KontrolYapilariDonguler\while\Debug\while.pdb (Partial PDB) 4 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/while/Debug/while.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/while/Debug/while.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/while/Debug/while.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/while/Debug/while.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/while/Debug/while.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/while/Debug/while.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/while/Debug/while.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/while/Debug/while.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/while/Debug/while.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/while/Debug/while.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/while/Debug/while.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/KontrolYapilariDonguler/while/Debug/while.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /KontrolYapilariDonguler/while/Debug/while.tlog/while.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.15063.0 2 | Debug|Win32|D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\KontrolYapilariDonguler\while\| 3 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/while/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | uint32_t i = 0; 7 | 8 | i = 0; 9 | 10 | while (i < 10) 11 | { 12 | printf("%d DONGU\n", i); 13 | i++; 14 | } 15 | 16 | printf("i nin degeri=%d", i); 17 | return 0; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /KontrolYapilariDonguler/while/while.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "while", "while.vcxproj", "{02B84294-0359-470C-900A-A12DA5E3E9E5}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x64.ActiveCfg = Debug|x64 17 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x64.Build.0 = Debug|x64 18 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x86.ActiveCfg = Debug|Win32 19 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Debug|x86.Build.0 = Debug|Win32 20 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x64.ActiveCfg = Release|x64 21 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x64.Build.0 = Release|x64 22 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x86.ActiveCfg = Release|Win32 23 | {02B84294-0359-470C-900A-A12DA5E3E9E5}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /Moduler/.vs/moduler/v15/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Moduler/.vs/moduler/v15/.suo -------------------------------------------------------------------------------- /Moduler/.vs/moduler/v15/Browse.VC.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Moduler/.vs/moduler/v15/Browse.VC.db -------------------------------------------------------------------------------- /Moduler/ekran.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "ekran.h" 3 | 4 | 5 | 6 | void lcd_driver_init() 7 | { 8 | printf("lcd init OK\n"); 9 | } 10 | 11 | void lcd_driver_print(float temp) 12 | { 13 | printf("Sicaklik:%f\n",temp); 14 | } 15 | -------------------------------------------------------------------------------- /Moduler/ekran.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Moduler/ekran.h -------------------------------------------------------------------------------- /Moduler/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Moduler/main.c -------------------------------------------------------------------------------- /Moduler/moduler.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Moduler", "moduler.vcxproj", "{DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}.Debug|x64.ActiveCfg = Debug|x64 17 | {DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}.Debug|x64.Build.0 = Debug|x64 18 | {DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}.Debug|x86.ActiveCfg = Debug|Win32 19 | {DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}.Debug|x86.Build.0 = Debug|Win32 20 | {DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}.Release|x64.ActiveCfg = Release|x64 21 | {DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}.Release|x64.Build.0 = Release|x64 22 | {DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}.Release|x86.ActiveCfg = Release|Win32 23 | {DE26B2E2-A1B2-4A2E-A429-ABA5B2D57F4F}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /Moduler/motor_kontrol.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "motor_kontrol.h" 3 | 4 | 5 | void motor_driver_init() 6 | { 7 | printf("motor init OK\n"); 8 | } 9 | 10 | 11 | void motor_driver_start() 12 | { 13 | printf("motor started OK\n"); 14 | 15 | } 16 | 17 | void motor_driver_stop() 18 | { 19 | printf("motor stoped OK\n"); 20 | } 21 | 22 | 23 | void motor_driver_set_speed(int speed) 24 | { 25 | printf("motor speed: %d OK\n",speed); 26 | } 27 | -------------------------------------------------------------------------------- /Moduler/motor_kontrol.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Moduler/motor_kontrol.h -------------------------------------------------------------------------------- /Moduler/sicaklik_sensor.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "sicaklik_sensor.h" 3 | 4 | 5 | float sicak_degerler[5] = {10.1,10.2,25.6,21.4,20.0}; 6 | 7 | int temp_status = 0; 8 | 9 | void temp_sensor_init() 10 | { 11 | printf("temp sensor init OK\n"); 12 | } 13 | 14 | float temp_sensor_get_temp() 15 | { 16 | static int sayac = 0; 17 | float sicaklik = 0.0; 18 | 19 | sicaklik = sicak_degerler[sayac]; 20 | sayac++; 21 | 22 | if(sayac == 5) 23 | { 24 | sayac = 0; 25 | } 26 | 27 | return sicaklik; 28 | } 29 | 30 | void temp_sensor_power_off() 31 | { 32 | printf("temp sensor power off OK\n"); 33 | temp_status = 0; 34 | } 35 | 36 | void temp_sensor_power_on() 37 | { 38 | printf("temp sensor power on OK\n"); 39 | temp_status = 1; 40 | } 41 | 42 | void temp_sensor_calibrate() 43 | { 44 | printf("temp sensor calibrated OK\n"); 45 | } 46 | 47 | int temp_sensor_get_status() 48 | { 49 | return temp_status; 50 | } 51 | -------------------------------------------------------------------------------- /Moduler/sicaklik_sensor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/Moduler/sicaklik_sensor.h -------------------------------------------------------------------------------- /bit işlemleri/bit_islemler1/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/bit işlemleri/bit_islemler1/main.c -------------------------------------------------------------------------------- /bit işlemleri/bit_islemler2/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/bit işlemleri/bit_islemler2/main.c -------------------------------------------------------------------------------- /bit işlemleri/bit_islemler3/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/bit işlemleri/bit_islemler3/main.c -------------------------------------------------------------------------------- /c_preprocessor/define_kullanimi_makro/define.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "macro", "define.vcxproj", "{24434A30-EA37-4429-95C4-3CB53E0A123C}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Debug|x64.ActiveCfg = Debug|x64 17 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Debug|x64.Build.0 = Debug|x64 18 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Debug|x86.ActiveCfg = Debug|Win32 19 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Debug|x86.Build.0 = Debug|Win32 20 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Release|x64.ActiveCfg = Release|x64 21 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Release|x64.Build.0 = Release|x64 22 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Release|x86.ActiveCfg = Release|Win32 23 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /c_preprocessor/define_kullanimi_makro/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | 5 | #define AreaofCircle(r) (3.1415*r*r) 6 | 7 | 8 | int main() 9 | { 10 | int rad = 3; 11 | 12 | 13 | printf("daire alani = %f", AreaofCircle(3)); 14 | 15 | return 0; 16 | } 17 | 18 | 19 | -------------------------------------------------------------------------------- /c_preprocessor/define_kullanimi_sabit_tanimlama/define.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Sabitler", "define.vcxproj", "{24434A30-EA37-4429-95C4-3CB53E0A123C}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Debug|x64.ActiveCfg = Debug|x64 17 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Debug|x64.Build.0 = Debug|x64 18 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Debug|x86.ActiveCfg = Debug|Win32 19 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Debug|x86.Build.0 = Debug|Win32 20 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Release|x64.ActiveCfg = Release|x64 21 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Release|x64.Build.0 = Release|x64 22 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Release|x86.ActiveCfg = Release|Win32 23 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /c_preprocessor/define_kullanimi_sabit_tanimlama/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define ARRAY_SIZE 20 5 | 6 | int main() 7 | { 8 | 9 | int array[ARRAY_SIZE]; 10 | int i = 0; 11 | 12 | for (i = 0; i < ARRAY_SIZE; i++) 13 | { 14 | array[i] = i; 15 | } 16 | 17 | for (i = 0; i < ARRAY_SIZE; i++) 18 | { 19 | printf("Array[%d] = %d\n", i, array[i]); 20 | } 21 | 22 | return 0; 23 | } 24 | 25 | 26 | -------------------------------------------------------------------------------- /c_preprocessor/define_kullanimi_sartli_derleme/define.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "define_conditional_compilation", "define.vcxproj", "{24434A30-EA37-4429-95C4-3CB53E0A123C}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Debug|x64.ActiveCfg = Debug|x64 17 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Debug|x64.Build.0 = Debug|x64 18 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Debug|x86.ActiveCfg = Debug|Win32 19 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Debug|x86.Build.0 = Debug|Win32 20 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Release|x64.ActiveCfg = Release|x64 21 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Release|x64.Build.0 = Release|x64 22 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Release|x86.ActiveCfg = Release|Win32 23 | {24434A30-EA37-4429-95C4-3CB53E0A123C}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /c_preprocessor/define_kullanimi_sartli_derleme/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define PROGRAM1 5 | 6 | #ifdef PROGRAM1 7 | 8 | int main() 9 | { 10 | printf("PROGRAM 1 \n"); 11 | return 0; 12 | } 13 | 14 | 15 | 16 | #elif PROGRAM2 17 | int main() 18 | { 19 | printf("PROGRAM 2 \n"); 20 | 21 | return 0; 22 | } 23 | 24 | #else 25 | #error PROGRAM TANIMI YAPILMADI! 26 | #endif 27 | 28 | -------------------------------------------------------------------------------- /isaretciler/isaretciler1/Debug/fonksiyonornek1.log: -------------------------------------------------------------------------------- 1 |  main.c 2 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler1\main.c(14): warning C4477: 'printf' : format string '%x' requires an argument of type 'unsigned int', but variadic argument 1 has type 'int *' 3 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler1\main.c(15): warning C4477: 'printf' : format string '%x' requires an argument of type 'unsigned int', but variadic argument 1 has type 'int *' 4 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler1\main.c(21): warning C4477: 'printf' : format string '%x' requires an argument of type 'unsigned int', but variadic argument 1 has type 'int *' 5 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler1\main.c(22): warning C4477: 'printf' : format string '%x' requires an argument of type 'unsigned int', but variadic argument 1 has type 'int *' 6 | fonksiyonornek1.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\Debug\isaretciler-1.exe 7 | fonksiyonornek1.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\Debug\isaretciler-1.pdb (Partial PDB) 8 | -------------------------------------------------------------------------------- /isaretciler/isaretciler1/Debug/isaretciler-1.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler1/Debug/isaretciler-1.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler1/Debug/isaretciler-1.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler1/Debug/isaretciler-1.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler1/Debug/isaretciler-1.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler1/Debug/isaretciler-1.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler1/Debug/isaretciler-1.tlog/isaretciler-1.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.15063.0 2 | Debug|Win32|D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\| 3 | -------------------------------------------------------------------------------- /isaretciler/isaretciler1/Debug/isaretciler-1.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler1/Debug/isaretciler-1.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler1/Debug/isaretciler-1.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler1/Debug/isaretciler-1.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler1/Debug/isaretciler-1.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler1/Debug/isaretciler-1.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler1/Debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler1/Debug/main.obj -------------------------------------------------------------------------------- /isaretciler/isaretciler1/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler1/main.c -------------------------------------------------------------------------------- /isaretciler/isaretciler2/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | /* 3 | NULL Pointer 4 | 5 | */ 6 | int main() { 7 | 8 | int *ptr = NULL; 9 | 10 | printf("Pointer degeri : %x\n", ptr); 11 | 12 | return 0; 13 | } 14 | -------------------------------------------------------------------------------- /isaretciler/isaretciler3/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler3/main.c -------------------------------------------------------------------------------- /isaretciler/isaretciler4/Debug/isaretciler-4.Build.CppClean.log: -------------------------------------------------------------------------------- 1 | d:\dropbox\eğıtımler\eğıtım içerıklerı\c programlama eğıtımı\ornekler\cprogramlamaorneklerı\ısaretcıler\ısaretcıler4\debug\vc141.pdb 2 | d:\dropbox\eğıtımler\eğıtım içerıklerı\c programlama eğıtımı\ornekler\cprogramlamaorneklerı\ısaretcıler\ısaretcıler4\debug\vc141.ıdb 3 | d:\dropbox\eğıtımler\eğıtım içerıklerı\c programlama eğıtımı\ornekler\cprogramlamaorneklerı\ısaretcıler\ısaretcıler4\debug\maın.obj 4 | d:\dropbox\eğıtımler\eğıtım içerıklerı\c programlama eğıtımı\ornekler\cprogramlamaorneklerı\debug\ısaretcıler-4.ılk 5 | d:\dropbox\eğıtımler\eğıtım içerıklerı\c programlama eğıtımı\ornekler\cprogramlamaorneklerı\debug\ısaretcıler-4.exe 6 | d:\dropbox\eğıtımler\eğıtım içerıklerı\c programlama eğıtımı\ornekler\cprogramlamaorneklerı\debug\ısaretcıler-4.pdb 7 | d:\dropbox\eğitimler\eğitim içerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\debug\main.obj 8 | d:\dropbox\eğitimler\eğitim içerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\debug\vc141.idb 9 | d:\dropbox\eğitimler\eğitim içerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\debug\vc141.pdb 10 | d:\dropbox\eğitimler\eğitim içerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\debug\isaretciler-4.pdb 11 | d:\dropbox\eğitimler\eğitim içerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\debug\isaretciler-4.exe 12 | d:\dropbox\eğitimler\eğitim içerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\debug\isaretciler-4.ilk 13 | d:\dropbox\eğitimler\eğitim içerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\debug\isaretciler-4.tlog\cl.command.1.tlog 14 | d:\dropbox\eğitimler\eğitim içerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\debug\isaretciler-4.tlog\cl.read.1.tlog 15 | d:\dropbox\eğitimler\eğitim içerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\debug\isaretciler-4.tlog\cl.write.1.tlog 16 | d:\dropbox\eğitimler\eğitim içerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\debug\isaretciler-4.tlog\link.command.1.tlog 17 | d:\dropbox\eğitimler\eğitim içerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\debug\isaretciler-4.tlog\link.read.1.tlog 18 | d:\dropbox\eğitimler\eğitim içerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\debug\isaretciler-4.tlog\link.write.1.tlog 19 | -------------------------------------------------------------------------------- /isaretciler/isaretciler4/Debug/isaretciler-4.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler4/Debug/isaretciler-4.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler4/Debug/isaretciler-4.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler4/Debug/isaretciler-4.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler4/Debug/isaretciler-4.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler4/Debug/isaretciler-4.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler4/Debug/isaretciler-4.tlog/isaretciler-4.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.15063.0 2 | Debug|Win32|D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\| 3 | -------------------------------------------------------------------------------- /isaretciler/isaretciler4/Debug/isaretciler-4.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler4/Debug/isaretciler-4.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler4/Debug/isaretciler-4.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler4/Debug/isaretciler-4.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler4/Debug/isaretciler-4.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler4/Debug/isaretciler-4.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler4/Debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler4/Debug/main.obj -------------------------------------------------------------------------------- /isaretciler/isaretciler4/Debug/pointer_aritmetik_2.log: -------------------------------------------------------------------------------- 1 |  main.c 2 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\main.c(9): warning C4305: 'initializing': truncation from 'double' to 'float' 3 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\main.c(24): warning C4477: 'printf' : format string '%d' requires an argument of type 'int', but variadic argument 1 has type 'char *' 4 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\main.c(25): warning C4477: 'printf' : format string '%d' requires an argument of type 'int', but variadic argument 1 has type 'int *' 5 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\main.c(26): warning C4477: 'printf' : format string '%d' requires an argument of type 'int', but variadic argument 1 has type 'float *' 6 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\main.c(27): warning C4477: 'printf' : format string '%d' requires an argument of type 'int', but variadic argument 1 has type 'double *' 7 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\main.c(39): warning C4477: 'printf' : format string '%d' requires an argument of type 'int', but variadic argument 1 has type 'char *' 8 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\main.c(40): warning C4477: 'printf' : format string '%d' requires an argument of type 'int', but variadic argument 1 has type 'int *' 9 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\main.c(41): warning C4477: 'printf' : format string '%d' requires an argument of type 'int', but variadic argument 1 has type 'float *' 10 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\isaretciler\isaretciler4\main.c(42): warning C4477: 'printf' : format string '%d' requires an argument of type 'int', but variadic argument 1 has type 'double *' 11 | pointer_aritmetik_2.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\Debug\isaretciler-4.exe 12 | pointer_aritmetik_2.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\Debug\isaretciler-4.pdb (Partial PDB) 13 | -------------------------------------------------------------------------------- /isaretciler/isaretciler4/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler4/main.c -------------------------------------------------------------------------------- /isaretciler/isaretciler5/Debug/isaretci.F9C1043C.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler5/Debug/isaretci.F9C1043C.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler5/Debug/isaretci.F9C1043C.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler5/Debug/isaretci.F9C1043C.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler5/Debug/isaretci.F9C1043C.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler5/Debug/isaretci.F9C1043C.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler5/Debug/isaretci.F9C1043C.tlog/isaretciler-referans.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.15063.0 2 | Debug|Win32|D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\| 3 | -------------------------------------------------------------------------------- /isaretciler/isaretciler5/Debug/isaretci.F9C1043C.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler5/Debug/isaretci.F9C1043C.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler5/Debug/isaretci.F9C1043C.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler5/Debug/isaretci.F9C1043C.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler5/Debug/isaretci.F9C1043C.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler5/Debug/isaretci.F9C1043C.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /isaretciler/isaretciler5/Debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler5/Debug/main.obj -------------------------------------------------------------------------------- /isaretciler/isaretciler5/Debug/pointer_fonksiyon.log: -------------------------------------------------------------------------------- 1 |  main.c 2 | pointer_fonksiyon.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\Debug\isaretciler-referans.exe 3 | pointer_fonksiyon.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\Debug\isaretciler-referans.pdb (Partial PDB) 4 | -------------------------------------------------------------------------------- /isaretciler/isaretciler5/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler5/main.c -------------------------------------------------------------------------------- /isaretciler/isaretciler6/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler6/main.c -------------------------------------------------------------------------------- /isaretciler/isaretciler7/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/isaretciler/isaretciler7/main.c -------------------------------------------------------------------------------- /yapilar/Enum1/enum1.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {049657CC-CFE0-408B-9B4C-30906F6D42F6} 23 | Win32Proj 24 | ConsoleApplication1 25 | 10.0.15063.0 26 | enum 27 | 28 | 29 | 30 | Application 31 | true 32 | v141 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v141 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v141 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v141 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | true 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | 85 | 86 | 87 | 88 | 89 | Level3 90 | Disabled 91 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | CompileAsC 93 | 94 | 95 | Console 96 | true 97 | 98 | 99 | 100 | 101 | 102 | 103 | Level3 104 | Disabled 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | 107 | 108 | Console 109 | true 110 | 111 | 112 | 113 | 114 | Level3 115 | 116 | 117 | MaxSpeed 118 | true 119 | true 120 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 121 | CompileAsC 122 | 123 | 124 | Console 125 | true 126 | true 127 | true 128 | 129 | 130 | 131 | 132 | Level3 133 | 134 | 135 | MaxSpeed 136 | true 137 | true 138 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 139 | 140 | 141 | Console 142 | true 143 | true 144 | true 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /yapilar/Enum1/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Enum1/main.c -------------------------------------------------------------------------------- /yapilar/Union1/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Union1/main.c -------------------------------------------------------------------------------- /yapilar/Union1/union.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Union-1", "union.vcxproj", "{049657CC-CFE0-408B-9B4C-30906F6D42F6}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {049657CC-CFE0-408B-9B4C-30906F6D42F6}.Debug|x64.ActiveCfg = Debug|x64 17 | {049657CC-CFE0-408B-9B4C-30906F6D42F6}.Debug|x64.Build.0 = Debug|x64 18 | {049657CC-CFE0-408B-9B4C-30906F6D42F6}.Debug|x86.ActiveCfg = Debug|Win32 19 | {049657CC-CFE0-408B-9B4C-30906F6D42F6}.Debug|x86.Build.0 = Debug|Win32 20 | {049657CC-CFE0-408B-9B4C-30906F6D42F6}.Release|x64.ActiveCfg = Release|x64 21 | {049657CC-CFE0-408B-9B4C-30906F6D42F6}.Release|x64.Build.0 = Release|x64 22 | {049657CC-CFE0-408B-9B4C-30906F6D42F6}.Release|x86.ActiveCfg = Release|Win32 23 | {049657CC-CFE0-408B-9B4C-30906F6D42F6}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /yapilar/Union1/union.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {049657CC-CFE0-408B-9B4C-30906F6D42F6} 23 | Win32Proj 24 | ConsoleApplication1 25 | 10.0.15063.0 26 | Union-1 27 | 28 | 29 | 30 | Application 31 | true 32 | v141 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v141 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v141 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v141 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | true 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | 85 | 86 | 87 | 88 | 89 | Level3 90 | Disabled 91 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | CompileAsC 93 | 94 | 95 | Console 96 | true 97 | 98 | 99 | 100 | 101 | 102 | 103 | Level3 104 | Disabled 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | 107 | 108 | Console 109 | true 110 | 111 | 112 | 113 | 114 | Level3 115 | 116 | 117 | MaxSpeed 118 | true 119 | true 120 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 121 | CompileAsC 122 | 123 | 124 | Console 125 | true 126 | true 127 | true 128 | 129 | 130 | 131 | 132 | Level3 133 | 134 | 135 | MaxSpeed 136 | true 137 | true 138 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 139 | 140 | 141 | Console 142 | true 143 | true 144 | true 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /yapilar/Yapilar1/Debug/Yapilar1.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Yapilar1/Debug/Yapilar1.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /yapilar/Yapilar1/Debug/Yapilar1.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Yapilar1/Debug/Yapilar1.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /yapilar/Yapilar1/Debug/Yapilar1.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Yapilar1/Debug/Yapilar1.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /yapilar/Yapilar1/Debug/Yapilar1.tlog/Yapilar1.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.15063.0 2 | Debug|Win32|D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\| 3 | -------------------------------------------------------------------------------- /yapilar/Yapilar1/Debug/Yapilar1.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Yapilar1/Debug/Yapilar1.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /yapilar/Yapilar1/Debug/Yapilar1.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Yapilar1/Debug/Yapilar1.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /yapilar/Yapilar1/Debug/Yapilar1.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Yapilar1/Debug/Yapilar1.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /yapilar/Yapilar1/Debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Yapilar1/Debug/main.obj -------------------------------------------------------------------------------- /yapilar/Yapilar1/Debug/yapilar1.log: -------------------------------------------------------------------------------- 1 |  main.c 2 | LINK : D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\Debug\Yapilar1.exe not found or not built by the last incremental link; performing full link 3 | yapilar1.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\Debug\Yapilar1.exe 4 | yapilar1.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\Debug\Yapilar1.pdb (Partial PDB) 5 | -------------------------------------------------------------------------------- /yapilar/Yapilar1/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Yapilar1/main.c -------------------------------------------------------------------------------- /yapilar/Yapilar2/Debug/Yapilar2.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Yapilar2/Debug/Yapilar2.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /yapilar/Yapilar2/Debug/Yapilar2.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Yapilar2/Debug/Yapilar2.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /yapilar/Yapilar2/Debug/Yapilar2.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Yapilar2/Debug/Yapilar2.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /yapilar/Yapilar2/Debug/Yapilar2.tlog/Yapilar2.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.15063.0 2 | Debug|Win32|D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\| 3 | -------------------------------------------------------------------------------- /yapilar/Yapilar2/Debug/yapilar2.log: -------------------------------------------------------------------------------- 1 |  main.c 2 | d:\dropbox\eğitimler\eğitim İçerikleri\c programlama eğitimi\ornekler\cprogramlamaornekleri\yapilar\yapilar2\main.c(23): warning C4305: '=': truncation from 'double' to 'float' 3 | yapilar2.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\Debug\Yapilar2.exe 4 | yapilar2.vcxproj -> D:\Dropbox\Eğitimler\Eğitim İçerikleri\C Programlama Eğitimi\Ornekler\CprogramlamaOrnekleri\Debug\Yapilar2.pdb (Partial PDB) 5 | -------------------------------------------------------------------------------- /yapilar/Yapilar2/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Yapilar2/main.c -------------------------------------------------------------------------------- /yapilar/Yapilar3/Yapilar3.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Yapilar3", "Yapilar3.vcxproj", "{03B37538-F52A-4E31-ADBB-FB785231F9C6}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {03B37538-F52A-4E31-ADBB-FB785231F9C6}.Debug|x64.ActiveCfg = Debug|x64 17 | {03B37538-F52A-4E31-ADBB-FB785231F9C6}.Debug|x64.Build.0 = Debug|x64 18 | {03B37538-F52A-4E31-ADBB-FB785231F9C6}.Debug|x86.ActiveCfg = Debug|Win32 19 | {03B37538-F52A-4E31-ADBB-FB785231F9C6}.Debug|x86.Build.0 = Debug|Win32 20 | {03B37538-F52A-4E31-ADBB-FB785231F9C6}.Release|x64.ActiveCfg = Release|x64 21 | {03B37538-F52A-4E31-ADBB-FB785231F9C6}.Release|x64.Build.0 = Release|x64 22 | {03B37538-F52A-4E31-ADBB-FB785231F9C6}.Release|x86.ActiveCfg = Release|Win32 23 | {03B37538-F52A-4E31-ADBB-FB785231F9C6}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /yapilar/Yapilar3/Yapilar3.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | 23 | 24 | Source Files 25 | 26 | 27 | -------------------------------------------------------------------------------- /yapilar/Yapilar3/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Yapilar3/main.c -------------------------------------------------------------------------------- /yapilar/Yapilar3/typedefs.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | typedef struct ogrenci_s { 5 | int no; 6 | int yas; 7 | char isim[10]; 8 | enum ogrenciDurum durum; 9 | }ogrenci_t; 10 | 11 | 12 | enum ogrenciDurum {DURUM_KAYITLI,DURUM_NAKIL, DURUM_MEZUN}; -------------------------------------------------------------------------------- /yapilar/Yapilar3/yapilar3.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 15.0 29 | {03B37538-F52A-4E31-ADBB-FB785231F9C6} 30 | Win32Proj 31 | Yapilar3 32 | 10.0.15063.0 33 | Yapilar3 34 | 35 | 36 | 37 | Application 38 | true 39 | v141 40 | Unicode 41 | 42 | 43 | Application 44 | false 45 | v141 46 | true 47 | Unicode 48 | 49 | 50 | Application 51 | true 52 | v141 53 | Unicode 54 | 55 | 56 | Application 57 | false 58 | v141 59 | true 60 | Unicode 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | true 82 | 83 | 84 | true 85 | 86 | 87 | false 88 | 89 | 90 | false 91 | 92 | 93 | 94 | 95 | 96 | Level3 97 | Disabled 98 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 99 | 100 | 101 | Console 102 | 103 | 104 | 105 | 106 | 107 | 108 | Level3 109 | Disabled 110 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 111 | 112 | 113 | Console 114 | 115 | 116 | 117 | 118 | Level3 119 | 120 | 121 | MaxSpeed 122 | true 123 | true 124 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 125 | 126 | 127 | Console 128 | true 129 | true 130 | 131 | 132 | 133 | 134 | Level3 135 | 136 | 137 | MaxSpeed 138 | true 139 | true 140 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 141 | 142 | 143 | Console 144 | true 145 | true 146 | 147 | 148 | 149 | 150 | 151 | -------------------------------------------------------------------------------- /yapilar/Yapilar4/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Yapilar4/main.c -------------------------------------------------------------------------------- /yapilar/Yapilar4/yapilar4.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Yapilar4", "yapilar4.vcxproj", "{3A538B58-E4B0-49AB-B2CB-7E94EB581D8D}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {3A538B58-E4B0-49AB-B2CB-7E94EB581D8D}.Debug|x64.ActiveCfg = Debug|x64 17 | {3A538B58-E4B0-49AB-B2CB-7E94EB581D8D}.Debug|x64.Build.0 = Debug|x64 18 | {3A538B58-E4B0-49AB-B2CB-7E94EB581D8D}.Debug|x86.ActiveCfg = Debug|Win32 19 | {3A538B58-E4B0-49AB-B2CB-7E94EB581D8D}.Debug|x86.Build.0 = Debug|Win32 20 | {3A538B58-E4B0-49AB-B2CB-7E94EB581D8D}.Release|x64.ActiveCfg = Release|x64 21 | {3A538B58-E4B0-49AB-B2CB-7E94EB581D8D}.Release|x64.Build.0 = Release|x64 22 | {3A538B58-E4B0-49AB-B2CB-7E94EB581D8D}.Release|x86.ActiveCfg = Release|Win32 23 | {3A538B58-E4B0-49AB-B2CB-7E94EB581D8D}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /yapilar/Yapilar5/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Yapilar5/main.c -------------------------------------------------------------------------------- /yapilar/Yapilar5/ogrenciKayit.c: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "ogrenciKayit.h" 3 | 4 | void ogrenci_ismi_kaydet(ogrenci_t* pOgrenci, char* isim, int32_t len) 5 | { 6 | memcpy(pOgrenci->isim, isim, len); 7 | } 8 | 9 | void ogrenci_yas_kaydet(ogrenci_t* pOgrenci, int yas) 10 | { 11 | pOgrenci->yas = yas; 12 | } 13 | 14 | 15 | void ogrenci_no_kaydet(ogrenci_t* pOgrenci, int no) 16 | { 17 | pOgrenci->no = no; 18 | } 19 | 20 | 21 | void ogrenci_durum_kaydet(ogrenci_t* pOgrenci, enum ogrenciDurum durum) 22 | { 23 | pOgrenci->durum = durum; 24 | } 25 | 26 | void ogrenci_durum_yazdir(ogrenci_t* pOgrenci) 27 | { 28 | switch (pOgrenci->durum) 29 | { 30 | 31 | case DURUM_KAYITLI: 32 | printf("Durum: DURUM_KAYITLI\n"); 33 | break; 34 | case DURUM_MEZUN: 35 | printf("Durum: DURUM_MEZUN\n"); 36 | break; 37 | case DURUM_NAKIL: 38 | printf("Durum: DURUM_NAKIL\n"); 39 | break; 40 | default: 41 | break; 42 | } 43 | 44 | } -------------------------------------------------------------------------------- /yapilar/Yapilar5/ogrenciKayit.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "typedefs.h" 3 | #include 4 | 5 | void ogrenci_ismi_kaydet(ogrenci_t* pOgrenci, char* isim, int32_t len); 6 | void ogrenci_no_kaydet(ogrenci_t* pOgrenci, int no); 7 | void ogrenci_yas_kaydet(ogrenci_t* pOgrenci, int yas); 8 | void ogrenci_durum_kaydet(ogrenci_t* pOgrenci, enum ogrenciDurum durum); 9 | void ogrenci_durum_yazdir(ogrenci_t* pOgrenci); -------------------------------------------------------------------------------- /yapilar/Yapilar5/typedefs.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | typedef struct ogrenci_s { 5 | int no; 6 | int yas; 7 | char isim[10]; 8 | enum ogrenciDurum durum; 9 | }ogrenci_t; 10 | 11 | 12 | enum ogrenciDurum {DURUM_KAYITLI,DURUM_NAKIL, DURUM_MEZUN}; -------------------------------------------------------------------------------- /yapilar/Yapilar6/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Yapilar6/main.c -------------------------------------------------------------------------------- /yapilar/Yapilar7/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctasdemir/CProgramlamaOrnekleri/f6f534358b679c958f5e0d08cc6c01ab6b04cf4f/yapilar/Yapilar7/main.c --------------------------------------------------------------------------------