This section has two main functions - firstly for the general discussion of C & C++, and secondly to help programmers with problems they may face. In order to assist the forum community in discussion and solving problems posted here we ask that, whenever possible, you follow some simple guidelines when posting for help in this section.
USE SEARCH FIRST!
As we always say USE SEARCH FIRST! We will appreciate if you use forum's search feature first before posting your problem, it might happen that the programming problem/bug you are facing is already answered on some other thread or else it might happen that you could get some short answers from similar programming problem/bug already posted on the forum. It will save your time.
Homework? - We help efforts
We have noticed many students post their homework problems, with quick solution expectations, and that also even without trying for themselves first. We call this as cheating and is very discouraging, and at the same time it's very frustrating for those who spend their valuable time on finding solutions.
We all are here to help you, and also we are here to discuss different programming languages and exchange knowledge, therefore please don't expect quick or complete solution for your homework problems. We can only help you to get started, exchange algorithms, how-to's etc. only and only if you show some efforts first. You might not get solution here if you are not willing to put your own efforts.
Is it C or C++?
Please indicate whether your code (or question) relates to C or C++. These languages are different and as such in order to provide correct assistance it's important for us to know.
Compiler that you are using
If you are posting code please also include (where ever possible) the compiler's output and the compiler used. By having this information available it helps us pin point any errors you may face. Also informing us of the platform/OS you are using can help (especially when we need to consider none standard library extensions).
While posting your code
When it comes to a case that you need to post your actual code in the thread while asking or replying, please use following guidelines
A] Use code tags to post your code. It's very simple to use them.
[code] your actual code here [/code]
This helps others to distinguish between your actual Text Message and the actual code.
B] Use formatted/indented code while posting. It helps others to understand the code better and easily while reading.
A code of 100-200 lines without any indentation make that code hard to read and even impossible to understand.
C] Don't try TABs, because they do not work on the forum, instead use 4-5 SPACES for indentation purpose.
D] Please post only that part of the code and other supportive part of code which is really relevant to your question.
But for this you may need to explain how some variables are declared. We really do not need to see your entire script;
rather it will annoy the reader and ultimately will result in waste time rather than good solution to your programming problem.
Always be DESCRIPTIVE
Don't just copy and past your code and say "This code has a problem". How can we understand the code problem without your initial help?
A] Use commenting for code that you are posting. It will help reader to understand the logic of what you are trying.
B] First explain what your code supposed to do or what are you trying to achieve from the code?
C] Don't assume that reader already know everything, rather at start you are the only one who knows a lot about the code.
Therefore explain it in short.
D] Explain exactly what error you are getting.
E] If that is a compile error then make sure that you mention it so. Reader may like to see the actual error you are seeing.
But if there are more than 10 compiler errors, then starting with first few errors will also do.
F] Mention the Operating system and Compiler that you are using. In many situations that helps a lot.
Remember many commands and functions are not present in all systems.
G] If you are getting error on certain line number then mention it. It will help reader to identify the cause of the error easily.
H] Mention your limitations. For example if you do not wish to use pointers then say so, otherwise someone will provide you
solution with pointer, and thatís a waste of time for both ends.
A] Avoid a language other than English on the forum for any activities on the forum. As English is primary language on this forum.
B] Avoid asking another/second question which is not related to previous/first question on the same thread.
Create a new thread for each new independent question.
C] Do not use ALL CAPITAL LETTERS or any other fancy scripts on the forum.
Some might take it as annoying things and nothing else.
D] Use proper title for your new thread.
Don't just say "Help me" or "Need Help" rather say "Need help with arrays" or "Array count functionality not working".
E] Limit your smilies and don't use smilies on each line. We don not expect you to decorate your thread with smilies.
We will remove them.
They are favoring you only
Be patient and forget your personal EGO on the forum. Experts giving you a solution here meaning they are favoring you only. Therefore respect them. They might take time to find a solution, therefore be patient. If the solution provided does not work then don't leave a shit here saying "your solution is worthless" instead you can end the thread by some good words like "Thanks you for your efforts, but it did not work for me."
All these simple guidelines will help others to help you only and a good way for others to learn in future.
Finally we thank you for your cooperation and most important your understanding on the forum. We are trying each day our best to make TechnicalTalk a user/student/programmer friendly community.
Sorry, but you are not allowed to view signatures , please Register or Login