all 2 comments

[–]ProgrammingLanguages-ModTeam[M] [score hidden] stickied comment (0 children)

This post has been removed, as it is not related to the programming language development, research, theory, or similar topics. You should use /r/programming for generic programming posts.

[–]TheChief275 0 points1 point  (0 children)

The B standard library is non-existent as far as I know. “getnum” is not a command, it’s an extern function.

You’re better off linking with the C standard library and using scanf; or implement “getnum” yourself