2019 autumn work 02

problem answer
This work belongs to the curriculum C Programming Language I
Where the job requires https://edu.cnblogs.com/campus/zswxy/CST2019-4/homework/8657
My aim in this course is Learn C language, master the basics of programming
This job helped me achieve that goal in terms of specific Have programming tools, learn how to ask questions
references https://www.jianshu.com/p/d66c2f2e3537

First, reading assignments

1, reading "question the wisdom"

Question is a technique, a good question is easy to get faster and better answer , but a bad question is likely to arouse resentment, not a good answer.
Therefore, the question needs to do the following:
(1), before a question, search data , for themselves.
(2) When a question, truthful statement , do not bring your own guess.
(3), understand their own what to ask , want to know the code correctly, or outside the error code, suppression or other.
(4), to simplify the problem and hit the problem itself, not to mention the crap "help out" and the like.
(5), when asking politely ; the issue was resolved replenish situation and thanks .
For example: in the PTA, your code is wrong.
First of all, you have to see the type of error, targeted to find their own mistakes.
If not, then use a search engine to find the correct code, and contrast their own code, identify the problem.
Or not, the students seek help seniors sister school.

2, reading "PTA system Frequently Asked Questions"

Currently my problems about three, were wrong answer, compilation errors, formatting errors.

(1), wrong answer

This is the output content not carefully observed due.
For example "Hello World!", If not carefully observed, we most likely will be written W w, or "!" Missing, resulting in "Wrong Answer."

(2), a compilation error

This is a C language syntax rules are not familiar with the cause of.
For example after the main () is missing, the <> labeled () and the like.

(3), malformed

This is the details to grasp is not in place caused.
For example, "fahr = 150", equal on both sides have a space, easy to miss.

Two, MinGW-w64 to compile C program

1, compiled photos

2, the compiler generates a file photo

Guess you like

Origin www.cnblogs.com/ningfan/p/11597142.html