Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 
c++ 新增 修改 刪除 結束程式如何解答
Oct 28th 2014, 06:22

寫一個程式 功能如下:
(1).可讓使用者先輸入:1.新增2.修改3.刪除4.結束程式
(2).按1為新增資料:可依序輸入: 學號,姓名,班級,並記錄之
(3).案2為修改資料:以及有資料中的學號為索引,修改對應的姓名與班級內容
(4)案3為刪除程式,並將現有的資料以學號"由小到大"排序後顯示在螢幕上
而程式中需包含:
(1)建立"SDATA"結構名稱,內容包含:學號,姓名,班級等欄位
(2)新增"CDATA"類別,其成員變數包含CDATA結構的指標陣列:*lps[1000],以計入輸入資料
(3)將新增,修改,刪除,及排序等功能以CDATA的"成員函數"撰寫
(4)修改資料的函數須為多載函數,例如:modify(int index,string name),modify(int index,string name,string cla),可以只修改姓名或同時修改姓名與班級。

有哪位高手能幫幫忙 謝謝~~~

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.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 nbvztt6rqhji7 的頭像
    nbvztt6rqhji7

    進擊的巨人14, 進擊的巨人線上看, 進擊的巨人漫畫, 進擊的巨人遊戲, 進擊的巨人 動畫, 進擊的巨人 線上漫畫, 進擊的巨人14線上看, 進擊的巨人13, 進擊的巨人 h, 進擊的巨人op

    nbvztt6rqhji7 發表在 痞客邦 留言(0) 人氣()