Abstract:The method of generic function curve drawing is researched in this paper. According to the expression that user input, it is analyzed by VC++ programming language, and a corresponding function curve should be drawn finally . The research includes the function expression parsing and Reverse Polish Notation evaluation, and the evaluation of the initial value and the initial direction of the curve within a certain area, and the rendering process of a function curve point by point . Based on MFC drawing method, it is also researched in this paper which called the memory DC buffering technique. Compatible memory DC is established using Bitmap, in order to implement translation and zoom operator of the function curve efficiently. The research has accomplished the rendering of functions constituted of x in polynomial , and common mathematical functions, and other complex functions assembled by simple functions. When an error occurs in the user inputs, the error place can be indicated intelligently. It is significant to mathematics teaching and mathematical functions model building and researching.