VC ++ programming skills

Source: Internet
Author: User
. Add a class through the Class Wizard ----- class inherits from the MFC class library 2. How to debug ------- TRACE0123 macro 3. Use of MessageBox ---- AfxMessageBox4. C file compilation in the CPP project ----- predefine precompile 5. How to add a predefined value 6. How to generate MAP file 7. How to locate

. Add a class through the Class Wizard ----- class inherits from the MFC class library 2. How to debug the use of the ------- TRACE0/0/0/3 macro 3. Use of MessageBox ---- AfxMessageBox 4. C file compilation in the CPP project ----- predefine/pre-compile 5. How to add a predefined value 6. How to generate MAP file 7. How to locate

2008--7--27

1. Add a class through the Class Wizard ----- class inherited from the MFC class library

2. How to debug the use of the ------- TRACE0/0/1/2/3 macro

3. Use of MessageBox ---- AfxMessageBox

4. C file compilation in the CPP project ----- pre-definition/pre-Compilation

5. How to add a predefine

6. How to generate a MAP file

7. How to locate problematic functions and code through the MAP file

8. How to locate problematic code through debugging

9. Select the WINDOW attribute to display more messages ---- for ing

10. Variable and control binding

11. Use of UpdateDate (TRUE)/UpdateData (FALSE) ----- control to variable, variable to control

12. How to modify the system color ----- change the default gray color

13. Use of Static variables ----- A class is created only once

14. Use of Static functions ----- A class is created only once

15. Open the project and cannot see the class list ------ remove several irrelevant files, CLW includes the class list

16. How to insert an ACTIVEX Control

17. How to open the DEBUG window during debugging ------ how to open other windows (register window, etc)

18. Open and Close the toolbar of the control menu ---- call up various Toolbar

19. H path location and priority selection of header file/LIB library file/EXE Executable File

20. How to optimize the program ----- compile options/warning level

21. How to connect a program to a static or dynamic library

22. DLL file export class Interface

23. How to share variables between modules

24. How to Use the DLL handle combined with the GETPROCESS () function to obtain the function pointer in the DLL

25. In the CPP file, how does one reference the function -------- extern c defined in the C file?

26. Location and meaning of error codes

27. Use of the GetLastError () function ---- used to view the result of function execution

28. Use of the SPY ++ Tool

29. The DUMPBIN tool is used to view DLL information ---- export/entry/various Headers

30. PE File Format Analysis

31. Connection and difference between WM_CLOSE/WM_DESTORY/WM_QUIT messages

32. Processing of WM_PAINT messages

33. Response of the WM_ERASEBKGND message

34. Response of the WM_COMMAND message to the control

35. WM_INITDialog message

36. Differences and relationships between RGB and COLORREF

37. : Use of global operators and global functions

38. Timer usage

39. GDI/GDI +

40. WIN32/MFC/SDK/DDK

41. COM/DCOM

42. Ole db/ADO/DAO/ODBC ------ database operation interface

43. ACTIVEX/OLE

44. DIRECTX/WINDOWS MEDIA OBJECT

45. STL ---- various containers

46. Generic programming/General Algorithms

47. WTL/ATL

48. C Runtime Library

49. Various output formats ----- % d/% x/% s % f

50. How to perform breakpoint and single-step debugging

51. Use of various common controls in MFC-member functions and member variables of the control class

52. Use of the CString class ---- GetAt () ++ SetAt ()

53. Difference and connection between PostMessage () ++ SendMessage (), return of one unequal execution result, and return of one equal execution result

54. Use the GetForegroundWindow () function to obtain the upper-level window.

55. Use of FindWindow () function ----- query window through window class information

56. The BringWindowToTop () function changes the Z-Order of the window.

57. Cin/Cout ---- Sprintf/printf

58. StrCat/StrCpy/Strlen Function

59. ASSERT Mechanism

60. Differences between the stateless dialog box and the modal dialog box ----- return only after the output

61. Memory leakage

62. Supporting use of NEW and DELETE ---- release of resources upon application

63. Use of the Const Modifier

64. This pointer

65. Runtime framework of the MFC Framework Program

66. SQL statement

67. Thread, fiber, Process

68. Event, message, mutex, key zone (used for communication between threads in the same process)

69. WM_ACTIVE/WM_INACTIVE messages

70. PeekMessage () Check the thread's message queue-you can decide to process the message and not process the message.

71. Message Pump of WIN32 Program

72. Double Buffer technology-Reduce flickering

73. SetWindowText ()

74. MoveWindow ()

75. GlobalAlloc/GlobalFree

76. LocalFree/LocalFree

77. ENUMWINDOWS ()

78. Linked List Operation

79. Protocol Stack

80. GDI/DIRECT3D

81. LIB/DLL technology

82. Memory ing File

83. Event/key zone/semaphore/message/mutex/

84. Export header file ---- export class

85. How to debug WIN32 programs ------ use the OutputDebugString function to output messages to the debugger

86. How to call the debugging window?

87. Set the breakpoint -------- the program runs to the breakpoint and stops ---- You can perform one-step debugging.

88. CONSOLE program debugging-you can use the SCANF ++ PRINTF function to output debugging messages.

89. Set dependencies between projects under the same workbench

90. Multiple Threads of CRT

91. Use the static library ++ dynamic library of MFC

92. How to optimize the program by setting the menu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.