*상*
Bronze개인
팔로워0 팔로우
소개
등록된 소개글이 없습니다.
전문분야 등록된 전문분야가 없습니다.
판매자 정보
학교정보
입력된 정보가 없습니다.
직장정보
입력된 정보가 없습니다.
자격증
  • 입력된 정보가 없습니다.
판매지수
전체자료 7
검색어 입력폼
  • [프로그래밍] 작업관리자 기능 구현 평가B괜찮아요
    ..FILE:Pdh.cpp// Pdh.cpp: implementation of the CPdh class.////////////////////////////////////////////////////////////////////////#include "stdafx.h"//#include "Cpu.h"#include "Pdh.h"#ifdef _DEBUG#undef THIS_FILEstatic char THIS_FILE[]=__FILE__;#define new DEBUG_NEW#endif//////////////////////////////////////////////////////////////////////// Construction/Destruction//////////////////////////////////////////////////////////////////////CPdh::CPdh(){pdhStatus = PdhOpenQuery (0, 0, &hQuery);pCounterHandle = (HCOUNTER *)GlobalAlloc(GPTR, sizeof(HCOUNTER));pdhStatus = PdhAddCounter (hQuery,"\Processor(_TOTAL)\% Processor Time",0,pCounterHandle);pdhStatus = PdhCollectQueryData (hQuery);}CPdh::~CPdh(){pdhStatus = PdhCloseQuery (hQuery);}double CPdh::GetValue(){pdhStatus = PdhCollectQueryData (hQuery);pdhStatus = PdhGetFormattedCounterValue (*pCounterHandle,PDH_FMT_DOUBLE,&ctrType,&fmtValue);if (pdhStatus == ERROR_SUCCESS)return fmtValue.doubleValue;elsereturn -1;}..FILE:Pdh.h// Pdh.h: intelgClass3=CAboutDlgResourceCount=4Resource1=IDD_ABOUTBOXResource2=IDR_MAINFRAMEResource3=IDD_WORKMANAGER_DIALOGResource4=IDR_TRAYMENU[CLS:CWorkManagerApp]Type=0HeaderFile=WorkManager.hImplementationFile=WorkManager.cppFilter=NLastObject=CWorkManagerApp[CLS:CWorkManagerDlg]Type=0HeaderFile=WorkManagerDlg.hImplementationFile=WorkManagerDlg.cppFilter=DBaseClass=CDialogVirtualFilter=dWCLastObject=CWorkManagerDlg[CLS:CAboutDlg]Type=0HeaderFile=WorkManagerDlg.hImplementationFile=WorkManagerDlg.cppFilter=D[DLG:IDD_ABOUTBOX]Type=1Class=CAboutDlgControlCount=4Control1=IDC_STATIC,static,1342177283Control2=IDC_STATIC,static,1342308480Control3=IDC_STATIC,static,1342308352Control4=IDOK,button,1342373889[DLG:IDD_WORKMANAGER_DIALOG]Type=1Class=?ControlCount=8Control1=IDC_BUTTON2,button,1342242816Control2=IDC_LIST3,SysListView32,1342278153Control3=IDC_BUTTON3,button,1342242816Control4=IDC_USAGE,static,1342308353Control5=IDC_STATIC,static,1342308352Control6=IDC_BUTTON1,button,1342242816Control7=IDC_LISTect..FILE:WorkManager.dswMicrosoft Developer Studio Workspace File, Format Version 6.00# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!###############################################################################Project: "WorkManager"=.WorkManager.dsp - Package Owner=Package={{{}}}Package={{{}}}###############################################################################Global:Package={{{}}}Package={{{}}}###############################################################################..FILE:WorkManager.h// WorkManager.h : main header file for the WORKMANAGER application//#if !defined(AFX_WORKMANAGER_H__2FBD0463_254C_446A_89DA_DE0E23515709__INCLUDED_)#define AFX_WORKMANAGER_H__2FBD0463_254C_446A_89DA_DE0E23515709__INCLUDED_#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000#ifndef __AFXWIN_H__#error include 'stdafx.h' before including this file for PCH#endif#include "resource.h" // main symbols/////////////////////////////////////////////////////////////////////////////// C////////////////////////////////////////////////////// String Table//STRINGTABLE DISCARDABLEBEGINIDS_ABOUTBOX "WorkManager 정보(&A)..."END#endif // Korean resources/////////////////////////////////////////////////////////////////////////////#ifndef APSTUDIO_INVOKED///////////////////////////////////////////////////////////////////////////////// Generated from the TEXTINCLUDE 3 resource.//#define _AFX_NO_SPLITTER_RESOURCES#define _AFX_NO_OLE_RESOURCES#define _AFX_NO_TRACKER_RESOURCES#define _AFX_NO_PROPERTY_RESOURCES#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_KOR)#ifdef _WIN32LANGUAGE 18, 1#pragma code_page(949)#endif //_WIN32#include "resWorkManager.rc2" // non-Microsoft Visual C++ edited resources#include "l.korafxres.rc" // Standard components#endif/////////////////////////////////////////////////////////////////////////////#endif // not APSTUDIO_INVOKED..FILE:WorkManagerDlg.cpp// WorkManagerDlg.cpp : implementation file//#include "stdafx.h"#include "WorkManager.h"#include "Wooid CWorkManagerDlg::KillProcess(){DWORD rVal;rVal = KillProcessFunc();bool bCheck = true;for(int i = m_ctrlList.GetItemCount(); i >= 0; i--){string str;str = m_ctrlList.GetItemText(i, 0);vector::iterator where;where = find( m_vSelItem.begin(), m_vSelItem.end(), str );if( where != m_vSelItem.end() ){m_ctrlList.DeleteItem(i);}}}void CWorkManagerDlg::AllKill(){string str;for(int i = m_ctrlList.GetItemCount(); i >= 0; i--){str = (LPSTR)(LPCTSTR)m_ctrlList.GetItemText(i, 0);m_vSelItem.push_back(str);}KillProcessFunc();}void CWorkManagerDlg::OnDestroy(){CDialog::OnDestroy();// TODO: Add your message handler code herenid.cbSize = sizeof nid;nid.hWnd = this->m_hWnd;nid.uID = IDR_MAINFRAME;Shell_NotifyIcon(NIM_DELETE, &nid);}LONG CWorkManagerDlg::OnTrayNotify(WPARAM wParam, LPARAM lParam){CMenu menu, *pTrayMenu;CPoint pt;if(wParam == IDR_MAINFRAME){switch(lParam){case WM_RBUTTONUP:menu.LoadMenu(IDR_TRAYMENU);pTrayMenu = menu.GetSubMenu(0);::SetMenuDefaultItem(pTrayMenu->m_hMenu, ID_MENUITEM_TO
    공학/기술| 2004.07.20| 2페이지| 1,000원| 조회(1,864)
    미리보기
  • 비디오 캡쳐 프로그램
    ..FILE:CapDlg.cpp// CapDlg.cpp : implementation file//#include "stdafx.h"#include "VidCap.h"#include "CapDlg.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// CCapDlg dialogCCapDlg::CCapDlg(CWnd* pParent /*=NULL*/): CDialog(CCapDlg::IDD, pParent){m_uiFrameRate = 10;//{{AFX_DATA_INIT(CCapDlg)// NOTE: the ClassWizard will add member initialization here//}}AFX_DATA_INIT}void CCapDlg::DoDataExchange(CDataExchange* pDX){CDialog::DoDataExchange(pDX);//{{AFX_DATA_MAP(CCapDlg)// NOTE: the ClassWizard will add DDX and DDV calls here//}}AFX_DATA_MAP}BEGIN_MESSAGE_MAP(CCapDlg, CDialog)//{{AFX_MSG_MAP(CCapDlg)ON_WM_DESTROY()//}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// CCapDlg message handlersLRESULT PASCAL FrameCallbackProc(HWND hWnd, LPVIDEOHDR lpVHdr){::AfxGetMainWnd()->PostMessage(UM_CAPTURE_FRAME, 0, (LPARA The dialog'stemplate is in VidCap.rc, which can be edited in MicrosoftVisual C++./////////////////////////////////////////////////////////////////////////////Other standard files:StdAfx.h, StdAfx.cppThese files are used to build a precompiled header (PCH) filenamed VidCap.pch and a precompiled types file named StdAfx.obj.Resource.hThis is the standard header file, which defines new resource IDs.Microsoft Visual C++ reads and updates this file./////////////////////////////////////////////////////////////////////////////Other notes:AppWizard uses "TODO:" to indicate parts of the source code youshould add to or customize.If your application uses MFC in a shared DLL, and your application isin a language other than the operating system's current language, youwill need to copy the corresponding localized resources MFC42XXX.DLLfrom the Microsoft Visual C++ CD-ROM onto the system or system32 directory,and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.For example, MFCmissed with OK}else if (nResponse == IDCANCEL){// TODO: Place code here to handle when the dialog is// dismissed with Cancel}// Since the dialog has been closed, return FALSE so that we exit the// application, rather than start the application's message pump.return FALSE;}..FILE:VidCap.dsp# Microsoft Developer Studio Project File - Name="VidCap" - Package Owner=# Microsoft Developer Studio Generated Build File, Format Version 6.00# ** DO NOT EDIT **# TARGTYPE "Win32 (x86) Application" 0x0101CFG=VidCap - Win32 Debug!MESSAGE This is not a valid makefile. To build this project using NMAKE,!MESSAGE use the Export Makefile command and run!MESSAGE!MESSAGE NMAKE /f "VidCap.mak".!MESSAGE!MESSAGE You can specify a configuration when running NMAKE!MESSAGE by defining the macro CFG on the command line. For example:!MESSAGE!MESSAGE NMAKE /f "VidCap.mak" CFG="VidCap - Win32 Debug"!MESSAGE!MESSAGE Possible choices for configuration are:!MESSAGE!MESSAGE "VidCap - Win32 Release" (based on "Win32 (x86)H__014D2787_5CA1_11D3_B62C_0050048E7153__INCLUDED_)..FILE:VidCap.ncb..FILE:VidCap.opt..FILE:VidCap.plgBuild Log--------------------Configuration: VidCap - Win32 Debug--------------------Command LinesCreating command line "rc.exe /l 0x412 /fo"Debug/VidCap.res" /d "_DEBUG" /d "_AFXDLL" "C:Documents and SettingsAdministrator바탕 화면VidCapStep01VidCap.rc""Creating temporary file "C:DOCUME~1ADMINI~1LOCALS~1TempRSPAF.tmp" with contents[/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Debug/VidCap.pch" /Yu"stdafx.h" /Fo"Debug/" /Fd"Debug/" /FD /GZ /c"C:Documents and SettingsAdministrator바탕 화면VidCapStep01CapDlg.cpp""C:Documents and SettingsAdministrator바탕 화면VidCapStep01VidCap.cpp""C:Documents and SettingsAdministrator바탕 화면VidCapStep01VidCapDlg.cpp"]Creating command line "cl.exe @C:DOCUME~1ADMINI~1LOCALS~1TempRSPAF.tmp"Creating temporary file "C:DOCUME~1ADMINI~1LOCALS~1TempRSPB0.tmp" with contents[/nologo /MDd /W3 idCap.rc2" // non-Microsoft Visual C++ edited resources#include "l.korafxres.rc" // Standard components#endif/////////////////////////////////////////////////////////////////////////////#endif // not APSTUDIO_INVOKED..FILE:VidCapDlg.cpp// VidCapDlg.cpp : implementation file//#include "stdafx.h"#include "VidCap.h"#include "VidCapDlg.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// CVidCapDlg dialogCVidCapDlg::CVidCapDlg(CWnd* pParent /*=NULL*/): CDialog(CVidCapDlg::IDD, pParent){m_pCapDlg = NULL;//{{AFX_DATA_INIT(CVidCapDlg)m_uiRate = 0;m_uiCurFrame = 0;//}}AFX_DATA_INIT// Note that LoadIcon does not require a subsequent DestroyIcon in Win32m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);}void CVidCapDlg::DoDataExchange(CDataExchange* pDX){CDialog::DoDataExchange(pDX);//{{AFX_DATA_MAP(CVidCapDlg)DDX_Control(pDX, IDC_BUTTON_RATE, m_btnRate);DDX_Control(pDX, IDC_BUTT/
    공학/기술| 2003.09.24| 2페이지| 1,000원| 조회(1,976)
    미리보기
  • [프로그램] 이미지 뷰어 프로그램 평가B괜찮아요
    ..FILE:FolderCtrl.cpp// DriveCtrl.cpp : implementation file//#include "stdafx.h"#include "FolderCtrl.h"#include "shfolder.h"#include "resource.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif#define _IMAGE_DESKTOP 0#define _IMAGE_MYDOCUMENT 1#define _IMAGE_MYPICTURE 2#define _IMAGE_MYCOMPUTER 3#define _IMAGE_FLOPPY 4#define _IMAGE_HARDDISK 5#define _IMAGE_NETDISK 6#define _IMAGE_CDROM 7#define _IMAGE_CLOSEFOLDER 8#define _IMAGE_OPENFOLDER 9#define _IMAGE_NETHOOD 10/////////////////////////////////////////////////////////////////////////////// CFolderCtrlCFolderCtrl::CFolderCtrl(){}CFolderCtrl::~CFolderCtrl(){}BEGIN_MESSAGE_MAP(CFolderCtrl, CTreeCtrl)//{{AFX_MSG_MAP(CFolderCtrl)ON_WM_CREATE()ON_NOTIFY_REFLECT(TVN_ITEMEXPANDING, OnItemexpanding)//}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// CFolderCtrl message handlers//------------------------------------------------------------w::Dump(dc);}#endif //_DEBUG/////////////////////////////////////////////////////////////////////////////// CImageView message handlersvoid CImageView::OnSize(UINT nType, int cx, int cy){CView::OnSize(nType, cx, cy);// TODO: Add your message handler code here}void CImageView::OnInitialUpdate(){CView::OnInitialUpdate();}..FILE:ImageView.h#if !defined(AFX_IMAGEVIEW_H__66FE49DC_8FDD_4311_8847_07C306A0193B__INCLUDED_)#define AFX_IMAGEVIEW_H__66FE49DC_8FDD_4311_8847_07C306A0193B__INCLUDED_#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000// ImageView.h : header file///////////////////////////////////////////////////////////////////////////////// CImageView viewclass CImageView : public CView{protected:CImageView(); // protected constructor used by dynamic creationDECLARE_DYNCREATE(CImageView)// Attributespublic:// Operationspublic:// Overrides// ClassWizard generated virtual function overrides//{{AFX_VIRTUAL(CImageView)public:virtual void OnInitialUpdate();protected:virtual void OnDra----------------------------------------------------------// 함수설명 : 마우스의 눌림이 풀렸을 때 필요한 작업을 하도록 한다.//---------------------------------------------------------------------------void CPhotoListCtrl::OnLButtonUp(UINT nFlags, CPoint point){}//---------------------------------------------------------------------------// 함수설명 : 마우스가 움직일 때 필요한 작업을 하도록 한다.//---------------------------------------------------------------------------void CPhotoListCtrl::OnMouseMove(UINT nFlags, CPoint point){}//---------------------------------------------------------------------------// 함수설명 : 더블클릭된 아이템을 얻어와 필요한 행동을 하도록 한다.//---------------------------------------------------------------------------void CPhotoListCtrl::OnLButtonDblClk(UINT nFlags, CPoint point){}//---------------------------------------------------------------------------// 함수설명 : Vertical Scroll 처리를 직접 처리해 주는 것//---------------------------------------------------------------------------void CPhotoListCtrl::OnVScroll(UINT nSBCode, UINT nPos, CSc--------------------------------------// IPicture 객체에서 이미지의 사이즈를 얻어온다.//-------------------------------------------------------OLE_XSIZE_HIMETRIC xSize;OLE_YSIZE_HIMETRIC ySize;m_pIPicture->get_Width(&xSize);m_pIPicture->get_Height(&ySize);const int HIMETRIC_PER_INCH = 2540;//-------------------------------------------------------// Inch당 픽셀수를 얻어온다.//-------------------------------------------------------CClientDC dc(NULL);int nPixelsPerInchX = dc.GetDeviceCaps(LOGPIXELSX);int nPixelsPerInchY = dc.GetDeviceCaps(LOGPIXELSY);//-------------------------------------------------------// 실제 이미지 사이즈를 얻어온다.//-------------------------------------------------------m_sizeImage.cx = (nPixelsPerInchX * xSize)/HIMETRIC_PER_INCH;m_sizeImage.cy = (nPixelsPerInchY * ySize)/HIMETRIC_PER_INCH;return m_sizeImage;}//--------------------------------------------------------------------// 함수설명 : 이미지의 실제사이즈를 (필셀단위) 반환한다.//--------------------------------------------------------------------CSize CPicture::GetIm///////////////////////////////////////////////////////// Generated from the TEXTINCLUDE 2 resource.//#include "afxres.h"/////////////////////////////////////////////////////////////////////////////#undef APSTUDIO_READONLY_SYMBOLS/////////////////////////////////////////////////////////////////////////////// Korean resources#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_KOR)#ifdef _WIN32LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT#pragma code_page(949)#endif //_WIN32#ifdef APSTUDIO_INVOKED///////////////////////////////////////////////////////////////////////////////// TEXTINCLUDE//1 TEXTINCLUDE DISCARDABLEBEGIN"resource.h"END2 TEXTINCLUDE DISCARDABLEBEGIN"#include ""afxres.h""rn"""END3 TEXTINCLUDE DISCARDABLEBEGIN"#define _AFX_NO_SPLITTER_RESOURCESrn""#define _AFX_NO_OLE_RESOURCESrn""#define _AFX_NO_TRACKER_RESOURCESrn""#define _AFX_NO_PROPERTY_RESOURCESrn""rn""#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_KOR)rn""#ifdef _WIN32rn""LANGUAGE 18, 1rn""#pragma codeT
    공학/기술| 2003.09.24| 3페이지| 1,000원| 조회(1,524)
    미리보기
  • [프로그램] 전화번호부 프로그램 평가A+최고예요
    #include <stdio.h>#include <process.h>#include <conio.h>#include <string.h>void screen(void);void input(struct Book*, int);void search(struct Book*, int);void list(struct Book*, int);void delect(struct Book*, int);struct Book{char na[5][11];char te[5][11];};void main(){struct Book book={0,};int mnu, cnt=0;
    프로그램소스| 2003.09.24| 7페이지| 1,000원| 조회(1,505)
    미리보기
  • [프로그래밍 언어] C로 코딩한 간단한 성적관리 프로그램 평가A+최고예요
    #include #include #define MAX 5void input(struct Sungjuk*, int);void terms(struct Sungjuk*, int);void init(struct Sungjuk*);void Cal(struct Sungjuk*, struct Sungjuk*, int);struct Sungjuk{int no;int kor;int eng;int math;int sum;float ave;};void main(){struct Sungjuk student[MAX], total={0,};char in, cnt=0;while(1){system("cls");printf("[input] [search] [total] [quit]n");scanf("%c", &in);switch(in){case 'i': input(student, cnt); cnt++; break;case 's': terms(student, cnt); break;case 't': init(&total); Cal(student, &total, cnt); break;case 'q': exit(0); break;}}}void input(struct Sungjuk* student, int cnt){printf("번 호 : ");scanf("%d", &(student+cnt)->no);printf("국 어 : ");scanf("%d", &(student+cnt)->kor);printf("영 어 : ");scanf("%d", &(student+cnt)->eng);printf("수 학 : ");scanf("%d", &(student+cnt)->math);}void terms(struct Sungjuk* student, int cnt){int no, i, cur;printf("번 호 : ");scanf("%d", &no);for(i=0; ikor = 0;total->eng = 0;total->math = 0;total->sum = 0;total->ave = 0.0;}void Cal(struct Sungjuk* student, struct Sungjuk* total, int cnt){int i;for(i=0; ikor += (student+i)->kor;total->eng += (student+i)->eng;total->math += (student+i)->math;}total->sum = total->kor+total->eng+total->math;total->ave = (float)total->sum/3;printf("국어총점 : %dn", total->kor);printf("영어총점 : %dn", total->eng);printf("수학총점 : %dn", total->math);printf("전체총점 : %dn", total->sum);printf("전체평균 : %.2fn", total->ave);getchar();getchar();}
    공학/기술| 2002.07.25| 2페이지| 1,000원| 조회(2,213)
    미리보기
전체보기
받은후기 10
10개 리뷰 평점
  • A+최고예요
    2
  • A좋아요
    4
  • B괜찮아요
    2
  • C아쉬워요
    0
  • D별로예요
    2
전체보기
해캠 AI 챗봇과 대화하기
챗봇으로 간편하게 상담해보세요.
2026년 05월 17일 일요일
AI 챗봇
안녕하세요. 해피캠퍼스 AI 챗봇입니다. 무엇이 궁금하신가요?
6:20 오후
문서 초안을 생성해주는 EasyAI
안녕하세요 해피캠퍼스의 20년의 운영 노하우를 이용하여 당신만의 초안을 만들어주는 EasyAI 입니다.
저는 아래와 같이 작업을 도와드립니다.
- 주제만 입력하면 AI가 방대한 정보를 재가공하여, 최적의 목차와 내용을 자동으로 만들어 드립니다.
- 장문의 콘텐츠를 쉽고 빠르게 작성해 드립니다.
- 스토어에서 무료 이용권를 계정별로 1회 발급 받을 수 있습니다. 지금 바로 체험해 보세요!
이런 주제들을 입력해 보세요.
- 유아에게 적합한 문학작품의 기준과 특성
- 한국인의 가치관 중에서 정신적 가치관을 이루는 것들을 문화적 문법으로 정리하고, 현대한국사회에서 일어나는 사건과 사고를 비교하여 자신의 의견으로 기술하세요
- 작별인사 독후감