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.
Borland C++ v3.1 でこの関数を作成しようとしていますが、「Declaration Syntax Error」というエラーが表示されます。誰でもこのエラーで私を助けることができますか?
bool f(bool* b) { }
これをソースファイルの先頭に置きます。その後動作する場合は、Borland c++単にタイプをサポートしていませんbool。そうでない場合、構文エラーが発生する理由がわかりません。
Borland c++
bool
typdef byte bool; #define true 1 #define false 0