View: 2562|Reply: 8
|
C Programming : Read Data from Files
[Copy link]
|
|
salam..
saya tengah pening nak menyelesaikan masalah C programming saya ni.. saya ada 1 file nama student.txt. Dalam tu ada nama student, studentid and markah2 yang dia peroleh sepanjang pengajian.Contoh :
Nama ID Test1 Test2 Assignment1
abu II123 10 10 50
Zaid II456 9 5 30
Then dia bgtau kiraan final mark spt:
Test1 and Test2 - 20% each test
Assignment - 20% each test
Macamana, saya nak kira OVERALL AVERAGE MARK AND GRADE?
Pening2..huhu Last edited by madura on 13-12-2012 03:47 PM
|
|
|
|
|
|
|
|
u just nak calculation or source code utk guna file I/O ? |
|
|
|
|
|
|
|
annadellia posted on 13-12-2012 06:44 PM
u just nak calculation or source code utk guna file I/O ?
calculation dh dpt..sangkut kat source code..huhuhu |
|
|
|
|
|
|
|
madura posted on 14-12-2012 10:22 AM
calculation dh dpt..sangkut kat source code..huhuhu
post ur source code kat sini... maybe i can help..
dah lama x buat C ni.. huhu
|
|
|
|
|
|
|
|
c++ leh la. c aku x brp master sgt... |
|
|
|
|
|
|
|
paste dulu source code kat sini |
|
|
|
|
|
|
|
dia nak suruh kita buatkan terus nih. if not, mesti dia dah letak source code utk orang lain semak |
|
|
|
|
|
|
|
payahlah kalau tak usaha sendiri, sekurang-kurang 1Ayat coding |
|
|
|
|
|
|
|
sori la..dah hantar dah pun assignment.. actually dh buat.. ada part yang pening..tu yang post kat sini tu..xbaik tau tuduh2.. bkn hari2 nak tgk thread ni..mod boleh tutup thread ye..thanks |
|
|
|
|
|
|
| |
|