CREATION OF DATA BASE FOR SOLID LIQUID AND GAS STATE
firts i will disucss how to create a full flegdge data base imagine there is cretae table method in whihc parmetr you wnat to insert then you will insert value by insert value
so firts we cretae method where int methdoname here we use masking of create table how it will psiisbel we use one file where we take the file name that name is table and then its retrun could be any things like cretae or what so ever so what will be tbale is filed in whihc we drop parmeter and cretae will be so in it varchar that is arrny name you will hae multipel parameter so how
how we could cretae by using file a data bases imagine you will use create file file name so in it you hae to use dtaa strutcure in it so we we give argumeey to thsi metsho tah calle cfretae it will be under in prorgamme and we pass argumenet then thsi goes in create file filename(){}
cretae you could take retrun type cast menas you coudl tyep cost in object means we need object c here to type cast create so in it we use array this i diffrent data base that work on arary of obejct
so and linke menas linked list so here we use create file filename(int id ,name varchar(30));
so in it we have to use linked list we use cretae as one linekd list valye and then address of table then atble name then
their int id and name varchar
so how it will be
create --link with file link with file name link with int id link with name varchar type
and they link by addresses
now imagine we wnat to inserte thene to insert we use inert insetrt into value string link to values and linekd list and then teir addres and it will measure by above linked lsit which nam is cretae with insetr and easliy it will make data the selsetc * from table then from tale it will firts chehekc tabel name in linke list cretae then in isnert when it match it will chehkc the dtaa type of linee list and then in isnert values then from then it will coem from selcte but if you dont wnat to use non dynamic so you coudl sue dyanmic mallco calloc difefretiatio
how willl look like linke dlist
create table tablename string cretae thene notehr value thene another value then address then pointer will goes to its data type
so how in that wya solid liquid and gas states dtaa bases thsi will same make by means heer dtata type will solid number liquid numebr and gas numebr of single numebr that is 1 to 10 or mroe thne menas if we take 2 then solid state of 2 and liquid state of 2 and then gaseosus state of 2
Comments
Post a Comment