This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
Anyone have tried to use the scanf function with CCE 3.2?.
The printf function works fine after enable the CIO function use and
specify the heap size to 400. The level of printf support was chosen
as full.
With IAR the IO console have two different spaces: one for output; the
other for input. In CCE the input and output share the same space
(with different colours).
The scanf function always returns -1.
Anyone can help?
Best Regards
AES
Scanf from the console does not seem to be working correctly in this version of CCE. It will be fixed in the next major release.
Scanf from files is working as expected. It is not ideal, but you could keep a file open in an editor, add your input there, and read from that instead of the console.
**Attention** This is a public forum