Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode HTML tags when pasting" checkbox before pasting anything inside the PRE block, and make sure "Ignore HTML tags in this message" check box is unchecked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question in one forum from another, unrelated forum (such as the lounge). It will be deleted.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
When answering a question please:
Read the question carefully
Understand that English isn't everyone's first language so be lenient of bad spelling and grammar
If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome
If the question is inappropriate then click the 'vote to remove message' button
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid.
I have a task at hand for designing persistence layer for an application that should be generic. It is kind of application that will provide infrastructure for doing activities.I need help regarding how should my approach be towards it . Persistence can be through either XML or through database or through configuration files. Please provide me points to keep in mind as well as any special design considerations I should be aware of.
Hello! Can you please help me with this kind of scenario
"I have Jtable with contents and checkbox every row
and my checkbox outside is the Select All function to select the content inside of my table"
I dont know the method of it but i have already my code in JTable, i just want to add it to my application.
I mean, I have two columns and the values inside is repeating or the same. As you can see in my codes, i put a vector that holds in my selected file and i want the value of it print in the table.
I want my output example in the console:
You should use "binary chop", not random values. For each response you need to take half the distance between the current and previous guess. If the user says "higher" then add it to the guess, else subtract it. So the sequence for your values would be something like:
Computer : 75 User : chose 53
subtract half of 75 - 0 : 38 Higher
add half of 75 - 38 : 57 Lower
subtract half of 57 - 38 : 48 Higher
add half of 57 - 48 : 52 Higher
add half of 57 - 52 : 54 Lower
subtract half of 54 - 52 : 53 Correct!