c99sh
c99sh copied to clipboard
stdin not handled properly
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);