Geri git   Van.GEN.TR Forum | Yerel Van Forumu > Bilgisayar > Programlama > Pascal

Cevapla
 
Konu Araçları Stil
Alt 06/04/07, 04:26   #1
gokhanaygun
Tuğgeneral
 
gokhanaygun - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Apr 2007
Bulunduğu yer: VAN
Yaş: 36
Mesajlar: 924
Tecrübe Puanı: 26 gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold
Standart Doğal gaz kayıt programı....

Ya kardeş saat sabahın 4 u oldu ama ben hala kod yazıyorum ....


valla daha yarım oldu inş. biter sabahaaaaa...

inşlaahhh.....
gokhanaygun isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Konu Sayısı: 187
Alt 06/04/07, 15:25   #2
maverick63
Acemi Er
 
maverick63 - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Apr 2007
Mesajlar: 16
Tecrübe Puanı: 0 maverick63 will become famous soon enough
Standart

abı Allah rası olsun ne dıyım buyuksun hemşoo..
maverick63 isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Konu Sayısı: 2
Alt 06/04/07, 15:34   #3
gokhanaygun
Tuğgeneral
 
gokhanaygun - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Apr 2007
Bulunduğu yer: VAN
Yaş: 36
Mesajlar: 924
Tecrübe Puanı: 26 gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold
Standart

(*Doğal gaz takip programı....copright(c) by gokhan aygun ..*)

uses crt;
type
kayit=record
no,soy,isim,adres,borcu:string[30];
f:char;
end;

var
dosya:file of kayit;
kay:kayit;
h,i,s,a,k,kod:integer;
HH,ara:string[30];
t:string;


tus:char;
label
sifre,MENU,ekle,fatura,arama,ecikis;


begin
clrscr;
sifre:
writeln('Dikkat!!!! žifreyi yanl?Ÿ girerseniz program kapanak demedi demeyin ');
writeln('žifreniz..');
readln(a);
if a<>1987 then

halt else
goto MENU;
MENU:
clrscr;

textbackground(12);

textcolor(6);

gotoxy(30,8);write('Dogal Gaz Takip Programi');

gotoxy(30,10);writeln('<<<<<<<<<<<<<1>-Abone Ekle<<<1>>>>>>>>>>>>>>>');
gotoxy(30,11);writeln('<<<<<<<<<<<<<2>-Fatura<<<<<<<2>>>>>>>>>>>>>>>>>>>>');
gotoxy(30,12);writeln('<<<<<<<<<<<<<3>-Abone ara<<<<3>>>>>>>>>>>>>>>>>>');
gotoxy(30,13);writeln('<<<<<<<<<<<<<4>-Abone sil<<<<4>>>>>>>>>>>>>>>>>>>');
gotoxy(30,14);writeln('<<<<<<<<<<<<<5>-Abone düzelt<5>>>>>>>>>>>>>>>>>');
gotoxy(30,15);writeln('<<<<<<<<<<<<<6>-CIKIS<6>>>>>>>>>>>>>>>>>>>>>>>');
gotoxy(10,20);write('LUTFEN YAPACAGINIZ ISLEMIN NUMARASINI GIRINIZ (1/2/3/4/5/6)');readln(h);

if h=1 then goto ekle;

if h=2 then goto fatura;
if h=3 then goto arama;
if h=6 then goto ecikis;

ekle:
assign(dosya,'GOKHAN.txt');
{$i-} reset(dosya);kod:=ioresult;{$i+};
if kod<> 0 then rewrite(dosya);
repeat
clrscr;
gotoxy(30,10);write('SAYAÇ >');readln(kay.no);
if kay.no='' then GOTO MENU;
gotoxy(30,11);write('ADI >');readln(kay.isim);
gotoxy(30,12);write('SOYADI >');readln(kay.soy);
gotoxy(30,13);write('ADRES >');readln(kay.adres);
gotoxy(30,14);write('BORCU >');readln(kay.borcu);

gotoxy(20,25);writeLN('ABONE DOSYAYA KAYDEDILSIN MI? (E/H)') ;
repeat
tus:=upcase(readkey);
until tus in ['E','H'];
if tus='E' then
begin
kay.f:='*';
seek(dosya,filesize(dosya));
write(dosya,kay);
end;
textcolor(31);
writeln('ANA MENUYE DONMEK ICIN BIR TUSA BASINIZ...');READLN(HH);
until KEYPRESSED;
close(dosya);
GOTO MENU;


arama:
assign(dosya,'GOKHAN.txt');
{$i-} reset(dosya);kod:=ioresult;{$i+};
if kod<>0 then
begin
writeln('ABONE BULUNAMADI...');
tus:=readkey;
halt;
end;
repeat
clrscr;
gotoxy(20,13);write('ARADIGINIZ ABONENIN SAYAÇ NUMARASINI GIRINIZ>');readln(ara);
if ara='' then exit;
for i:=0 to filesize(dosya)-1 do
begin
seek(dosya,i);
read(dosya,kay);
if (kay.f='*') and (kay.no=ara) then
begin
clrscr;
gotoxy(30,10);writeln('SAYAÇ...: >',kay.no);
gotoxy(30,12);writeln('ADI >',kay.isim);
gotoxy(30,13);writeln('SOYADI >',kay.soy);
gotoxy(30,14);writeln('ADRES....>',kay.adres);
gotoxy(30,15);writeln('BORCU>',kay.borcu);

writeln;
gotoxy(20,20);write('ARADIGINIZ ABONE BU MU? (E/H)');
repeat
tus:=upcase(readkey);
until tus in ['E','H'];
if tus='E' then exit;
end;
end;
writeln;
gotoxy(27,15);writeln('ARADIGINIZ ABONE KAYITLARDA YOK...');
tus:=readkey;
until 1=2;
close(dosya);
writeln('ANA MENUYE DONMEK ICIN BIR TUSA BASINIZ...');
READKEY;
GOTO MENU;
fatura:
assign(dosya,'GOKHAN.txt');
{$i-} reset(dosya);kod:=ioresult;{$i+};
if kod<>0 then
begin
writeln('Kayıtlı abone yok...');
tus:=readkey;
halt;
end;
clrscr;
writeln(' SAYAC ADI SOYADI ADRESİ BORCU');
writeln('========================================= =================================');
s:=2;
k:=0;
for i:=0 to filesize(dosya)-1 do
begin
seek(dosya,i);
read(dosya,kay);
if kay.f='*' then
begin
s:=s+1;
k:=k+1;
gotoxy(1,s);write(kay.no);
gotoxy(10,s);write(kay.isim);
gotoxy(20,s);write(kay.soy);
gotoxy(27,s);write(kay.adres);
gotoxy(70,s);write(kay.borcu);

end;
if s>18 then
begin
gotoxy(20,21);
write('DIGER SAYFA ICIN BIR TUSA BASINIZ...');
tus:=readkey;
s:=2;
clrscr;
end;
end;
gotoxy(20,21);
write('FATURA KAYITLARI BITTI...');
tus:=readkey;
close(dosya);
gotoxy(15,23);writeln('ANA MENUYE DONMEK ICIN BIR TUSA BASINIZ...');
READKEY;
GOTO MENU;
ecikis:
writeln('Cikis');
END.
gokhanaygun isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Konu Sayısı: 187
Alt 08/04/07, 16:34   #4
gokhanaygun
Tuğgeneral
 
gokhanaygun - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Apr 2007
Bulunduğu yer: VAN
Yaş: 36
Mesajlar: 924
Tecrübe Puanı: 26 gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold
Standart

doğal gaz pro..nun 2.si yazım aşamasında ..elektrikler ve sular kesilmesse


az kaldı çok az..
gokhanaygun isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Konu Sayısı: 187
Alt 20/06/08, 15:32   #5
firari
Mareşal
 
firari - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Sep 2007
Mesajlar: 5.835
Tecrübe Puanı: 104 firari has a reputation beyond repute firari has a reputation beyond repute firari has a reputation beyond repute firari has a reputation beyond repute firari has a reputation beyond repute firari has a reputation beyond repute firari has a reputation beyond repute firari has a reputation beyond repute firari has a reputation beyond repute firari has a reputation beyond repute firari has a reputation beyond repute
Standart

Paylaşım için tşkler…
__________________



firari isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Konu Sayısı: 613
Takımınız:
Alt 30/06/08, 01:49   #6
Mattet
Cumhurbaşkanı
 
Mattet - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: May 2008
Bulunduğu yer: van
Mesajlar: 7.027
Tecrübe Puanı: 48 Mattet has a reputation beyond repute Mattet has a reputation beyond repute Mattet has a reputation beyond repute Mattet has a reputation beyond repute Mattet has a reputation beyond repute Mattet has a reputation beyond repute Mattet has a reputation beyond repute Mattet has a reputation beyond repute Mattet has a reputation beyond repute Mattet has a reputation beyond repute Mattet has a reputation beyond repute
Standart

teŞekkÜrler PaylaŞim İİÇİn
__________________





Düşmeden Bulutlarda Koşmam GereK !
Mattet isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Konu Sayısı: 866
Alt 31/07/08, 15:47   #7
Neutralizer
Yasaklı kullanıcı
 
Neutralizer - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Jan 2008
Bulunduğu yer: İstediğin yerden
Mesajlar: 1.883
Tecrübe Puanı: 0 Neutralizer has a reputation beyond repute Neutralizer has a reputation beyond repute Neutralizer has a reputation beyond repute Neutralizer has a reputation beyond repute Neutralizer has a reputation beyond repute Neutralizer has a reputation beyond repute Neutralizer has a reputation beyond repute Neutralizer has a reputation beyond repute Neutralizer has a reputation beyond repute Neutralizer has a reputation beyond repute Neutralizer has a reputation beyond repute
Standart

Abi sen çok yorulmuşsun yaa paylaşım için tşkrlr
Neutralizer isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Konu Sayısı: 316
Takımınız:
Cevapla


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 

Yetkileriniz
Yeni Mesaj yazma yetkiniz Aktif değil dir.
Mesajlara Cevap verme yetkiniz aktif değil dir.
Eklenti ekleme yetkiniz Aktif değil dir.
Kendi Mesajınızı değiştirme yetkiniz Aktif değildir dir.

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Gitmek istediğiniz klasörü seçiniz


Bütün Zaman Ayarları WEZ +3 olarak düzenlenmiştir. Şu Anki Saat: 02:19 .


Powered by vBulletin
Copyright © 2000-2007 Jelsoft Enterprises Limited.
Sitemap
6, 5, 3, 7, 8, 9, 10, 11, 12, 13, 14, 15, 113, 16, 17, 18, 19, 81, 20, 27, 22, 23, 24, 25, 26, 48, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 43, 136, 40, 58, 45, 42, 44, 46, 47, 53, 54, 55, 56, 57, 59, 60, 70, 61, 62, 63, 64, 65, 66, 68, 69, 71, 72, 74, 75, 76, 77, 78, 79, 80, 82, 83, 96, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 98, 97, 100, 101, 102, 103, 106, 104, 105, 112, 109, 108, 107, 110, 111, 114, 115, 118, 116, 117, 119, 148, 154, 124, 165, 122, 120, 123, 121, 150, 153, 125, 128, 129, 131, 132, 133, 134, 135, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 151, 149, 202, 175, 164, 152, 167, 155, 156, 157, 158, 159, 160, 161, 162, 163, 195, 169, 166, 168, 170, 171, 172, 199, 174, 173, 196, 200, 176, 177, 180, 178, 179, 182, 189, 187, 184, 186, 191, 192, 193, 194, 197, 198, 201, 203, 229, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 236, 231, 232, 233, 234, 235, 237, 240, 239, 241, 243, 242, 244,