siMonsaYs 0 Report post Posted December 6, 2010 salam..macam mana nak panggil data yang kita simpan dalam database guna c++?? contohnye macam sifir..semua jumlah dah tersimpan..so bila aku key in dah tros dapat. Quote Share this post Link to post Share on other sites
syahmixp 44 Report post Posted December 9, 2010 wslm, kurang faham soalan En. Nudin ni... klau file database format reka sendiri, boleh open guna fungsi [url="http://msdn.microsoft.com/en-us/library/aa363858%28VS.85%29.aspx"][b]CreateFile [/b][/url](windows) atau fungsi [url="http://www.cplusplus.com/reference/clibrary/cstdio/fopen/"][b]fopen[/b][/url] ada byk tutorial mcmmana nak guna dua2 fungsi ni utk buka dan baca file. Quote Share this post Link to post Share on other sites
unexistance 3 Report post Posted December 11, 2010 kalau sifir, bukan boleh calculate on the spot ke? Quote Share this post Link to post Share on other sites
siMonsaYs 0 Report post Posted December 13, 2010 [quote name='syahmixp' timestamp='1291904794' post='1056070'] wslm, kurang faham soalan En. Nudin ni... klau file database format reka sendiri, boleh open guna fungsi [url="http://msdn.microsoft.com/en-us/library/aa363858%28VS.85%29.aspx"][b]CreateFile [/b][/url](windows) atau fungsi [url="http://www.cplusplus.com/reference/clibrary/cstdio/fopen/"][b]fopen[/b][/url] ada byk tutorial mcmmana nak guna dua2 fungsi ni utk buka dan baca file. [/quote] kirenye camni..ak na wt stu program,yg boley kira jumlah nilai pertama dan kedua bila dibahagikan dan nilai tersebut sudah berada di dalam database.So,bila key in nilai satu dan key in nilai dua,jumlah terus terpapar dan kemudian baru didarab dengan jumlah barang yang ditempah. Database yg mane lebih mudah?access or my sql? tq. Quote Share this post Link to post Share on other sites
syahmixp 44 Report post Posted December 20, 2010 kalau ikut pengalaman saya, sqlite lebih mudah Quote Share this post Link to post Share on other sites