jupyter-c-kernel
jupyter-c-kernel copied to clipboard
scanf("%d“, &c);
i am a rookie,anybody can tell me how to input a input,
such as:
#include <stdio.h>
int main(){
int a;
scanf("%d", &a,);
printf("%d",a);
}
i find that there is a solution 'https://github.com/brendan-rius/jupyter-c-kernel/issues/58'
but, where can i put "#include <stdio_wrap.h>" in ? i dont know! help me,please!
Hi, The solution you are referring to unfortunately only works in this fork [1] as several changes are needed to make input work. If you follow the install steps there, everything should work as expected. There is a pending pull request #74 for this fork which has not been merged so far.
Best, Xaver
its highly needed please merge it