Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
のようなC++構文を使用できないためcout、使用してみまし<conio.h>たが、それでも
cout
<conio.h>
「_gotoxy」への未定義の参照
どうしたの?conio.h標準ライブラリではないため、K&Rにもないと誰もが言います。誰でもアイデアを得ましたか?
conio.h
MinGW とコマンド プロンプトを使用しています。
リンクするときは、ncurses ライブラリを追加する必要があります。
$ gcc my-source.c -o my-program -lncurses
上記のコマンド ラインの最後のフラグ ( -lncurses) は、コンパイラに-lncurses ライブラリとのリンク ( ) を指示するものです。
-lncurses
-l