thanks for the advise ...
actually ive found the problem, its it the alokasi(alocation) function, i havent assign the input.^^(clumpsy)
address alokasi(int noBrg, char namaBrg[20], int jmlBrg, int Harga)
{
address P;
P=new(Node);
if(P != nil)
{
(P)->no_brg; //suppose to assign the input value
(P)->nama_brg;
(P)->jml_brg;
(P)->harga;
Next(P)=nil;
}
------------------------------------------------------------------------------------
but there is another problem, if i want to allow the user to edit the data that they've insert ... should i make a function or there are other way???
because ive made this "Edit" function, but every time the function accessing the data on the list ... the program will terminated /error.
this is what the "Edit" function do:
1. resiving an address return from "Search" function.
2. reciving data input
3. accessing the node, by its address that recived....
-vip-