C Programming Tutorial 70, Writing to Files pt.1

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

That is a very nice background you have there :-)

Darwintremor
Автор

I'd just read in the entire file into a char buffer, and then iterate through every character and call the toupper function on it. After that, just write the buffer back to the file.

iTzAdamX
Автор

"r+" Open a file for update both reading and writing. The file must exist. "w+" Create an empty file for both reading and writing. If a file with the same name already exists its content is erased and the file is treated as a new empty file.

iTzAdamX
Автор

great vid, could answer one question, how would i change the data in the file to upper case latter, 'toupper'.

aman
Автор

how would code that, im still leraning C, 1sy would you make a char buffer[100];, then from what you said it would be an if statement yes?

aman
Автор

How do I actually write the file path??? I'm using Code Blocks for Mac.

grippnault
Автор

finally i found some real fucking english

efehavza
visit shbcf.ru