Skip to content

✨ v0.3.2 – File I/O Polishing#4

Merged
tamnd merged 1 commit into
mainfrom
fix-bug-3
Oct 5, 2025
Merged

✨ v0.3.2 – File I/O Polishing#4
tamnd merged 1 commit into
mainfrom
fix-bug-3

Conversation

@tamnd
Copy link
Copy Markdown
Contributor

@tamnd tamnd commented Oct 5, 2025

This update refines file I/O examples for accuracy and safety.

Changes

  • Fixed fgetc return type (use int instead of char)
  • Added fopen() error checks in read example
  • Initialized line[100] buffer for defined behavior

Fix #3

🩹 Fixed fgetc type (int not char)
🧹 Added fopen() checks and clean line[100] buffer

When files whisper softly,
only int hears EOF’s call —
safety sleeps in checks.
@tamnd tamnd merged commit 0e8a33e into main Oct 5, 2025
@tamnd tamnd deleted the fix-bug-3 branch October 5, 2025 08:52
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

Successfully merging this pull request may close these issues.

Bug

1 participant