問題タブ [error-messaging]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c - 絞首刑執行人ゲームを作るときに問題が発生しますか? ( c 言語)
私はまだC言語に本当に慣れていないので、絞首刑執行人ゲームを作ろうとしていますが、勝ったときにゲームを終了できません。
コードは次のとおりです。
エラーメッセージは次のとおりです。
main.c:197:48: 警告: 'iswordcomplete' の引数 2 を渡すと、キャスト [-Wint-conversion] なしで整数からポインターが作成されます
main.c:55:5: 注: 'char *' が予期されますが、引数は「文字」と入力</p>