1111 John Smith 320 Emei Street Taipei Taiwan 10892 2 M Y 2222 Jane Dow 200 South Kaohsing Taiwan 10928 5 S N 3333 Jofn Dow 1234 Sun Taichug Taiwan 10783 3 S N 4444 Kat Rich 12 Oak Park NewTaiei Taiwan 10343 2 M Y
我的主程式
1. int main(void) 2. { 3. struct mydata 4. { 5. short int custID; 6. char name[25]; 7. char Address1[30]; 8. char Address2[30]; 9. int order; 10. char type; 11. char risk; 12. } customer;
RECORD customer;
我想把上面input.txt的資料每一行(多行) 都printf出來 程式該怎麼寫呢??
This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers. Five Filters recommends:
留言列表