Is there a version of (getline) that doesn't include a newline? #1038
Unanswered
Threeinone
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm programming with janet to explore concepts in C in a lispy way and one of my first programs was just a simple greeting script
But
(getline)
seems to append \n to whatever you type. making the output of mainIs there a different function that doesn't have a newline at the end of the input, or do I need to trim off that \n every time?
Beta Was this translation helpful? Give feedback.
All reactions