... nur stdbool.h einbinden und schon hast du "bool ...
Manchmal brauche ich Anstöße - dann fällt mir wieder ein, dass ich schon mal fündig geworden war. Bei mir liegt das z.B. im directory
...\WinAVR-20100110\lib\gcc\avr\4.3.3\include
In dieser stdbool.h steht dann noch:
Code:
...
/* As a special exception, if you include this header file into source
files compiled by GCC, this header file does not by itself cause
the resulting executable to be covered by the GNU General Public
License. This exception does not however invalidate any other
reasons why the executable file might be covered by the GNU General
Public License. *//*
* ISO C Standard: 7.16 Boolean type and values <stdbool.h>
*/
...
Lesezeichen