I have a basic question i.e i have an integer array with numbers from 1 to n.... Whenever i get a value called no,i should delete the element in the array at this position(no)... And push the other numbers after this deleted number before by one... Can you write a code snippet for me....?
LIAR. This is a basic homework question, taught in CS 101 or earlier. And you blatently ask we do such an easy thing for you! Why would anyone trust you to write software?
@maikel
Do you really think that it is useful to giving a solution pretty-packaged for someone who won't even bother to try? Can you give me $100?
More and more I really am considering going the way of Grey Wolf. This is absurd.
This is not an homework.. i tried it but its giving wrong output...
Gajji, If you had posted your code showing that you had made an attempt but failed, then you may have got a better response to your question. If it is homework, an exercise from a book, or something you need to do yourself, makes little difference; just show that you are not after a free meal.
How To: Ask Questions The Smart Way
http://www.cplusplus.com/articles/how_to_ask/