C++
-
C++ 공튀기기C++ 2018. 7. 5. 01:47
#include LRESULT CALLBACK WndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam);void CALLBACK TimerProc(HWND hwnd, UINT msg, UINT id, DWORD time); void DrawCircle(HDC hdc, POINT pt){ Ellipse(hdc, pt.x - 10, pt.y - 10, pt.x + 10, pt.y + 10);}int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow){ HWND hwnd; MSG msg; WNDCLASS WndClass; WndClass.styl..
-
C++ 전화번호부 만들기C++ 2017. 11. 17. 01:41
//#include //완성 -- 아예 입력받을때 힙메모리로 입력을 받으면 나중에 편할것같다.//#include // 삭제할때 편리해진다. 복사할 필요없이 바로 가능//#include ////using namespace std;//char Menu()//{// cout>bufname>>bufnum;// index[count++].Input(bufname,bufnum);// }// void PrintPhNum()// {// int i;// for(i=0 ; i>searchnum;// for(int i=0 ; i>searchname;// for(int i=0 ; i>search;// for(i=0 ; i