Omgili - forum search, search forums  
  

Discussions about just delete

Displaying 1 - 10 out of 353,336 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
We all know that if you want to completely delete files from HDD, you have to use a special erase algorithm in order to make it impossible to read it back. But what with the memory cards? Do they need the same algorithms to ensure that no one could read...
Started by on , 4 posts by 4 people.  
You can recover from most formats as when you delete, you dont actually remove operating system your can just use dd if=/dev/urandom of=[your drive here] Securely deleting drive; then, without the password, the disk ....
Algorithm.
I have a Postgresql database on which I want to do a few cascading deletes. However, the tables aren't set up with the ON DELETE CASCADE rule. Is there any way I can perform a delete and tell Postgresql to cascade it just this once? Something equivalent...
Started by on , 6 posts by 6 people.  
DELETE FROM some_child_table WHERE some_fk_fiekd IN SELECT some_id FROM some_Table; DELETE FROM some_table; The delete....
To do it just once you would simply write the delete statement for the table you want to cascade.
How does the delete operator work? Is it better then free()?. Also if u do ptr=new char[10] , then delete using delete ptr , how does the pointer know how many locations to delete.
Started by on , 8 posts by 8 people.  
Under C++, you are encouraged to use new / delete....
Always use delete if you use new and free if you useThere is only delete operator, free exist only as function.
That it will think it's just a T and only free that much memory.
Ask your Facebook Friends
I run CVS on my Mac OS X box and access it from a Windows VM. It works great (although the version of CVS that comes with Mac OS X is really old). But I find it annoying that I cannot tell by looking at the project folders if I have checked out the project...
Started by on , 4 posts by 4 people.  
Is there a way to tell the CVS command to delete a folder it checks in so that I can only edit, but then I often create a new class and ....
You can use "cvs status" to see the status.
SVN could be better in case you want to delete folders.
When I'm logged in as Administrator and I try to delete a users account. The delete account link is just gone. How can I get it back? System specs -Win XP pro SP2
Started by on , 3 posts by 3 people.  
Do you see the account you wish to delete (like above)? If so then right click on the account you wish to delete and select Delete You cannot delete the last administrator account.
I'm trying to write a Windows Batch Script file that deletes just .asp files. If I do: del *.asp /s This has the side-effect of deleting any files with the extension .aspx. This is bad because I want to preserve files with the aspx extension. Is there...
Started by on , 4 posts by 4 people.  
-r -inc *.asp | ?{-not $_.PSIsContainer....
You presumably only want to delete files, so, for testing: dir .
Upside (with the same results as cmd.exe ).
And delete the files the way you would on unix: "find directoryname -name '*.asp' | xargs rm".
Using PHP, I am trying to delete a record, but I want to check if it was successful or not. Is anything returned from a successful DELETE FROM foo where bar = 'stuff' ? Alternatively, do you know any other ways to check if a DELETE was successful? Or ...
Started by on , 3 posts by 3 people.  
Assuming you are using mysql_query : For other type of SQL statements, INSERT, UPDATE, DELETE() to find out how many rows were affected by a DELETE, INSERT, REPLACE, or UPDATE statement..
Class Widget { public: Widget() { cout<<"~Widget()"<<endl; } ~Widget() { cout<<"~Widget()"<<endl; } void* operator new(size_t sz) throw(bad_alloc) { cout<<"operator new"<<endl; throw bad_alloc(); } void operator delete...
Started by on , 8 posts by 8 people.  
When there is no destructor, the compiler just calls the delete operator transferring control to operator delete , because the latter should do a check anyway; and so the compiler just;endl; } void operator....
Is avoided as well.
Possible Duplicate: ( POD )freeing memory : is delete[] equal to delete ? Does delete deallocate the elements beyond the first in an array? char *s = new char[n]; delete s; Does it matter in the above case seeing as all the elements of s are allocated...
Started by on , 11 posts by 11 people.  
delete[] uses compiler-specific....
Hence, the anser is: yes, there could it.
It's undefined behavior.
You should always use new/delete, new[]/delete[] and malloc/free pairs.
So you shouldn't count on stable behaviour.
Undefined behaviour.
I know that I am supposed to use delete [] when I used new [], so using auto_ptr with new [] is not such a bright idea. However, while debugging delete [] (using Visual Studio 2005) I noticed that the call went into a function that looked like this: void...
Started by on , 6 posts by 6 people.  
I guess it's just shouldn't assume that delete and ....
Additionally, you can use scoped_array for array deletion.
Just because they might work the same now, doesn't mean you can necessarily treat them the same to remember.
Page: 1   2   3   4   5   6   7   8   9   10  

Related Message Boards & Forums

  • Stack Overflow
  • Super User
  • Server Fault
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost