Ubuntu下sqlite3的配置与使用(以后会说到Ubuntu下C++数据库应用开发程序(窗体程序))

时间:2014-05-27 00:37:45   收藏:0   阅读:259

/***************************************************************  * Name:      CaculatorMain.h  * Purpose:   Defines Application Frame  * Author:    zhangaihua (627168856@qq.com)  * Created:   2013-12-25  * Copyright: zhangaihua (http://blog.csdn.net/u012388338)  * License:  **************************************************************/

#ifndef CACULATORMAIN_H #define CACULATORMAIN_H

 

#include "CaculatorApp.h"

#include "GUIFrame.h"

class CaculatorFrame: public GUIFrame {     public:         CaculatorFrame(wxWindow *parent);         ~CaculatorFrame();

    private:         void OnChar(wxKeyEvent& event);         void OnText(wxCommandEvent& event);         void OnCls(wxCommandEvent& event);         void OnBck(wxCommandEvent& event);         void OnAdd(wxCommandEvent& event);         void OnNum(wxCommandEvent& event);         void OnSub(wxCommandEvent& event);         void OnMul(wxCommandEvent& event);         void OnDot(wxCommandEvent& event);         void OnEql(wxCommandEvent& event);         void OnDiv(wxCommandEvent& event);         void OnSqrt(wxCommandEvent& event);         void OnSquare(wxCommandEvent& event);         void OnCos(wxCommandEvent& event);         void OnSin(wxCommandEvent& event);         void Calculate();         void Display1();         void Display2();         enum         {             idNum0=wxID_HIGHEST+314,             idNum1,idNum2,idNum3,             idNum4,idNum5,idNum6,             idNum7,idNum8,idNum9         };         double result;//当前计算的结果         char op;//操作符         wxString msg; };

#endif // CACULATORMAIN_H

Ubuntu下sqlite3的配置与使用(以后会说到Ubuntu下C++数据库应用开发程序(窗体程序)),布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!