Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/judevector/sentence
C program to write a sentence to a file
https://github.com/judevector/sentence
Last synced: 3 days ago
JSON representation
C program to write a sentence to a file
- Host: GitHub
- URL: https://github.com/judevector/sentence
- Owner: judeVector
- Created: 2022-10-25T16:56:02.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-25T16:59:52.000Z (about 2 years ago)
- Last Synced: 2024-11-10T08:10:35.360Z (2 months ago)
- Language: C
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sentence
C program to write a sentence to a fileIn this we are writing the a line entered by user into the mentioned file.
If file opened successfully, we are reading the user input using fgets() function and writing into the file using fprintf() function.
In the end we are closing the file using fclose() function.