ads

Wednesday, October 28, 2009

stadi sampai muntah!! Ngeng!!

okeh...gmbaq kecik...huhu..
aku tngh stadi nei...da thp nak terkeluaq big mac lunch tdi dri prot aku...adoii..
aku pun beli la bekal tdi..
epal pie yg dah sejuk nie..aku telan la jugak...
laapq punya pasai...
nak p mkn da x smpat...c++ yg merungsingkan kepala lutut aku nie la penyebab segalanya..
maka.....
tiba2 aku dapat idea bodo...
akhirnya...
pic kat bawah ni la hasilnya.....bodo ja rasa..
tpi bgos gak cara nak lepas tension...at lis aku ada cara..
daripada p bunuh diri kan..nauzubillah..mintang simpang...
adoiii....
ngeng3...
disini aku ingin serta kan beberapa potong kek C program..
aku ska menatang nie..tpi aku x reti..tatao2...aku penin...
sila nikmati sampai muntah..
okkeeyy...
......................................................................................................
#include

int A[2][2],B[2][2];

main()
{
int i,j;
FILE*cf;
cf=fopen("Matrix.dat","w");

for(i=0;i<=1;i++)
{
for(j=0;j<=1;j++)
{
printf("Enter value for matrix A [%d][%d] = ",i,j);
scanf(" %d",&A[i][j]);
}
}
printf("\n");

for(i=0;i<=1;i++)
{
for(j=0;j<=1;j++)
{
printf("Enter value for matrix B [%d][%d] = ",i,j);
scanf(" %d",&B[i][j]);
}
}

for(i=0;i<=1;i++)
{
for(j=0;j<=1;j++)
{
fprintf(cf,"%d\n",A[i][j]);
fprintf(cf,"%d\n",B[i][j]);
}
}

cf=fopen("Matrix.dat","r");

while(!feof(cf))

{

fscanf(cf,"%d",&A[i][j]);
fprintf(stdout,"\nA = [%d %d]\n",A[0][0],A[0][1]);
fprintf(stdout," [%d %d]\n\n",A[1][0],A[1][1]);

fscanf(cf,"%d",&B[i][j]);
fprintf(stdout,"\nB = [%d %d]\n",B[0][0],B[0][1]);
fprintf(stdout," [%d %d]\n\n",B[1][0],B[1][1]);
}

fclose(cf);
}
.........................................................................................................
aku nak smbung stadi plak...
muntah2 pun stadi ttp kna weiii....
susah mcm mana pun, aku kna jgak bwt..
hahaha..
harap maaf..
en3 aku x berfaedah untuk under 18..sekian terima kaseh...

7 luahan perasaan =):

megi said... Reply To This Comment

jgn la stadi hard sgt..
stadi smart2..lawa2..
baru arr tak muntah...
=)

aliya azizan said... Reply To This Comment

gud luck!

cik.aya said... Reply To This Comment

hey.mcm ku kenal coding tuh.
haha.
goodluck dyla!
;)

nada oh nada said... Reply To This Comment

tekanan jiwa ka? tak betoi dh. haha

dyla ahmad said... Reply To This Comment

to megi: kene lawa2 ke??waaa..

to aliya: tq!!=)

to aya: hahha...ciplak aja..
gud luck too okeh...

to nada: huhuhu..bru hg tao ka??hahaha

wanhairi said... Reply To This Comment

rilex r miss adi...masa studi tu cuba kita pikir detik 4.11... tangan di sisi diagkat ke atas sambil melaugka merdeka...fuhhh...puas hati...

dyla ahmad said... Reply To This Comment

yeahhh...xsabaq aku dengaq..
hg bwt aku maken berkobar kobar..
tenkiu q..
yearghhhhh....