Home > Back-end >  Novice Posting advice
Novice Posting advice

Time:05-24

Recently BBS inside a lot of new people, those beginners to post, this is very normal, but most of them are Posting method was too much for people who want to help them to feel some pain, estimates that the children don't understand in the technical BBS posts should follow what kind of rules, here I introduce general, reference for new people:

1. The topic must be meaningful, points out the main points of the problem in the topic, please do not send a similar "great god for help," "c + + problem for help so let a person lost", the theme of good theme can make readers in browsing the post body straight to key points, such as to say: "calculate the sum function calcSumm calculated results abnormal", or "the fopen function always call fails,"

2. The body must explain what mistakes; In order to solve these errors, what kind of work you've done, Should also show the development environment used, the compiler, and so on and so forth, after some post code, just simply "operation is wrong," "compiler is wrong", such as somehow clear have what wrong? Also let others to help you find a mistake? Can say, "run to the xx program would collapse into a xx writing also is such, the debug tracking situation here... , the development environment: Code: : Blocks, the compiler: MinGW - x64-10.2,... "

3. Post code don't screenshots, take pictures, to stick the original code, it helps readers directly copy your verification code to your own environment, I really can't imagine a lot of new photos to send the code is in what to consider, the school's computer can't surf the Internet? Unlikely, I see some pictures also open the browser,

4. Post code be sure to make good use of post edit box "code" tools:

Using the tools of the code, a very good syntax highlighting, facilitate readers, can improve the readers the desire to solve the problem for you, when the amount of code is larger,
Like this:
Void testLookupFuncion ()
{
The int data=https://bbs.csdn.net/topics/1;
Cout & lt; <"The data is:" & lt; Funcs. The clear ();
Funcs. Insert ({1, bind (incr, ref (data))});
Funcs. Insert ({2, bind (decr, ref (data))});
Funcs. Insert ({3, bind (mult, ref (data), 3)});
Funcs. Insert ({4, bind Callback: : process, new Callback, ref (data), nullptr)});
Const auto& F=lookup (4);
If (f!=nullptr)
{
(f);
Cout & lt; <"Now the data is:" & lt; (f);
Cout & lt; <"Now the data is:" & lt; }
The else
{
Cout & lt; <"Function not found." & lt; }
}
And the following:
 
Void testLookupFuncion ()
{
The int data=https://bbs.csdn.net/topics/1;
Cout & lt; <"The data is:" & lt; Funcs. The clear ();
Funcs. Insert ({1, bind (incr, ref (data))});
Funcs. Insert ({2, bind (decr, ref (data))});
Funcs. Insert ({3, bind (mult, ref (data), 3)});
Funcs. Insert ({4, bind Callback: : process, new Callback, ref (data), nullptr)});
Const auto& F=lookup (4);
If (f!=nullptr)
{
(f);
Cout & lt; <"Now the data is:" & lt; (f);
Cout & lt; <"Now the data is:" & lt; }
The else
{
Cout & lt; <"Function not found." & lt; }
}

Which look good? Obviously it's the latter,

5. Don't turn here to work to help! CSDN is to help you solve the technical problems encountered in software development, rather than help you answer directly give homework, homework problems is not can't come here to ask, but somehow they start doing some work enough, some people come up to ask XX program what to get, this kind of problem actually have a good look at programming or any data structure teaching material is not completely train of thought,

6. Before turning, first learn to self-reliance, to make full use of the debug function, development environment to provide skilled breakpoint, single step, watch and so on the debug operation for troubleshooting, jar these days most of problems are simply find the problem through the debug methods,

7. Find the section, the problem should send problem related sections, such as matlab problems should not be sent to C/C + + pages, single-chip computer problems to embedded system section is bad,

To sum up, the great spirit here is willing to provide help for beginners, but please beginners should cherish the time and effort, also provide convenience for the great god,
  • Related