A long time did not write a blog, has been preparing a variety of exams, always can not calm down to write a good blog. Today, just before the end of the war, a warm-up battle-level two C + +. Test C + + is mainly to apply for test exemption, by the way to consolidate the basic knowledge of C + +.
C + + is almost 1.5 before the learned, coupled with a smattering of the time, so now it is not easy to pick up. The written part of the test is the basic knowledge, personal feeling these foundations are very important, so this exam is still very valuable. A book to find out that their basic knowledge is so weak. It made my confidence fall to the bottom. Fortunately, my internal force is relatively deep, timely adjustment.
C + + is a great language, he combines C with other object-oriented advantages. We all know that many operating systems are written in C and C + + (of course, as well as assembly), and C + + to a certain extent and C language is a good combination, and even most of the current C-language program is in C + + integrated development environment completed (this is the Baidu Encyclopedia). Although C + + is very strong, but want to learn a little doorway is not an easy thing, so now the main task is to compare relatively easy to learn Java or C # to learn it.
Talk about the situation of the exam, Saturday nine O'Clock in the morning written exam, although the previous few days before the textbook very carefully read it again, but the examination still found a lot of things do not know. There are a lot of things that are impressive but not clear enough to have an ambiguous feeling that really hurts me. It was a depressing fight this morning. But somehow also to bite the bullet to answer the question finished.
The afternoon on the machine problem is relatively much better, because the machine you answer the question compiler will give you feedback, tell you right or wrong, wrong can continue debugging. On the machine question altogether three: the first problem is to change the wrong, relatively simple are some common mistakes; the second problem to draw a about the stack of the program, there is an empty let me pause, on a return to the back of an empty, request to back up the stack and back to the top elements, the beginning did not understand later a want to fill in a data[top--] that's done The first two questions did not take a long time to finish, he cited a "intset.h" header file, and then write a class to inherit the Intset, the request to achieve two array of intersection function, this problem to the end did not do it .... But the first two questions altogether 70 points should have no question haha.
This exam makes me think it is very important to learn basic knowledge, because the foundation is often the most fundamental principle, understand the principle of writing code naturally. Now write code only know how to write, but I do not know why it can be written, in other words is to know it but do not know why. In a word, the foundation is very important. Now only hope that my two level smoothly through, everyone bless me.