Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scanf("%d“, &c); #77

Open
Zengxiaoer991214 opened this issue Jun 11, 2021 · 2 comments
Open

scanf("%d“, &c); #77

Zengxiaoer991214 opened this issue Jun 11, 2021 · 2 comments

Comments

@Zengxiaoer991214
Copy link

Zengxiaoer991214 commented Jun 11, 2021

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!

@XaverKlemenschits
Copy link

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

[1] https://github.com/XaverKlemenschits/jupyter-c-kernel

@shubha987
Copy link

its highly needed please merge it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants