<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9103111626363143916</id><updated>2024-11-01T03:37:26.874-07:00</updated><category term="c dili"/><category term="c programı"/><category term="C Programlama"/><category term="C dersleri"/><category term="cprogramlama"/><category term="fonksiyon"/><category term="c uygulama"/><category term="pointer"/><category term="c"/><category term="c dizi değişkenler"/><category term="c veri yapıları"/><category term="dizi ve pointerlaripointer aritmetiği"/><category term="döngüler"/><category term="c de değişkenler"/><category term="c de karakterler"/><category term="c de kullanıcı"/><category term="c de matris"/><category term="c derlemek"/><category term="c harfler"/><category term="c proggraming"/><category term="c örnek"/><category term="c öğren"/><category term="c++"/><category term="değişkenler"/><category term="dinamik dizi"/><category term="döngü"/><category term="ekrana yazı yazdırmak"/><category term="faktoriyel programı"/><category term="getch"/><category term="gösterici"/><category term="ms sql"/><category term="while"/><category term="adres"/><category term="adres of"/><category term="adresleme"/><category term="alloc"/><category term="allocate"/><category term="alter"/><category term="break"/><category term="büyük harfi küçük harfe çevirmek"/><category term="c algoritmalar"/><category term="c char"/><category term="c de iç içe döngüler"/><category term="c dilinde değişkenler"/><category term="c dilinde string değer"/><category term="c fonksiyonları"/><category term="c kodlama"/><category term="c kodları"/><category term="c pointer ve structurelar"/><category term="c program geliştirmek"/><category term="c programlamada structurelar"/><category term="c programlamada yapılar"/><category term="c programlma"/><category term="c rand"/><category term="c structures"/><category term="c örnekleri"/><category term="c örneği"/><category term="c&#39;de derleme"/><category term="case"/><category term="cdili"/><category term="char"/><category term="collaction"/><category term="continue"/><category term="degisken adresleri"/><category term="dev-C++"/><category term="devam"/><category term="dinamik"/><category term="dinamik dizi uygulaması"/><category term="dizi"/><category term="dizi adresi göndermek"/><category term="dizi değişkenler"/><category term="dizi göndermek"/><category term="do"/><category term="float"/><category term="floyd üçgeni"/><category term="fonksiyonlar"/><category term="for"/><category term="for döngüsü"/><category term="goto"/><category term="göstericiler"/><category term="hafıza ile çalışmak"/><category term="if yapisi"/><category term="karakter almak"/><category term="karakter değişkenler"/><category term="kolay c"/><category term="koşul sart"/><category term="kullanıcan değer almak"/><category term="kır"/><category term="label"/><category term="linux"/><category term="malloc"/><category term="matematiksel işlemler"/><category term="matris"/><category term="matrix"/><category term="ondalık sayı"/><category term="pardus"/><category term="pointer ve fonksiyonlar"/><category term="pointerlar"/><category term="random"/><category term="rastgele sayı üretmek"/><category term="recursif fonk"/><category term="rekürsif fonk"/><category term="scanf"/><category term="seçenek"/><category term="sql"/><category term="stored procedure"/><category term="string"/><category term="stringler"/><category term="structurelar"/><category term="switch"/><category term="table"/><category term="tamsayı değişkenler"/><category term="ubuntu"/><category term="zor konu"/><category term="üssü"/><category term="İÇ İÇE DÖNGÜLER"/><title type='text'>C Programlama</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://c-dili.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>47</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-927233940693310330</id><published>2015-04-18T16:23:00.001-07:00</published><updated>2015-04-18T16:23:58.204-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="alter"/><category scheme="http://www.blogger.com/atom/ns#" term="collaction"/><category scheme="http://www.blogger.com/atom/ns#" term="ms sql"/><category scheme="http://www.blogger.com/atom/ns#" term="sql"/><category scheme="http://www.blogger.com/atom/ns#" term="table"/><title type='text'>Ms Sql tabloda bir kolonun dilini değiştirme</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Aşağıdaki sql kodu ile mssql de tabloda &amp;nbsp;kolonda dil değişikliği (collaction) yapılır&lt;br /&gt;
&lt;br /&gt;
ALTER TABLE TABLO_ADI&lt;br /&gt;
&amp;nbsp;ALTER COLUMN KOLON_1 VERI_TIPI COLLATE DIL_DEGERI(COLLACTION_NAME)&lt;br /&gt;
ALTER TABLE TABLO_ADI&lt;br /&gt;
&amp;nbsp;ALTER COLUMN KOLON_2&amp;nbsp;VERI_TIPI&amp;nbsp;COLLATE DIL_DEGERI(COLLACTION_NAME)&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/927233940693310330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/927233940693310330'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2015/04/ms-sql-tabloda-bir-kolonun-dilini-degistirmek.html' title='Ms Sql tabloda bir kolonun dilini değiştirme'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-2983260165264782435</id><published>2015-04-15T13:33:00.000-07:00</published><updated>2015-04-15T13:33:19.613-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ms sql"/><category scheme="http://www.blogger.com/atom/ns#" term="stored procedure"/><title type='text'>Ms sql&#39;de stored procedure&#39;e liste yada dizi göndermek</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Ms sql&#39;de stored procedure içine bir liste yada dizi göndermek istiyorsanız aşağıdaki yöntemi kullanabilirsiniz.&lt;br /&gt;
&lt;br /&gt;
CREATE PROCEDURE [dbo].[SPADI]&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;@listparametreadi nvarchar(600)&lt;br /&gt;
AS&lt;br /&gt;
BEGIN&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;DECLARE @SQL varchar(700)&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;SET @SQL = &#39;select * from TABLOADI where id in (&#39;+@listparametreadi&amp;nbsp;+&#39;)&#39;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;EXEC(@SQL)&lt;br /&gt;
END&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
parametreyi aşağıdaki şekilde göndermeniz lazım. string olarak&lt;br /&gt;
&lt;br /&gt;
1,2,45,56,8,23&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/2983260165264782435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/2983260165264782435'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2015/04/stored-procedure-liste-gondermek.html' title='Ms sql&#39;de stored procedure&#39;e liste yada dizi göndermek'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-1491744216707848088</id><published>2011-06-17T12:16:00.003-07:00</published><updated>2012-10-01T01:38:15.364-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c dili"/><category scheme="http://www.blogger.com/atom/ns#" term="c pointer ve structurelar"/><category scheme="http://www.blogger.com/atom/ns#" term="c program geliştirmek"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programlama"/><category scheme="http://www.blogger.com/atom/ns#" term="c structures"/><category scheme="http://www.blogger.com/atom/ns#" term="c veri yapıları"/><title type='text'>C Dili - Ders 31 - Structure (Yapılar) &amp; Pointerlar</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;Şimdi bir structure oluşturalım ve bu structureın üyelerini 5 elemanlı bir dizi olsun daha sonra bu dizinin elemanlarını pointer kullanarak kullanıcıdan alalım.&lt;/p&gt;&lt;br /&gt;&lt;pre class=&quot;brush:c&quot;&gt;&lt;br /&gt;#include &quot;stdio.h&quot;&lt;br /&gt;struct yapi_turu{ int yas;};&lt;br /&gt;struct yapi_turu insanlar[5];&lt;br /&gt;int main(){ &lt;br /&gt; struct yapi_turu* pointer; &lt;br /&gt; pointer=insanlar; int i=0;&lt;br /&gt; for(i=0;i&amp;lt;5;i++) {&lt;br /&gt;  printf(&quot;gir:&quot;);&lt;br /&gt;  scanf(&quot;%d&quot;,pointer-&amp;gt;yas);&lt;br /&gt;  printf(&quot;%d degerini girdin!\n&quot;,(*pointer).yas);&lt;br /&gt;  pointer++;&lt;br /&gt; }&lt;br /&gt; return 0;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Yukarıda pointerı tanımlarken türüne dikkat edin. elemanları kullanıcıdan alma işlemini bir fonksiyonla yapabilirsiniz.&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/1491744216707848088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/1491744216707848088'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ders-31-structure-yaplar.html' title='C Dili - Ders 31 - Structure (Yapılar) &amp; Pointerlar'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-832102383794169617</id><published>2011-06-17T04:27:00.001-07:00</published><updated>2012-10-01T01:38:56.538-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c programlamada structurelar"/><category scheme="http://www.blogger.com/atom/ns#" term="c programlamada yapılar"/><category scheme="http://www.blogger.com/atom/ns#" term="c veri yapıları"/><category scheme="http://www.blogger.com/atom/ns#" term="structurelar"/><title type='text'>C Dili - Ders 30 - Structure(Yapılar)</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;Bu yapı paralel dizi oluşturmamıza gerek kalmadan birden fazla değişken türüyle yeni bir değişken türü oluşturmamıza yarayan yapıdır.&lt;/p&gt;&lt;p&gt;Kullanılışı aşağıdaki gibidir. integer ve char değişken türlerinden yeni bir değişken türü oluşturdum.&lt;/p&gt;&lt;br /&gt;&lt;pre class=&quot;brush:c&quot;&gt;&lt;br /&gt;struct kitap_turu{&lt;br /&gt; int fiyat;&lt;br /&gt; char isim[100];&lt;br /&gt; char yazar[100];&lt;br /&gt;};&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Yukarıda yeni bir struct kitap_turu adında değişken türü oluşturduk. Şimdi bu türden bir kitap adında bir değişken oluşturalım.&lt;/p&gt;&lt;br /&gt;&lt;pre class=&quot;brush:c&quot;&gt;&lt;br /&gt;struct kitap_turu kitap;&lt;br /&gt;//hatta dizi değişken bile oluşturabiliriz.&lt;br /&gt;struct kitap_turu kitap_dizisi[10];&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Şimdi bir değişken daha oluşturalım ve değer atayalım.&lt;/p&gt;&lt;br /&gt;&lt;pre class=&quot;brush:c&quot;&gt;&lt;br /&gt;#include &quot;stdio.h&quot;&lt;br /&gt;struct kitap_turu{&lt;br /&gt; int fiyat;&lt;br /&gt; char isim[100];&lt;br /&gt; char yazar[100];&lt;br /&gt;};&lt;br /&gt;struct kitap_turu kitap2={10,&quot;Define Adasi&quot;,&quot;Robert Louis Stevenson&quot;};&lt;br /&gt;int main(){&lt;br /&gt; printf(&quot;Kitap ismi: %s\n&quot;,kitap2.isim);&lt;br /&gt; printf(&quot;Kitap fiyat: %d TL\n&quot;,kitap2.fiyat);&lt;br /&gt; printf(&quot;Kitap yazar: %s\n&quot;,kitap2.yazar);&lt;br /&gt; return 0;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Structurelara değer atarken içerisindeki değişkenlerin sıralamasına uymalısınız.&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/832102383794169617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/832102383794169617'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ders-30-structureyaplar.html' title='C Dili - Ders 30 - Structure(Yapılar)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-6576423917172175068</id><published>2011-06-17T04:09:00.001-07:00</published><updated>2012-10-01T01:39:07.537-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c dili"/><category scheme="http://www.blogger.com/atom/ns#" term="c proggraming"/><category scheme="http://www.blogger.com/atom/ns#" term="c veri yapıları"/><title type='text'>C Dili - Ders 29 - Paralel Diziler</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;Örneğin bir kitap listesi tutacak bir veri yapısı olulşturmak istedik. Veri yapısı kitap isimlerini ve fiyatlarını tutacak, fakat isimler char türünde fiyatlar ise integer türünde olacak, biz bunu tek bir değişken türü olarak tanımlayamayız. Bunun için paralel dizi yöntemini kullanacağız.&lt;/p&gt;&lt;p&gt;İlk olarak fiyatları tutacak dizimizi tanımlayalım.&lt;/p&gt;&lt;pre class=&quot;brush:c&quot;&gt;int fiyat[10];&lt;/pre&gt;&lt;p&gt;Şimdi kitap isimlerini tutacak diziyi tanımlayalım.&lt;/p&gt;&lt;pre class=&quot;brush:c&quot;&gt;char isim[10][100];&lt;/pre&gt;&lt;p&gt;Programın tamamını yazalım şimdi.&lt;/p&gt;&lt;pre class=&quot;brush:c&quot;&gt;#include &quot;stdio.h&quot;&lt;br /&gt;int main(){&lt;br /&gt; int fiyat[10];&lt;br /&gt; char isim[10][100];&lt;br /&gt; int i=0;&lt;br /&gt; while(i&amp;lt;10){&lt;br /&gt; printf(&quot;kitap ismi gir:&quot;);&lt;br /&gt; scanf(&quot;%s&quot;,isim[i]);&lt;br /&gt; printf(&quot;fiyat gir:&quot;);&lt;br /&gt; scanf(&quot;%d&quot;,fiyat[i]);&lt;br /&gt; i++;&lt;br /&gt;  }&lt;br /&gt; return 0;&lt;br /&gt;}&lt;/pre&gt;&lt;p&gt;Bu yapıyı daha sonra göreceğimiz structure yapılarını kullanarak oluşturabiliriz.&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/6576423917172175068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/6576423917172175068'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ders-29-paralel-diziler.html' title='C Dili - Ders 29 - Paralel Diziler'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-2596303271936571801</id><published>2011-06-16T15:17:00.000-07:00</published><updated>2012-10-01T01:39:29.757-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c dili"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programlama"/><category scheme="http://www.blogger.com/atom/ns#" term="dinamik dizi"/><category scheme="http://www.blogger.com/atom/ns#" term="pointer"/><title type='text'>C Dili - Ders 28 - Hafıza ile Çalışma II</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;Bu dersimizde hafızdan ayırdığımız bölümü işimiz bittiğinde serbest hale getirmeyi göreceğiz.&lt;/p&gt;&lt;p&gt;Bu işlemi free fonksiyonu ile yapıyoruz. Aşağıda görüldüğü gibi.&lt;/p&gt;&lt;pre&gt;#include &quot;stdio.h&quot;
#include &quot;stdlib.h&quot;

int main()
{
 int* pointer=(int *)malloc(sizeof(int));
 *pointer=6;
 printf(&quot;Deger: %d   -   Adres: %d\n&quot;,(*pointer),pointer);
 free(pointer);
 return 0;
}
&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/2596303271936571801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/2596303271936571801'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ders-28-hafza-ile-calsma-ii.html' title='C Dili - Ders 28 - Hafıza ile Çalışma II'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-4130356092296680189</id><published>2011-06-14T11:30:00.000-07:00</published><updated>2012-10-01T01:39:40.775-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c dili"/><category scheme="http://www.blogger.com/atom/ns#" term="c proggraming"/><category scheme="http://www.blogger.com/atom/ns#" term="dizi ve pointerlaripointer aritmetiği"/><category scheme="http://www.blogger.com/atom/ns#" term="gösterici"/><category scheme="http://www.blogger.com/atom/ns#" term="göstericiler"/><title type='text'>C  Dili - pointer to pointer</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;C dilinde pointerları başka pointerlarda gösterebilir. Aşağıdaki kodda p pointerını q pointerı gösteriyor ve p pointerı da x değişkenini gösteriyor.&lt;/p&gt;&lt;pre&gt;#include &quot;stdio.h&quot;
#include &quot;stdlib.h&quot;
int main()
{
int x, *p, **q;
x = 10;
p = &amp;x;
q = &amp;p;
printf(&quot;%d\n&quot;, **q);
printf(&quot;%d\n&quot;, q);
printf(&quot;%d\n&quot;, p);
printf(&quot;%d\n&quot;, *q);
printf(&quot;%d\n&quot;, *p);
return 0;
}
&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/4130356092296680189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/4130356092296680189'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-pointer-to-pointer.html' title='C  Dili - pointer to pointer'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-4266672320743929699</id><published>2011-06-14T10:25:00.000-07:00</published><updated>2012-10-01T01:40:20.921-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="alloc"/><category scheme="http://www.blogger.com/atom/ns#" term="allocate"/><category scheme="http://www.blogger.com/atom/ns#" term="c dizi değişkenler"/><category scheme="http://www.blogger.com/atom/ns#" term="c programı"/><category scheme="http://www.blogger.com/atom/ns#" term="hafıza ile çalışmak"/><category scheme="http://www.blogger.com/atom/ns#" term="malloc"/><title type='text'>C Dili - Ders 27 - Hafıza ile Çalışmak (malloc)</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;Bu dersimizde hafızadan nasıl yer ayrılır(allocate) ve ayrılan yer nasıl tekrar boşaltılır onu göreceğiz. Biz bunun için malloc (memory allocate) fonksiyonunu kullanıyoruz.&lt;/p&gt;&lt;pre&gt;int *pointer=null;
pointer=malloc( sizeof(int) );
&lt;/pre&gt;&lt;p&gt;yukarıdaki kodda en başta bir pointer tanımlıyoruz. Daha sonra malloc ile hafızadan yer ayırıyoruz. Ve hafızanın baş adresini pointera atıyoruz. malloc fonksşyonunu kullanırken içine ayırmak istediğimiz hafıza miktarını yazıyoruz.&lt;/p&gt;&lt;p&gt;2 integer değişkeni tutacağımız kadar hafıza ayıralım ve hafızaların içini dolduralım.&lt;/p&gt;&lt;pre&gt;#include &quot;stdio.h&quot;
#include &quot;stdlib.h&quot;
int main()
{
 int *pointer=(int *)malloc((2*sizeof(int)));
 *pointer=10;
 printf(&quot;Adres: %d , Deger: %d\n&quot;,pointer,*pointer);
 pointer++;
 *pointer=9;
 printf(&quot;Adres: %d , Deger: %d\n&quot;,pointer,*pointer);
 return 0;
}
&lt;/pre&gt;&lt;p&gt;Bu fonksiyonu kullanabilmek için stdlib.h kütüphanesini include etmeniz lazım. Daha karışık bir örnek dinamik dizi oluşturmak yazısında var.&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/4266672320743929699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/4266672320743929699'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ders-27-hafza-ile-calsmak-malloc.html' title='C Dili - Ders 27 - Hafıza ile Çalışmak (malloc)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-5345599826624787983</id><published>2011-06-13T13:52:00.000-07:00</published><updated>2012-10-01T01:40:29.815-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="stringler"/><title type='text'>C Dili - Ders 27 - Stringler</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;Stringler çok boyutlu char dizileridir. örneğin aşağıda.&lt;/p&gt;&lt;pre&gt;char kelime[10]=&quot;merhaba&quot;;
&lt;/pre&gt;&lt;p&gt;Bu tek boyutlu bir dizi bunda sadece bir kelime yada bir satır bilgi tutabiliriz. peki çok satırlı bir yazımız var ise onu çok boyutlu char dizisinde tutmalıyız.&lt;/p&gt;&lt;pre&gt;char metin[5][10]={
&quot;csharp&quot;,&quot;assembly&quot;,&quot;fortran&quot;,&quot;pascal&quot;,&quot;java&quot;
};
printf(&quot;ilk dilimiz %s&quot;,metin[0]);
&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/5345599826624787983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/5345599826624787983'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ders-27-stringler.html' title='C Dili - Ders 27 - Stringler'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-5071119563313760950</id><published>2011-06-13T13:45:00.000-07:00</published><updated>2012-10-01T01:40:38.847-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dizi adresi göndermek"/><category scheme="http://www.blogger.com/atom/ns#" term="dizi göndermek"/><category scheme="http://www.blogger.com/atom/ns#" term="dizi ve pointerlaripointer aritmetiği"/><category scheme="http://www.blogger.com/atom/ns#" term="pointer ve fonksiyonlar"/><category scheme="http://www.blogger.com/atom/ns#" term="zor konu"/><title type='text'>C Dili - Ders 26 - Pointer ve Fonksiyonlar</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;Bu dersimizde pointerlarla fonksiyonlar nasıl kullanılır onu görecez. Örneğin dışarıda bir dizi tanımlayalım ve dizisirala adında bir fonksiyonumuz olsun. fonksiyona dizinin ilk adresini ve boyutunu gönderelim ve dizi elemanlarını ekrana sıralayalım.&lt;/p&gt;&lt;pre&gt;#include &quot;stdio.h&quot;
#include &quot;stdlib.h&quot;

void dizisirala(int *pointer,int boy){
 int i=0;
 while(i&amp;lt;boy){
  printf(&quot;%d\n&quot;,*pointer);
  pointer++;
  i++;             
 }     
}

int main()
{
  int dizi[10]={1,2,3,4,5,6,7,8,9,0};
  dizisirala(dizi,10); 
  return 0;
}
&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/5071119563313760950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/5071119563313760950'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ders-26-pointer-ve-fonksiyonlar.html' title='C Dili - Ders 26 - Pointer ve Fonksiyonlar'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-3252337236744247495</id><published>2011-06-13T10:29:00.000-07:00</published><updated>2012-10-01T01:40:49.820-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dizi ve pointerlaripointer aritmetiği"/><category scheme="http://www.blogger.com/atom/ns#" term="gösterici"/><category scheme="http://www.blogger.com/atom/ns#" term="pointerlar"/><title type='text'>C Dili - Ders 25 - Pointer Aritmetik</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;bu yazımızda pointer aritmetik konusuna değineceğiz. Pointerlar bildiğiniz gibi adresleri gösterir. integer türünde bir pointer 1002 adresini gösteriyorsa; pointerın adresini bir artırırsak (pointer++) 1006 adresini göstercektir. Sebebi integer türünün 4 byte alan kaplamasıdır. Şimdi Bunu bir örnekle görelim.&lt;/p&gt;&lt;pre&gt;int degisken=10;
int* p=&amp;degisken;
printf(&quot;%d\n&quot;,p);
p++;
printf(&quot;%d\n&quot;,p);
p++;
printf(&quot;%d\n&quot;,p);
p++;
&lt;/pre&gt;&lt;p&gt;Yukarıdaki örneği bir de char ve float türleriyle deneyin.&lt;/p&gt;&lt;p&gt;Yukarıda yaptığımız adresleri bir arttırmaktı. Pointerın gösterdiği değişkeni bir artıralım.&lt;/p&gt;&lt;pre&gt;*p++;
printf(&quot;Degiskenin degeri:%d\n&quot;,*p);
&lt;/pre&gt;&lt;p&gt;Pointerları biraz daha işe yarar bir şeyde kullanalım. Bir dizi oluşturalım ve dizinin ilk elemanının adresini pointer göstersin. Daha sonra pointer ile dizinin bütün elemanlarını ekrana yazdıralım.&lt;/p&gt;&lt;pre&gt;#include &quot;stdio.h&quot;
#include &quot;stdlib.h&quot;

int main()
{
  int dizi[5]={1,2,3,4,5};
  int* pointer=dizi; //dizinin ilk elemaninin adresi
  int i=0;
  while(i&amp;lt;5)
  {
   printf(&quot;eleman %d:%d - Adresi:%d\n&quot;,i,*pointer,pointer);
   pointer++;
   i++;         
  } 
  return 0;
}
&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/3252337236744247495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/3252337236744247495'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ders-25-pointer-aritmetik.html' title='C Dili - Ders 25 - Pointer Aritmetik'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-5811581851538762752</id><published>2011-06-13T09:19:00.000-07:00</published><updated>2012-10-01T01:41:05.693-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dinamik"/><category scheme="http://www.blogger.com/atom/ns#" term="dinamik dizi"/><category scheme="http://www.blogger.com/atom/ns#" term="dinamik dizi uygulaması"/><category scheme="http://www.blogger.com/atom/ns#" term="pointer"/><title type='text'>C Dili - Dinamik Dizi Oluşturmak</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;Yazacağımız program önce kullanıcıdan dizinin kaç elemanlı olacağını sorsun. Daha sonra dizinin elemanlarını kendi atayarak ekrana yazdırsın.&lt;/p&gt;&lt;pre&gt;#include &quot;stdio.h&quot;
#include &quot;stdlib.h&quot;

int main()
{
  int boyut=0;
  printf(&quot;Dizi boyutunu girin:&quot;);
  scanf(&quot;%d&quot;,&amp;boyut);
  int* dizi;
  dizi=(int *)malloc((boyut*sizeof(int)));
  
  int i=0;
  for(i=0;i&amp;lt;boyut;i++)
  {
   *dizi=i;
   printf(&quot;%d&quot;,*dizi);
   dizi++;                   
  }
 
  return 0;
}
&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/5811581851538762752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/5811581851538762752'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-dinamik-dizi-olusturmak.html' title='C Dili - Dinamik Dizi Oluşturmak'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-2893896060235981231</id><published>2011-06-13T09:07:00.000-07:00</published><updated>2012-10-01T01:42:15.980-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c algoritmalar"/><category scheme="http://www.blogger.com/atom/ns#" term="c dili"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programlama"/><category scheme="http://www.blogger.com/atom/ns#" term="pointer"/><title type='text'>C Dili - Ders 24 - Pointer</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;C programlama denilince akla ilk gelenler arasında pointer meselesi vardır. Aslında en zorlanılan konudur. Ama aslında süper bişeydir&lt;/p&gt;&lt;p&gt;Kısaca Pointerlar oluşturduğumuz değişkenlerin adreslerini gösterirler. Peki bu nasıl olur.&lt;/p&gt;&lt;pre&gt;int a=5; //temel değişken tanımı.
&lt;/pre&gt;&lt;p&gt;şimdi bu değişkenin adresini ekrana yazdıralım.&lt;/p&gt;&lt;pre&gt;printf(&quot;\na degiskenin adresi : %d&quot;,&amp;a);
&lt;/pre&gt;&lt;p&gt;şimdi bir pointer tanımlayalım ve bu pointer a değişkenini göstersin.&lt;/p&gt;&lt;pre&gt;int* pointer=&amp;a;
&lt;/pre&gt;&lt;p&gt;Yukarıda görüldüğü gibi pointer tanımlarken *(yıldız) karakterini kullanıyoruz.&lt;/p&gt;&lt;pre&gt;printf(&quot;\npointerin gostedigi adres : %d&quot;,pointer);
printf(&quot;\npointerin gosterdigi adresteki deger : %d&quot;,*pointer);
&lt;/pre&gt;&lt;p&gt;Yukarıdaki konuyu anlamışsınızdır umarım.Bu ilk bölümdü. Pointerlar daha bitmedi.&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/2893896060235981231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/2893896060235981231'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ders-24-pointer.html' title='C Dili - Ders 24 - Pointer'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-9192316089452988251</id><published>2011-06-12T02:07:00.000-07:00</published><updated>2012-10-01T01:42:21.571-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c dili"/><category scheme="http://www.blogger.com/atom/ns#" term="c fonksiyonları"/><category scheme="http://www.blogger.com/atom/ns#" term="faktoriyel programı"/><category scheme="http://www.blogger.com/atom/ns#" term="fonksiyon"/><category scheme="http://www.blogger.com/atom/ns#" term="rekürsif fonk"/><title type='text'>C Dili - Örnek 08 - Faktoriyel (Rekürsif)</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;Faktoriyel alan rekürsif bir fonksiyon.&lt;/p&gt;&lt;pre&gt;#include &quot;stdio.h&quot;
int faktoriyel(int x);
int main(){
 int deger=1;
 int sonuc=faktoriyel(deger);
 printf(&quot;Sonuc=%d&quot;,sonuc);
 return 0;
}
int faktoriyel(int x){
 int birim;
 if(x&gt;0){
  birim=faktoriyel(x-1);
  return x*birim;
 }else{
  return 1;
 }
 
}
&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/9192316089452988251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/9192316089452988251'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ornek-08-faktoriyel-rekursif.html' title='C Dili - Örnek 08 - Faktoriyel (Rekürsif)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-2011224364616937270</id><published>2011-06-11T09:49:00.000-07:00</published><updated>2012-10-01T01:42:26.957-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="adres"/><category scheme="http://www.blogger.com/atom/ns#" term="adres of"/><category scheme="http://www.blogger.com/atom/ns#" term="adresleme"/><category scheme="http://www.blogger.com/atom/ns#" term="cdili"/><category scheme="http://www.blogger.com/atom/ns#" term="degisken adresleri"/><category scheme="http://www.blogger.com/atom/ns#" term="pointer"/><title type='text'>C Dili - Ders 23 - Değişkenlerin Adresleri</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;Değişkenler herbirinin hafızda saklandıkları yerlerin adresleri vardır. Bu adresleri &amp; (adresse of) operatörüyle görebiliriz. Örneğin;&lt;/p&gt;&lt;pre&gt;int a=10;
printf(&quot;a degiskeninin adresi:%d&quot;,&amp;a);

float b=56;
printf(&quot;b degiskenin adresi:%d&quot;,&amp;b);

char harf=&#39;d&#39;;
printf(&quot;harf degiskenin adresi:%d&quot;,&amp;harf);
&lt;/pre&gt;&lt;p&gt;Bu bilgi ileride pointerlar konusunda yardımcı olacak&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/2011224364616937270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/2011224364616937270'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ders-23-degiskenlerin-adresleri.html' title='C Dili - Ders 23 - Değişkenlerin Adresleri'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-2075935698526948388</id><published>2011-06-11T04:18:00.000-07:00</published><updated>2012-10-01T01:43:02.049-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="fonksiyon"/><category scheme="http://www.blogger.com/atom/ns#" term="recursif fonk"/><title type='text'>C Dili - Örnek 07 - Recursif Fonksiyon Örneği</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;Aşağıdaki kod decimal(onluk) tabandaki sayıyı ikilik tabandaki sayıya dönüştürür.&lt;/p&gt;&lt;pre&gt;#include &quot;stdio.h&quot;

void fonk(int sayi){
 if(sayi==1 || sayi==0){
  printf(&quot;%d&quot;,sayi);
  }else {
  fonk(sayi/2);
  printf(&quot;%d&quot;,sayi%2);
  }
 }

int main(int argc, char **argv)
{
 fonk(9);
 return 0;
}
&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/2075935698526948388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/2075935698526948388'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ornek-07-recursif-fonksiyon.html' title='C Dili - Örnek 07 - Recursif Fonksiyon Örneği'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-5360208504283138789</id><published>2011-06-11T03:47:00.000-07:00</published><updated>2012-10-01T01:47:36.127-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c uygulama"/><category scheme="http://www.blogger.com/atom/ns#" term="c örnek"/><category scheme="http://www.blogger.com/atom/ns#" term="fonksiyon"/><title type='text'>C Dili - Örnek 07</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;Tek parametre alan ve parametreye göre 4 işlemden herhangi birini yapan program.&lt;/p&gt;&lt;pre&gt;#include &quot;stdio.h&quot;

void fonksiyon(int x);

int main(){
//toplama
fonksiyon(1);
//çıkarma
fonksiyon(2);
//çarpma
fonksiyon(3);
//bölme
fonksiyon(4);
}

void fonksiyon(int x){
switch(x){
case 1:
printf(&quot;%d&quot;,3+6);
break;
case 2:
printf(&quot;%d&quot;,3-6);
break;
case 3:
printf(&quot;%d&quot;,3*6);
break;
case 4:
printf(&quot;%d&quot;,3/6);
break;
}

}
&lt;/pre&gt;&lt;p&gt;Fonksiyon tanımalaması yukarıdaki gibide yapılabilir. Önemli olan o fonksiyonu kullanacağımız fonksiyondan önce (bu genellikle ana fonksiyon olur) ne girdiğini ve ne çıktığını tanımlamaktır.&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/5360208504283138789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/5360208504283138789'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ornek-07.html' title='C Dili - Örnek 07'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-8530175778095644492</id><published>2011-06-11T03:39:00.000-07:00</published><updated>2012-10-01T01:47:47.373-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c de kullanıcı"/><category scheme="http://www.blogger.com/atom/ns#" term="c dili"/><category scheme="http://www.blogger.com/atom/ns#" term="c programı"/><category scheme="http://www.blogger.com/atom/ns#" term="cprogramlama"/><category scheme="http://www.blogger.com/atom/ns#" term="fonksiyon"/><category scheme="http://www.blogger.com/atom/ns#" term="fonksiyonlar"/><title type='text'>C Dili - Ders 22 - Fonksiyonlar</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;Fonksiyonlar programlama da önemli bir konudur. Büyük programlar yazarken programı fonksiyonlara ayırırız daha sonra bunların herbirini ana fonksiyonumuzda birleştiririz. Örnek fonksiyon tanımlaması aşağıda gösterildiği gibidir.&lt;/p&gt;&lt;pre&gt;#include &quot;stdio.h&quot;
int toplama(int x,int y){
 int toplam=x+y;
 return sonuc;
}

int main(){
 int islem=toplama(3,6);
 printf(&quot;%d&quot;,islem);
 return 0;
}
&lt;/pre&gt;&lt;p&gt;Yukarıdaki kodu açıklamak gerekirse fonksiyon bir toplama fonksiyonu iki parametre alıyor. ve daha sonra bunları toplamyıp ana fonksiyonu geri döndürüyor. Bizim programımızda gönderdiğimiz parametreler 3 ve 6 bunlar sırasıyla x ve y yerel değişkenlerine aktarılıyor. daha sonra bu değişkenler toplanıyor ve toplam değişkenine aktarılıyor ve toplam değişkeni fonksiyonun sonunda geri döndürülüyor(return). Bundan sonra işlemler ana(main) fonksiyonunda devam ediyor. Fonksiyondan dönen değer islem değişkenine aktarılıyor ve islem değişkeni ekrana yazılıyor. Program son buluyor.&lt;/p&gt;&lt;p&gt;Arkadaşlar fonksiyonu tanımlarken başındaki int ibaresine dikkat edin. Bunu koymamızın sebebi fonksiyondan dönen değerin integer türünden olması. Eğere float türünden olsaydı float koyacaktık. Prki fonksiyon bir değer döndürmeseydi. O zaman ne koyacaktık. Aşağıda bunun örneği verilmiş.Ayrıca hiç parametre almayan fonksiyonada bir örnek.&lt;/p&gt;&lt;pre&gt;#include &quot;stdio.h&quot;
void toplama(){
 int toplam=3+6;
 printf(&quot;%d&quot;,toplam);
}

int main(){
 toplama();
 return 0;
}
&lt;/pre&gt;&lt;p&gt;Yukarıdaki kodda fonksiyonun ana fonksiyonda kullanılışına da dikkat edin. Şimdi siz birşeyler yapın gelen bir parametreye göre 4 işlemden birini yapan ve geri değer döndürmeyen bir fonksiyon yazın ve kullanın.&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/8530175778095644492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/8530175778095644492'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ders-22-fonksiyonlar.html' title='C Dili - Ders 22 - Fonksiyonlar'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-3183607643861628355</id><published>2011-06-10T11:27:00.000-07:00</published><updated>2011-06-10T11:28:15.514-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C dersleri"/><category scheme="http://www.blogger.com/atom/ns#" term="c dili"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programlama"/><category scheme="http://www.blogger.com/atom/ns#" term="c rand"/><category scheme="http://www.blogger.com/atom/ns#" term="c++"/><category scheme="http://www.blogger.com/atom/ns#" term="random"/><category scheme="http://www.blogger.com/atom/ns#" term="rastgele sayı üretmek"/><title type='text'>C Dili - Ders 21 - Rastgele Sayı Üretmek</title><content type='html'>&lt;p&gt;C dilinde rastgele sayı üretmek için rand() fonksiyonunu kullanırız. Aşağıda kullanılışını görelim&lt;/p&gt;&lt;pre&gt;#include &amp;lt;stdio.h&amp;gt;
/*Kütüphaneleri unutmayın.*/
#include &amp;lt;time.h&amp;gt;
#include &amp;lt;stdlib.&amp;gt;

int main()
{
 srand(time(null));
 int rastgele=rand()%20; //0-19 arasında sayı üretir.
 printf(&quot;%d&quot;,rastgele);
 return 0;
}
&lt;/pre&gt;&lt;p&gt;Yukarıdaki örnekte üreteceği sayılar sıfırdan başlar. Peki bir 5 ile 19 arasında sayı üretmesini istersek.&lt;/p&gt;&lt;pre&gt;#include &amp;lt;stdio.h&amp;gt;
/*Kütüphaneleri unutmayın.*/
#include &amp;lt;time.h&amp;gt;
#include &amp;lt;stdlib.&amp;gt;

int main()
{
 srand(time(null)); //bu her zaman olacak.
 int rastgele=5+rand()%15;
 printf(&quot;%d&quot;,rastgele);
 return 0;
}
&lt;/pre&gt;&lt;p&gt;Yukarıdakini anladıysanız sizde -5 ve 5 arasında sayı üreten kodu yazın.&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/3183607643861628355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/3183607643861628355'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ders-21-rastgele-say-uretmek.html' title='C Dili - Ders 21 - Rastgele Sayı Üretmek'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-5882450666090058722</id><published>2011-06-09T12:19:00.000-07:00</published><updated>2012-10-01T01:50:00.947-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c dili"/><category scheme="http://www.blogger.com/atom/ns#" term="c uygulama"/><category scheme="http://www.blogger.com/atom/ns#" term="cprogramlama"/><category scheme="http://www.blogger.com/atom/ns#" term="getch"/><title type='text'>C Dili - Örnek 06</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;Kullanıcıdan sürekli karakter alıyoruz. karakterin ascii kodunu ekrana yazdırıyoruz eğer karakter sıfır ise programı sonlandırıyoruz.&lt;/p&gt;&lt;pre&gt;#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;conio.h&amp;gt;

int main(){
 char c;
 printf(&quot;\nBir karakter Girin:&quot;);
 while((ch=getch())!=0){
  printf(&quot;%d&quot;,c);
  printf(&quot;Bir karakter daha girin:&quot;);
 }
 printf(&quot;gule gule&quot;);
 return 0;
}
&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/5882450666090058722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/5882450666090058722'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ornek-06.html' title='C Dili - Örnek 06'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-2019006874658087198</id><published>2011-06-09T12:10:00.000-07:00</published><updated>2012-10-01T01:50:30.875-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="fonksiyon"/><category scheme="http://www.blogger.com/atom/ns#" term="getch"/><category scheme="http://www.blogger.com/atom/ns#" term="karakter almak"/><title type='text'>C Dili - Ders 20 - Getch Fonksiyonu</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;Bu fonksiyon conio.h kütüphanesinde bulunur. Kullanıcıdan bir karakter almamıza yarar fakat kararkteri ekrana yazmaz. Kullanımı aşağıda&lt;/p&gt;&lt;pre&gt;#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;conio.h&amp;gt;

int main(){
 printf(&quot;Bir karakter girin:&quot;);
 char karakter=getch();
 printf(&quot;Girdiğiniz Karakter %c&quot;,karakter);
 return 0;
}
&lt;/pre&gt;&lt;p&gt;Yukarıdaki programı anlamak için şu programı yapmanızı öneririm. Kullanıcılardan sürekli bir karakter alan ve bu karakterlerin ascii kodlarını ekrana yazdıran bir program olsun fakat bu program &#39;0&#39; karakteri girildiğinde sona ersin. Bu programın kodunu örnek 06 da bulabilirsiniz.&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/2019006874658087198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/2019006874658087198'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ders-20-getch-fonksiyonu.html' title='C Dili - Ders 20 - Getch Fonksiyonu'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-6363161747029298894</id><published>2011-06-09T11:47:00.000-07:00</published><updated>2012-10-01T01:50:37.774-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="büyük harfi küçük harfe çevirmek"/><category scheme="http://www.blogger.com/atom/ns#" term="c char"/><category scheme="http://www.blogger.com/atom/ns#" term="c harfler"/><title type='text'>C Dili - Örnek 05 - Büyük Küçük Harfe Çevirme</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;Kullanıcıdan alınan herhangi bir harfi büyükse küçüğe küçükse büyüğe çeviren program.&lt;/p&gt;&lt;pre&gt;#include &amp;lt;stdio.h&amp;gt;
int main(){
 char harf;
 printf(&quot;Bir harf Gir:&quot;);
 scanf(&quot;%c&quot;,&amp;harf);
 int fark=&#39;a&#39;-&#39;A&#39;;
 if(harf&gt;&#39;Z&#39;){
  harf-=fark;
  }else{
  harf+=fark; 
  }
  
 printf(&quot;Yeni Harf:%c&quot;,harf);
 return 0;
 }
&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/6363161747029298894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/6363161747029298894'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ornek-05-buyuk-kucuk-harfe.html' title='C Dili - Örnek 05 - Büyük Küçük Harfe Çevirme'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-715494039227277603</id><published>2011-06-09T11:37:00.000-07:00</published><updated>2012-10-01T01:50:44.648-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c harfler"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programlama"/><category scheme="http://www.blogger.com/atom/ns#" term="c programı"/><title type='text'>C Dili - Örnek 04 - Alfabe</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;İlk harften başlayıp alfabedeki bütün harfleri sıralayan ve onların ascii kodlarını ekrana yazdıran programı yazın&lt;/p&gt;&lt;pre&gt;#include &amp;lt;stdio.h&amp;gt;

int main(){
 char ilk_harf=&#39;A&#39;;
 while(ilk_harf&lt;=&#39;Z&#39;){
  printf(&quot;%c - %d\n&quot;,ilk_harf,ilk_harf);
  ilk_harf++;
  }
 return 0;
 }
&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/715494039227277603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/715494039227277603'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ornek-04-alfabe.html' title='C Dili - Örnek 04 - Alfabe'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-7449336574448282925</id><published>2011-06-08T14:30:00.000-07:00</published><updated>2012-10-01T01:51:30.459-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C dersleri"/><category scheme="http://www.blogger.com/atom/ns#" term="c örnekleri"/><category scheme="http://www.blogger.com/atom/ns#" term="floyd üçgeni"/><title type='text'>C Dili - Örnek 03 - Floyd Üçgeni</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;Kodu çalıştırınca sonra nasıl birşey olduğunu görürsünüz.&lt;/p&gt;&lt;pre&gt;#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;conio.h&amp;gt;

int main() {
   int i,a,b;
   a=0;
   b=0;
   i=0;
   while(i&lt;10) {
    printf(&quot;\n&quot;);
    b+=a;
 for(a=0;a&amp;lt;=i;a++){
       printf(&quot;%3d&quot;,b+a+1);
   }
   i++;
   }
   getch();
   return 0;
}
&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/7449336574448282925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/7449336574448282925'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ornek-03-floyd-ucgeni.html' title='C Dili - Örnek 03 - Floyd Üçgeni'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9103111626363143916.post-1497462496216230392</id><published>2011-06-08T14:25:00.000-07:00</published><updated>2012-10-01T01:51:37.664-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C dersleri"/><category scheme="http://www.blogger.com/atom/ns#" term="c dili"/><category scheme="http://www.blogger.com/atom/ns#" term="c programlma"/><category scheme="http://www.blogger.com/atom/ns#" term="c uygulama"/><category scheme="http://www.blogger.com/atom/ns#" term="c öğren"/><category scheme="http://www.blogger.com/atom/ns#" term="kolay c"/><title type='text'>C Dili - İpuçları 01</title><content type='html'>&lt;br/&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-2236472939975766&quot;;
/* jmd-tanitim */
google_ad_slot = &quot;7694447632&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;br/&gt;&lt;p&gt;C de değeri olan değişkene, örneğin bu tamsayı değişkeni olsun değer ekleme yapacak isek aşağıdaki gibi yaparız.&lt;/p&gt;&lt;pre&gt;int deger=10;
deger=deger+5; //yeni değer 15
&lt;/pre&gt;&lt;p&gt;kodu kısa tutmak için aşağıdaki kodda da aynı işlemi yaparız.&lt;/p&gt;&lt;pre&gt;deger+=5; //yeni değer gene 15
&lt;/pre&gt;&lt;p&gt;+ yerine (-,*,/,%) dan istediklerinizi de koyabilirsiniz.&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/1497462496216230392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103111626363143916/posts/default/1497462496216230392'/><link rel='alternate' type='text/html' href='http://c-dili.blogspot.com/2011/06/c-dili-ipuclar-01.html' title='C Dili - İpuçları 01'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>