[C++]타이머와 삼각함수를 이용한 타원운동
- 최초 등록일
- 2004.11.23
- 최종 저작일
- 2004.11
압축파일
- 가격 1,000원
![할인쿠폰받기](/images/v4/document/ico_det_coupon.gif)
컴파일 실행환경
비주얼 C++ 6.0
본문내용
// timer.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "resource.h"
#include "math.h"
#define MAX_LOADSTRING 100
#define IDT_TIMER1 200
// Global Variables:
HINSTANCE hInst; // current instance
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
TCHAR szWindowClass[MAX_LOADSTRING];
int NewTimer;
int k,xxx,yyy,x1,yy1,x2,x3,yy2,yy3,color,ti;
double x,y, xx,yy,pi,rad,spd;
// The title bar text
// Foward declarations of functions included in this code module:
ATOM MyRegisterClass(HINSTANCE hInstance);
BOOL InitInstance(HINSTANCE, int);
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM);
압축파일 내 파일목록
ReadMe.txt
RESOURCE.H
SMALL.ICO
StdAfx.cpp
StdAfx.h
TIMER.APS
TIMER.CPP
TIMER.DSP
TIMER.DSW
TIMER.H
TIMER.ICO
TIMER.NCB
TIMER.OPT
TIMER.PLG
TIMER.RC
Debug/StdAfx.obj
Debug/TIMER.EXE
Debug/TIMER.ILK
Debug/TIMER.OBJ
Debug/TIMER.PCH
Debug/TIMER.PDB
Debug/TIMER.RES
Debug/VC60.IDB
Debug/VC60.PDB
Release/StdAfx.obj
Release/TIMER.EXE
Release/TIMER.OBJ
Release/TIMER.PCH
Release/TIMER.RES
Release/VC60.IDB
참고 자료
없음