answersLogoWhite

0

Why is delete function slow?

Updated: 12/20/2022
User Avatar

Wiki User

15y ago

Best Answer

You computer might be virus-infected.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why is delete function slow?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the function used to delete end of file?

I think it is 'clearerr' what you tried to refer to.


What function is used to release the memory on heap?

The free() function releases memory obtained with the malloc() family of functions. The delete and delete [] operators release memory obtained with the new operator. Note: realloc() can allocate and free memories as well as reallocate.


Which function removes last element in a list?

If you are using the doubly-linked list from the STL library, then the function call:name_of_list.push_back();should delete the last element.


How boolean function works?

A boolean function is simply a function that returns a boolean value - a value that can either be "true" or "false". The return value may be used to see whether a function was successful, for example:if openfile("somefile.txt")// The file was opened succesfully, we can now proceedA boolean function will often reply to a question which can be replied with "yes" or "no". For example, you can have a function that asks the user to confirm an action:if user_confirms("Are you sure you want to delete this file?")// Delete the file hereOr:if isPrime(myNumber)// Output: "Your number is a prime number"else// Output: "Your number is not a prime number"A boolean function is simply a function that returns a boolean value - a value that can either be "true" or "false". The return value may be used to see whether a function was successful, for example:if openfile("somefile.txt")// The file was opened succesfully, we can now proceedA boolean function will often reply to a question which can be replied with "yes" or "no". For example, you can have a function that asks the user to confirm an action:if user_confirms("Are you sure you want to delete this file?")// Delete the file hereOr:if isPrime(myNumber)// Output: "Your number is a prime number"else// Output: "Your number is not a prime number"A boolean function is simply a function that returns a boolean value - a value that can either be "true" or "false". The return value may be used to see whether a function was successful, for example:if openfile("somefile.txt")// The file was opened succesfully, we can now proceedA boolean function will often reply to a question which can be replied with "yes" or "no". For example, you can have a function that asks the user to confirm an action:if user_confirms("Are you sure you want to delete this file?")// Delete the file hereOr:if isPrime(myNumber)// Output: "Your number is a prime number"else// Output: "Your number is not a prime number"A boolean function is simply a function that returns a boolean value - a value that can either be "true" or "false". The return value may be used to see whether a function was successful, for example:if openfile("somefile.txt")// The file was opened succesfully, we can now proceedA boolean function will often reply to a question which can be replied with "yes" or "no". For example, you can have a function that asks the user to confirm an action:if user_confirms("Are you sure you want to delete this file?")// Delete the file hereOr:if isPrime(myNumber)// Output: "Your number is a prime number"else// Output: "Your number is not a prime number"


How do you delete a node with two children in binary tree using c?

Use a recursive function. void delete_node (node* n) { /* ensure the given pointer is valid */ if (n==NULL) return; /* recursively delete the left child */ delete_node (n->left); n->left = NULL; /* recursively delete the right child */ delete_node (n->right); n->right = NULL; /* delete the data (assuming the data is a pointer)*/ free (n->data); n->data = NULL; /* finally, delete the node itself */ free (n); n=NULL; }

Related questions

Is it possible to delete saved game files for Resident Evil 2 on the Nintendo 64?

Look for a delete function in options or data or records then choose delete and that's it.


What is the key function of Del key?

to delete


How delete an array of object within the object in C?

First locate the position of an array by search after than use a delete function to delete an array


How do you delete tattoo?

the best way is to "laser" it away, but this is a slow and painfull proces


How do you turn function keys off?

Press the NUM LOCK, Function, and DELETE keys to go back to alpha keys.


Is it safe to delete tray notifications cache?

No. It is best not to because the computer stores much in caches. Unless the computer is running slow, do not delete. It's safer that way.


Which key performs the same function like delete on a Keyboard?

The backspace key


What is the function used to delete end of file?

I think it is 'clearerr' what you tried to refer to.


What does the heat shield do?

Their usually function is to slow the transfer of heat.


What is the function of the delete key?

the delete key on a keyboard, erases characters on the left side of the cursor


How do you delete mouse function on notebook without a mouse?

F1 is help and ALT is the key


What is the function of the delete?

It deletes what is selected. things like files or items that you have written etc.