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

Problem with '\n' not included #40

Open
zarart99 opened this issue Dec 17, 2024 · 3 comments
Open

Problem with '\n' not included #40

zarart99 opened this issue Dec 17, 2024 · 3 comments

Comments

@zarart99
Copy link

If a newline character '\n' occurs, it must be included in the returned string. In your code, when you encounter '\n', you make a break; and does not add a newline character to the line. Now code doesn't works propely. I made fix here - https://github.com/zarart99/exam_rank_03/blob/main/get_next_line/get_next_line.c

@Madirex
Copy link
Contributor

Madirex commented Dec 17, 2024

I made a pull request a few days ago resolving that issue
#39

@zarart99
Copy link
Author

ah, i see. Why don't you merge this? I wrote you, cause i 've used your version from main at the exam, but unsuccessful

@Madirex
Copy link
Contributor

Madirex commented Dec 19, 2024

I don’t have permissions to merge. I’m not the repository owner, so I’m waiting for them to 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

2 participants