RSS Forums RSS
Please support our C advertiser: Programming Forums

removing an element...

Join Date: Dec 2005
Posts: 3,894
Reputation: Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of 
Rep Power: 23
Solved Threads: 442
Colleague
Salem's Avatar
Salem Salem is offline Offline
Senior Poster

Re: removing an element...

  #2  
Apr 26th, 2007
array[7] = array[8];
array[8] = array[9];

And so on, but you'll probably want to use a loop.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:13 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC