-
You are now using Windows API programming, also known as SDK programming. It mainly uses the basic functions of C++ and the functional functions provided by Windows for Windows program design. This is very different from MFC (Microsoft Fundation Class), MFC is to classify these functions accordingly, design the corresponding types, for designers to use, than you learn now is much more convenient, but it is also many beginners like falling into the fog, I don't know why.
Therefore, many beginners are not only in a fog when they first come into contact with MFC, but also at a loss. It's a mess. So before learning MFC, it is necessary to learn a little bit of SDK programming.
Note: Instead of using main() as the main function, winmain() is used as the main function.
lresult callback wndproc(hwnd hwnd, uint message, wparam wparam, lparam lparam).
At the same time, it should also be noted that the classes used must be registered accordingly, and they cannot be used without registration;
It will take some time here to sort it out gradually.
-
Win32 app.
There's an MFC here, but the first chapter is about SDK programs.
-
1 2 3 4 5
A says: B a
b says: b e
c says: c d
D said; d c
e says: a e
The illustrations are more troublesome, so I pay attention to them.
They say half right and half wrong, so let's use the hypothetical method.
1: Suppose that A's third is true > then D is wrong > then D is right > C is wrong > then C is right, so we determine A-3, D-4, C-5
On the other hand, A says A is three pairs,-- then A says B is second and is wrong-> B says B is second and is wrong-> B says E is fourth, and D is fourth, and the two contradict each other, so it is wrong.
2: According to the inference from the first point, knowing that what A says b is the twentieth correct, just deduce it from this, and the result is a b e d c
Of course, the above is what I launched, so the first judgment of A said that A is the third right, so that this possibility can be ruled out, but in the process of writing **, you need to analyze many situations, to put it bluntly, that is, constantly use if else if else....Plus"||"with"&&"To make judgments, so be more careful and take into account the overall situation. **I won't write it, I'm also troublesome.
-
It is recommended to be the Eight Queens, and this is a ...... of truthI've got to shut it down, and I'll write you a program tomorrow night.
-
Exhaustively, and then judge whether each person's description is right and wrong, and if all are satisfied, the result can be output.
First of all, you have to add a union, add some friends, and experience the leisure fun. >>>More
The following information is required for cancellation:
Before applying for deregistration, the company shall carry out the liquidation of the company, and after the liquidation of the company is completed, it can enter the application procedure for the cancellation of the company, and the company shall issue and prepare the following reports after liquidation and before the deregistration: >>>More
That's the last main quest, and it's over.
You play with the branch cord, enough for you to play, especially troublesome. >>>More
I'm also not in favor of dropping out. Originally, university is a place for self-study, not to mention that you are a foreign language major. My English teacher is also an ornament, but I don't believe that I can't learn without her, the key is whether you want to learn or not. >>>More
The best thing to do is this!