C/C++の宿題を片付けます 91代目at TECHC/C++の宿題を片付けます 91代目 - 暇つぶし2ch■コピペモード□スレを通常表示□オプションモード□このスレッドのURL■項目テキスト5:デフォルトの名無しさん 07/06/23 23:55:14 http://c0x.coding-guidelines.com/5.1.2.2.1.html 160 The function called at program startup is named main. 161 The implementation declares no prototype for this function. 162 It shall be defined with a return type of int and with no parameters: int main(void) { /* ... */ } 163 or with two parameters (referred to here as argc and argv, though any names may be used, as they are local to the function in which they are declared): int main(int argc, char *argv[]) { /* ... */ } 6:デフォルトの名無しさん 07/06/24 06:08:18 [1] 授業単元:プログラム [2] 問題文(含コード&リンク): 図書カードカタログ: 1.入力 2.著者名による検索 3.書名による検索 4.終了 選択項目を入力して下さい: ユーザーが1を選んだら書名、著者名、出版社の順に書名先頭に空白行が入力させるまで繰り返し入力させ続ける。 2,3を選んだ場合は特定の著者か書名を入力させ一致するものがあればその残りの情報も出力させる。 4.で終了 [3] 環境 [3.1] OS: (Windows/Linux/等々)WinXP [3.2] コンパイラ名とバージョン: (gcc 3.4 VC 6.0等)Borland C++ Compiler 5.5 [3.3] 言語: (C/C++/どちらでも可 のいずれか)cのみ [4] 期限: ([yyyy年mm月dd日hh:mmまで] または [無期限] のいずれか)無期 [5] その他の制限:ループ、if、switch、ポインタ、配列、自作関数まで習った、 使用可能なライブラリ stdio.h string.h conio.h stdlib.h ctype.h 自分で書いたコードです ttp://kansai2channeler.hp.infoseek.co.jp/cgi-bin/joyful/img/4365.txt なんかごちゃごちゃしてわかりにくくなってしまいました あと、なんども検索してるとバグっておかしくなってしまいます もっとキレイにうまく改善できませんか? 次ページ最新レス表示レスジャンプ類似スレ一覧スレッドの検索話題のニュースおまかせリストオプションしおりを挟むスレッドに書込スレッドの一覧暇つぶし2ch