Re: There should be a few rules for SO
Too many *do* ask the wrong question, the one that I have to answer most often is:
"how do I read the current directory?"
What do you mean by "read the current directory"? Read the name of the current directory giving an example result of "progs" or an example result of "/usr/fred/coding/prog"? Sample code here. Or reading the *contents* of the current directory, ie *scanning* the current directory, giving an example result of "config", "host", "main", "setup", "verset". Sample code here.
Often people *do* ask the wrong question, which *requires* spoonfeeding and correcting their terminology to get to the right answer and stop them using the wrong words to look for the answer in future.