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

stdin not handled properly #42

Open
RhysU opened this issue May 29, 2022 · 0 comments
Open

stdin not handled properly #42

RhysU opened this issue May 29, 2022 · 0 comments

Comments

@RhysU
Copy link
Owner

RhysU commented May 29, 2022

Turns out this doesn't read from stdin when run...

#!/home/rhys/bin/c99sh -sm

char name[255] = "Oxford";
int age = 8;

puts("What's your name?");
scanf("%s", name);
puts("What's your birthday?");
printf("Hello, %s. You are %d years old.\n", name, age);
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

1 participant