Hoşgeldin, Ziyaretçi
Sitemizden yararlanabilmek için Kayıt olmalısınız.
Son Yorumlar
Corleone Grafik Malzemele...
Forum: Grafik Tasarım
Son Yorum: internetdunyam
07-01-2023, 05:43 AM
» Yorumlar: 6
» Okunma: 1,720
Matriste Matris Arayan C ...
Forum: C++,
Son Yorum: iamshivaniroy
12-06-2022, 07:14 AM
» Yorumlar: 3
» Okunma: 2,286
Youtube’da daha cok Kazan...
Forum: Sosyal Medya
Son Yorum: emilyjaneej
11-16-2022, 08:04 AM
» Yorumlar: 3
» Okunma: 1,953
Kültür Nedir ?
Forum: Kültür
Son Yorum: PlumandPeaches
04-08-2022, 05:22 AM
» Yorumlar: 1
» Okunma: 528
Ziyaretçi Bazlı SEO Nedir...
Forum: Seo
Son Yorum: mehmet02
02-08-2021, 07:55 PM
» Yorumlar: 2
» Okunma: 4,173
professional presentation...
Forum: Diğer Çalışmalarınız
Son Yorum: Galenzes
01-13-2018, 12:50 AM
» Yorumlar: 0
» Okunma: 810
esl paper writers service...
Forum: Diğer Çalışmalarınız
Son Yorum: Galenzes
01-13-2018, 12:48 AM
» Yorumlar: 0
» Okunma: 814
thesis driven essay templ...
Forum: Diğer Çalışmalarınız
Son Yorum: Galenzes
01-13-2018, 12:46 AM
» Yorumlar: 0
» Okunma: 782
order education annotated...
Forum: Diğer Çalışmalarınız
Son Yorum: Galenzes
01-13-2018, 12:44 AM
» Yorumlar: 0
» Okunma: 787
presentation editor for h...
Forum: Diğer Çalışmalarınız
Son Yorum: Galenzes
01-13-2018, 12:42 AM
» Yorumlar: 0
» Okunma: 815
Matriste Matris Arayan C Programı
Yazar: Gameiro # - 12-20-2015, 10:13 AM - Forum: C++,
- Yorumlar (3)
Kod:
#include <stdio.h>
#include <stdlib.h>
int main()
{
int matris[5][8]={ {1,5,6,7,8,2,3,5},
{6,9,3,6,7,9,5,3},
{2,6,1,0,3,2,0,3},
{9,3,6,8,7,4,8,9},
{5,2,3,4,9,5,2,4} };
int aranan_matris[3][4]={ {7,9,5,3},
{3,2,0,3},
{7,4,8,9} };
int a, b, c, d, bulundu=0;
int bulundugu_satir, bulundugu_sutun;
for(a=0; a<=5-3; a++){
for(b=0; b<=8-4; b++){
if(aranan_matris[0][0]==matris[a][b]){
bulundugu_satir=a;
bulundugu_sutun=b;
for(c=0; c<3; c++){
for(d=0; d<4; d++){
if(aranan_matris[c][d]==matris[a+c][b+d])
bulundu=1;
else{
bulundu=0;
break;
}
}
if(bulundu==0)
break;
}
}
if(bulundu==1){
printf("\n Matris %d. satir %d. sutunda bulundu.\n", bulundugu_satir+1, bulundugu_sutun+1);
return 0;
}
}
}
if(bulundu==0)
printf("\n Matris bulunamadi.\n");
return 0;
} [/b]
Eksi işareti kullanılmadan iki sayının farkını bulan C programı
Yazar: Gameiro # - 12-20-2015, 10:12 AM - Forum: C++,
- Yorum Yok
Kod:
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b,c=0,i;
printf("ilk sayiyi gir ");
scanf("%i",&a);
printf("ikinci sayiyi gir ");
scanf("%i",&b);
if(a>b)
{
i=b;
sart:
if(i==a) goto yaz;
i=i+1;
c=c+1;
goto sart;
}
else
{
i=a;
sart2:
if(i==b) goto yaz;
i=i+1;
c=c+1;
goto sart2;
}
yaz:
printf("iki sayinin farki:%i \n",c);
system("pause");
return 0;
}
Girilen harfi büyükse küçüğe küçükse büyüğü çeviren program
Yazar: Gameiro # - 12-20-2015, 10:12 AM - Forum: C++,
- Yorum Yok
Kod:
#include <stdio.h>
#include <conio.h>
main()
{
char secim;
printf("Bir harf giriniz: ");
scanf("%c",&secim);
if(64<secim && secim<91)
{
secim=secim+32;
printf("\n :%c",secim);
}
else
{
secim=secim-32;
printf("\n :%c",secim);
}
getch();
}
C ile 1 - 999 Arası Girilen Rakamı Yazıyla Yazdırma
Yazar: Gameiro # - 12-20-2015, 10:11 AM - Forum: C++,
- Yorum Yok
Kod:
#include <stdio.h>
int yaz(int sy)
{
if (sy < 10){
switch (sy)
{
case 1: printf("Bir"); break;
case 2: printf("Iki"); break;
case 3: printf("Uc"); break;
case 4: printf("Dort"); break;
case 5: printf("Bes"); break;
case 6: printf("Alti"); break;
case 7: printf("Yedi"); break;
case 8: printf("Sekiz"); break;
case 9: printf("Dokuz"); break;
}
}
if (sy >= 10 && sy < 100)
{
switch ((sy - (sy % 10)) / 10)
{
case 1: printf("On"); yaz(sy % 10); break;
case 2: printf("Yirmi"); yaz(sy % 10); break;
case 3: printf("Otuz"); yaz(sy % 10); break;
case 4: printf("Kirk"); yaz(sy % 10); break;
case 5: printf("Elli"); yaz(sy % 10); break;
case 6: printf("Altmis"); yaz(sy % 10); break;
case 7: printf("Yetmis"); yaz(sy % 10); break;
case 8: printf("Seksen"); yaz(sy % 10); break;
case 9: printf("Doksan"); yaz(sy % 10); break;
}
}
}
main()
{
int sayi, sayi2;
basla:
printf("1 ile 999 arasi bir sayi giriniz: ");
scanf("%d", &sayi);
printf("n");
if (sayi < 1 || sayi > 999){printf("n"); goto basla;
}else{
if (sayi < 10){
switch (sayi)
{
case 1: printf("Bir"); break;
case 2: printf("Iki"); break;
case 3: printf("Uc"); break;
case 4: printf("Dort"); break;
case 5: printf("Bes"); break;
case 6: printf("Alti"); break;
case 7: printf("Yedi"); break;
case 8: printf("Sekiz"); break;
case 9: printf("Dokuz"); break;
}
printf("n");
}
if (sayi >= 10 && sayi < 100)
{
switch ((sayi - (sayi % 10)) / 10)
{
case 1: printf("On"); yaz(sayi % 10); break;
case 2: printf("Yirmi"); yaz(sayi % 10); break;
case 3: printf("Otuz"); yaz(sayi % 10); break;
case 4: printf("Kirk"); yaz(sayi % 10); break;
case 5: printf("Elli"); yaz(sayi % 10); break;
case 6: printf("Altmis"); yaz(sayi % 10); break;
case 7: printf("Yetmis"); yaz(sayi % 10); break;
case 8: printf("Seksen"); yaz(sayi % 10); break;
case 9: printf("Doksan"); yaz(sayi % 10); break;
}
printf("n");
}
if (sayi >=100 && sayi < 1000)
{
sayi2 = ((sayi - (sayi % 100)) / 100);
if (sayi2 > 1) {yaz(sayi2);}
printf("Yuz");
yaz(sayi % 100);
}
printf("n");
goto basla;
}
}
Metin şifreleme
Yazar: Gameiro # - 12-20-2015, 10:11 AM - Forum: C++,
- Yorum Yok
Kod:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <locale.h>
int main(int argc, char *argv[]) {
int i,x;
char a[10000],y;
setlocale(LC_ALL,"turkish");
tekrar:
printf("metni giriniz\n");
scanf("%s",&a);
printf("şifre çözmek için '1' şifrelemek için'0'\n");
scanf("%d",&x);
if(x==0)
for(i=0; i<strlen(a);i++){
if(a[i]>=65 && a[i]<=90)
{
a[i]=a[i]+5;
if(a[i] > 90)
a[i] = (a[i]%90)+64;
}
else if(a[i]>=97 && a[i]<=122)
{
a[i]=a[i]+5;
if(a[i] > 122)
a[i] = (a[i]%122)+96;
}
else
{
printf("hatalı giriş\n");
goto tekrar;
}
printf("%c",a[i]);
}else if(x==1)
for(i=0; i<strlen(a);i++){
if(a[i]>=65 && a[i]<=90)
{
a[i]=a[i]-5;
if(a[i] < 65)
a[i] = (a[i]%65)+26;
}
else if(a[i]>=97 && a[i]<=122)
{
a[i]=a[i]-5;
if(a[i]<97)
a[i] = (a[i]%97)+26;
}
else
{
printf("hatalı giriş\n");
goto tekrar;
}
printf("%c",a[i]);
}
return 0;
}
Sayının Negatif mi, Pozitif mi, Yoksa Sıfır mı Olduğunu Göstermek
Yazar: Gameiro # - 12-20-2015, 10:10 AM - Forum: C++,
- Yorum Yok
Sayının Negatif mi, Pozitif mi, Yoksa Sıfır mı Olduğunu Göstermek
Kod:
#include<stdio.h>
#include<conio.h>
main()
{
int a;
printf("Sayiyi Giriniz=");
scanf("%d",&a);
if(a<0)
printf("Sayi Negatiftir");
else if(a>0)
printf("Sayi Pozitiftir");
else
printf("Sifirdir");
getch();
}
C++ ile Dört İşlem Yapan Bir Hesap Makinesi Yapmak
Yazar: Gameiro # - 12-20-2015, 10:09 AM - Forum: C++,
- Yorumlar (1)
C++ ile toplama çıkarma çarpma ve bölme yapabilen bir hesap makinesi yapalım...
HTML-Kodu:
Kod: Tümünü Seç Tümünü Kopyala
[color=#333333][size=small][font=Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif][size=x-small]#include [color=#000080]<cstdlib>[/color]
#include [color=#000080]<iostream>[/color]
using namespace std;
int main(int argc,char *argv[])
{
cout[color=#000080]<<"*************************************"<<endl;
cout<<"* HESAP MAKINESI *"<<endl;
cout<<"* TOPLAMA ICIN [+] *"<<endl;
cout<<"* CIKARMA ICIN [-] *"<<endl;
cout<<"* BOLME ICIN [/] *"<<endl;
cout<<"* CARPMA ICIN *"<<endl; cout<<"* Islemlerini Kullaniniz *"<<endl;
cout<<"* Sanalkurs.net *"<<endl;
cout<<"*************************************"<<endl;
system("color F0");
float sayi1,sayi2,sonuc;
char islem;
cout<<"1.sayiyi giriniz :";
cin>[/color]>sayi1;
cout[color=#000080]<<"islemi giriniz :";
cin>[/color]>islem;
cout[color=#000080]<<"1.sayiyi giriniz :";
cin>[/color]>sayi2;
switch(islem)
{
case '+':
sonuc = (sayi1+sayi2);
cout<<"Toplama Sonucu :"<<sonuc<<endl; break;
case '-':
sonuc = (sayi1-sayi2);
cout<<"Cıkarma Sonucu :"<<sonuc<<endl; break;
case '*':
sonuc = (sayi1*sayi2);
cout<<"Carpma Sonucu :"<<sonuc<<endl; break;
case '/':
sonuc = (sayi1/sayi2);
cout<<"Bolme Sonucu :"<<sonuc<<endl; break;
}
system("PAUSE");
return EXIT_SUCCESS;
}[/size][/font][/size][/color]
Kodlarımız hazır eğer arka plan rengini değiştirmek siterseniz [b]system("color F0"); satırındaki f0 değiştirebilirsiniz 4a-5b vb. [/b]
Sony'den Tatil Dönemine Özel Yeni Bir Tanıtım
Yazar: Gameiro # - 12-19-2015, 02:41 PM - Forum: Oyun Haberleri
- Yorum Yok
Sony, Avrupa ve Amerika'da tatil dönemi satışlarını hızlandırmak için yeni bir tanıtım videosunu oyuncular ile paylaştı.
VIDEO
[b]Tanıtım videosunda aralarında Star Wars: Battlefront, Call of Duty: Black Ops III, Horizon: Zero Dawn, Street Fighter V, Uncharted 4: A Thief’s End ve No Man’s Sky oyunlarının yer aldığı görüntülere yer veriliyor.
[/b]
[b]
KAYNAK : LeaderGamer [/b]