H
howa
Hi,
How to accept bool value from stdin, using scanf?
e.g.
bool b ;
scanf_s("%d", &b);
It will show:
Unhandled exception at 0x0040a083 in MSFT.exe: 0xC0000005: Access
violation writing location 0xffffffe4.
Thanks.
How to accept bool value from stdin, using scanf?
e.g.
bool b ;
scanf_s("%d", &b);
It will show:
Unhandled exception at 0x0040a083 in MSFT.exe: 0xC0000005: Access
violation writing location 0xffffffe4.
Thanks.