remove Function in C Programming File Handling Video Tutorial

preview_player
Показать описание
In this C programming language video tutorial / lecture for beginners video series, you will learn about the usage of remove() function to delete or remove a file in detail with example.

This tutorial begins with explaining the syntax of the remove() function starting with the required function parameters ( which is the file name to delete ) , possible return values and their meanings. Then you will learn how to use this function in code and also how to print the appropriate message to the user about the success or failure of it.
Finally this video explains how to delete the file if the file is present in some other folder or location.

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

can we use this remove function even if the file is in some other directory or different location?

aparnaaketi
Автор

What is difference between puts() and printf()



shakti
Автор

gentleman!
its great that we can use remove function to remove a file..

but any other user and remove a file that is very imp for other user. i mean anyone can remove any file . can we block it.
eg.
i create a .c file i remove a file created by my brother which is very important for him.. can he stop it anyway?

shivamgohel
Автор

My value is coming -1 instead of 0 what should I do?

williamjames
welcome to shbcf.ru