If you have a programming question that meets the guidelines in our FAQ, then you should ask it!
Negative feedback from experienced users can be very helpful, because it can suggest ways to improve your question and/or answer. All posts can be edited at any time to add additional information, and we very much encourage people to do so.
However, you should not feel "pressured" by anyone to delete your posts. Just because someone downvotes a question or answer does not mean that it should be deleted. It simply means that they think the post is not helpful. If something really needs to be deleted, a moderator will step in to do that. For questions specifically, those that don't belong are closed by the community—downvotes do not necessarily imply that something "does not belong". Downvotes are just the way that the community ranks content in terms of helpfulness or usefulness.
If you're talking specifically about asking and answering your own questions, please note that such has long been encouraged on Stack Exchange sites, and we have now made it even easier to do!
Indeed, you are encouraged to spend some time doing basic research before asking a question. Right or wrong, the community has a fairly low tolerance for questions that you could have answered yourself after spending a few minutes on a search engine. But there are plenty of things that are hard to find the answer to elsewhere online, or the answers you might find are incorrect, misleading, or confusing. These are the kinds of questions that Stack Overflow is intended to help answer. Our goal is to build up an online resource of great answers to programming questions, useful both to the person who originally asked them and to all of the future people who search for answers to the same question.
Therefore, if you cannot find a suitable answer to a question after a reasonable period of searching for it yourself, then you should post a question. And even if you do find an answer but it was very difficult to find, then you should consider posting a question and answering it yourself—maybe you'll help others!
It's also worth considering that perhaps you're not being downvoted for the substance of your posts, but rather the presentation.
For example, your question here is rather difficult to read because rather than writing with proper sentences, you just string together random phrases and separate them with long segments of
................. You should try capitalizing the first letter of the first word in each sentence, and spelling out words in full, rather than using txtspk. Paragraphs and line breaks can also significantly enhance the readability of your contributions.
Comments like this one are a great example of the problem:
actually I have asked questions like these only twice and both the time this happened and i had to delete the questions... sorry 4 that....
Try rewriting that to:
Actually, I have asked questions like these only twice, and both times this happened, I had to delete the questions. Sorry for that.
Notice that I've capitalized the beginning of a sentence, spelled out the word
for instead of abusing the numeral
4, and placed a single period (or comma) between thoughts, rather than a long string of them.
Things like this do matter, even on a technically-focused site. Please see our formatting help for more tips on how to use the built-in Markdown syntax to format your posts.