cling
cling copied to clipboard
scanf does not work in cling
- [x] Checked for duplicates
Describe the bug
scanf does not work in cling, only cin does.
Expected behavior
scanf should issue a prompt like cin does
To Reproduce
#include <stdio.h> int n; scanf("%d", &n);
Uh, works for me (in 6.26/10, macosxarm64)
root [0] int n; scanf("%d", &n);
5
root [1] n
(int) 5
Seems to work with current master, too.