Tuesday, November 3, 2009

structured programming

retrieve back my memory on structured programming...i spend my last night 'study' and doing a program. almost one sem i dint do such programming. after all, i had reinstall devc 4.9.9.2 first...huuhu

part of it...

****

void copy_data(ifstream& oldout , ofstream& newdata)
{
string Name;
int ID;
string scholar;
double GPA;

while(oldout >> Name >> ID >> GPA >> scholar)
{
newdata << Name << "\t" << ID << "\t" << GPA << "\t" << scholar << "\n";
}
}

****

...compiling....












"Error"
cess...ade je masalah...tape2...buat agy...

!%&^$^@%&@)@*(&@(@

....compiling....












"Error"

arghh....bole tahan degil komputer nieh...
&^%^&@)^&@@)

...compiling.....



















done!...but i did spend almost 5 hours++....aiseh..program cam gni pon takes time...tapi tape,usaha n try n error tuh penting...at least i can polish up my programming skill...takde la sia2 sangat beribu2 aku bayar yuran kat utp tuk blaja subject SP nie...huuu~

So, after this for those who need help to do their structured programming program cplusplus@C++@seepelaspelas...im gratefull to be the one...tapi..kene blanje la nanti..haaha~

***

oke,tomorrow i got thermo test...ayuh study!;-)

No comments:

Post a Comment