분류 전체보기
-
-
쇼핑몰업무 2011. 7. 4. 00:28
온라인 제품 카탈로그 // 상품? 쇼핑 바구니 결제 페이지 create table goods ( g_code varchar(20) not null, g_part varchar(10) not null, g_name varchar(20) not null, g_maker varchar(20) not null, g_origin_price int not null, g_sellprice int not null, g_updateday varchar(30) not null, g_image varchar(20) null, g_content text not null ) go create table imsi_buy ( imsi_memid varchar(20) not null, imsi_goodscode varchar(20)..
-
-
링크드 리스트자료 구조 2011. 6. 23. 01:50
#ifndef LINKEDLIST_H #define LINKEDLIST_H .. typedef int ElementType; typedef struct tagNode { ElementType Data; struct tagNode* NextNode; } Node; .. #endif Node* SLL_CreateNode(ElementType NewData) { Node* NewNode = (Node*)malloc(sizeof(Node)); NewNode->Data = NewData; NewNode->NextNode = NULL; return NewNode; } void SLL_DestoryNode(Node* Node) { free(Node); } void SLL_AppendNode(Node** Head, N..
-
다이얼로그 박스 2 - MFCGUI/Window 2011. 6. 23. 00:54
크기 변경 class CResizeDlg : public CDialog { // Construction public: CResizeDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CResizeDlg) enum { IDD = IDD_RESIZE_DIALOG }; CButton m_ctrlButton; CListBox m_ctrlList; //}}AFX_DATA .. // Generated message map functions //{{AFX_MSG(CResizeDlg) .. afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnSize(UINT nType, int cx, int ..
-
툴팁GUI/컨트롤 2011. 6. 22. 00:10
도구 모음(CToolBar)에는 툴팁을 출력하는 기능이 내장되어 있다. CBRS_TOOLTIPS CToolTipCtrl .Create() .AddTool() .RelayEvent() class CToolTipDlg : public CDialog { // Construction public: CToolTipDlg(CWnd* pParent = NULL); // standard constructor CToolTipCtrl m_ctrlTT; // Dialog Data //{{AFX_DATA(CToolTipDlg) enum { IDD = IDD_TOOLTIP_DIALOG }; CEdit m_ctrlEdit; .. //}}AFX_DATA .. }; BOOL CToolTipDlg::OnInitDialog() { ....