-
PixelFusion.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
PixelFusion.h
This is the main header file for the application. It includes other
project specific headers (including RESOURCE.h) and declares the
CPixelFusionApp application class.
PixelFusion.cpp
This is the main application source file that contains the application
class CPixelFusionApp.
PixelFusion.rc
This is a listing of all of the Microsoft Windows RESOURCEs that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
PixelFusion.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
標簽:
his
brovey
上傳時間:
2015-03-16
上傳用戶:313777423
-
// 學生管理.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "RESOURCE.h"
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instance
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
TCHAR szWindowClass[MAX_LOADSTRING]; // 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);
struct person
{
char name[10];
int ID;
int cj_yw;
int cj_sx;
struct person* next;
struct person* pro;
}per;
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
// TODO: Place code here.
MSG msg;
HACCEL hAccelTable;
// Initialize global strings
LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
LoadString(hInstance, IDC_MY, szWindowClass, MAX_LOADSTRING);
MyRegisterClass(hInstance);
// Perform application initialization:
if (!InitInstance (hInstance, nCmdShow))
{
return FALSE;
}
hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_MY);
// Main message loop:
while (GetMessage(&msg, NULL, 0, 0))
{
if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
return msg.wParam;
}
//
// FUNCTION: MyRegisterClass()
//
// PURPOSE: Registers the window class.
//
// COMMENTS:
//
// This function and its usage is only necessary if you want this code
// to be compatible with Win32 systems prior to the 'RegisterClassEx'
// function that was added to Windows 95. It is important to call this function
// so that the application will get 'well formed' small icons associated
// with it.
//
ATOM MyRegisterClass(HINSTANCE hInstance)
{
WNDCLASSEX wcex;
wcex.cbSize = sizeof(WNDCLASSEX);
wcex.style = CS_HREDRAW | CS_VREDRAW;
wcex.lpfnWndProc = (WNDPROC)WndProc;
wcex.cbClsExtra = 0;
wcex.cbWndExtra = 0;
wcex.hInstance = hInstance;
wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_MY);
wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
wcex.lpszMenuName = (LPCSTR)IDC_MY;
wcex.lpszClassName = szWindowClass;
wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL);
return RegisterClassEx(&wcex);
}
//
// FUNCTION: InitInstance(HANDLE, int)
//
// PURPOSE: Saves instance handle and creates main window
//
// COMMENTS:
//
// In this function, we save the instance handle in a global variable and
// create and display the main program window.
//
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
{
HWND hWnd;
hInst = hInstance; // Store instance handle in our global variable
hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);
if (!hWnd)
{
return FALSE;
}
ShowWindow(hWnd, nCmdShow);
UpdateWindow(hWnd);
return TRUE;
}
//
// FUNCTION: WndProc(HWND, unsigned, WORD, LONG)
//
// PURPOSE: Processes messages for the main window.
//
// WM_COMMAND - process the application menu
// WM_PAINT - Paint the main window
// WM_DESTROY - post a quit message and return
//
//
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
int wmId, wmEvent;
PAINTSTRUCT ps;
HDC hdc;
TCHAR szHello[MAX_LOADSTRING];
LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING);
switch (message)
{
case WM_COMMAND:
wmId = LOWORD(wParam);
wmEvent = HIWORD(wParam);
// Parse the menu selections:
switch (wmId)
{
case IDM_ABOUT:
DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About);
break;
case IDM_EXIT:
DestroyWindow(hWnd);
break;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}
break;
case WM_PAINT:
hdc = BeginPaint(hWnd, &ps);
// TODO: Add any drawing code here...
RECT rt;
GetClientRect(hWnd, &rt);
DrawText(hdc, szHello, strlen(szHello), &rt, DT_CENTER);
EndPaint(hWnd, &ps);
break;
case WM_DESTROY:
PostQuitMessage(0);
break;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}
return 0;
}
// Mesage handler for about box.
LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message)
{
case WM_INITDIALOG:
return TRUE;
case WM_COMMAND:
if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL)
{
EndDialog(hDlg, LOWORD(wParam));
return TRUE;
}
break;
}
return FALSE;
}
標簽:
計算器
學生
上傳時間:
2016-12-29
上傳用戶:767483511
-
// 學生管理.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "RESOURCE.h"
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instance
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
TCHAR szWindowClass[MAX_LOADSTRING]; // 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);
struct person
{
char name[10];
int ID;
int cj_yw;
int cj_sx;
struct person* next;
struct person* pro;
}per;
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
// TODO: Place code here.
MSG msg;
HACCEL hAccelTable;
// Initialize global strings
LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
LoadString(hInstance, IDC_MY, szWindowClass, MAX_LOADSTRING);
MyRegisterClass(hInstance);
// Perform application initialization:
if (!InitInstance (hInstance, nCmdShow))
{
return FALSE;
}
hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_MY);
// Main message loop:
while (GetMessage(&msg, NULL, 0, 0))
{
if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
return msg.wParam;
}
//
// FUNCTION: MyRegisterClass()
//
// PURPOSE: Registers the window class.
//
// COMMENTS:
//
// This function and its usage is only necessary if you want this code
// to be compatible with Win32 systems prior to the 'RegisterClassEx'
// function that was added to Windows 95. It is important to call this function
// so that the application will get 'well formed' small icons associated
// with it.
//
ATOM MyRegisterClass(HINSTANCE hInstance)
{
WNDCLASSEX wcex;
wcex.cbSize = sizeof(WNDCLASSEX);
wcex.style = CS_HREDRAW | CS_VREDRAW;
wcex.lpfnWndProc = (WNDPROC)WndProc;
wcex.cbClsExtra = 0;
wcex.cbWndExtra = 0;
wcex.hInstance = hInstance;
wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_MY);
wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
wcex.lpszMenuName = (LPCSTR)IDC_MY;
wcex.lpszClassName = szWindowClass;
wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL);
return RegisterClassEx(&wcex);
}
//
// FUNCTION: InitInstance(HANDLE, int)
//
// PURPOSE: Saves instance handle and creates main window
//
// COMMENTS:
//
// In this function, we save the instance handle in a global variable and
// create and display the main program window.
//
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
{
HWND hWnd;
hInst = hInstance; // Store instance handle in our global variable
hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);
if (!hWnd)
{
return FALSE;
}
ShowWindow(hWnd, nCmdShow);
UpdateWindow(hWnd);
return TRUE;
}
//
// FUNCTION: WndProc(HWND, unsigned, WORD, LONG)
//
// PURPOSE: Processes messages for the main window.
//
// WM_COMMAND - process the application menu
// WM_PAINT - Paint the main window
// WM_DESTROY - post a quit message and return
//
//
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
int wmId, wmEvent;
PAINTSTRUCT ps;
HDC hdc;
TCHAR szHello[MAX_LOADSTRING];
LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING);
switch (message)
{
case WM_COMMAND:
wmId = LOWORD(wParam);
wmEvent = HIWORD(wParam);
// Parse the menu selections:
switch (wmId)
{
case IDM_ABOUT:
DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About);
break;
case IDM_EXIT:
DestroyWindow(hWnd);
break;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}
break;
case WM_PAINT:
hdc = BeginPaint(hWnd, &ps);
// TODO: Add any drawing code here...
RECT rt;
GetClientRect(hWnd, &rt);
DrawText(hdc, szHello, strlen(szHello), &rt, DT_CENTER);
EndPaint(hWnd, &ps);
break;
case WM_DESTROY:
PostQuitMessage(0);
break;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}
return 0;
}
// Mesage handler for about box.
LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message)
{
case WM_INITDIALOG:
return TRUE;
case WM_COMMAND:
if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL)
{
EndDialog(hDlg, LOWORD(wParam));
return TRUE;
}
break;
}
return FALSE;
}
標簽:
學生 計算器
上傳時間:
2016-12-29
上傳用戶:767483511
-
Recently millimeter-wave bands have been postu-
lated as a means to accommodate the foreseen extreme bandwidth
demands in vehicular communications, which result from the
dissemination of sensory data to nearby vehicles for enhanced
environmental awareness and improved safety level. However, the
literature is particularly scarce in regards to principled RESOURCE
allocation schemes that deal with the challenging radio conditions
posed by the high mobility of vehicular scenarios
標簽:
Communications
Millimeter
Wave
V2V
上傳時間:
2020-05-23
上傳用戶:shancjb
-
Today’s wireless services have come a long way since the roll out of the
conventional voice-centric cellular systems. The demand for wireless access
in voice and high rate data multi-media applications has been increasing.
New generation wireless communication systems are aimed at accommodating
this demand through better RESOURCE management and improved transmission
technologies.
標簽:
Radio
Cognitive
Software
Defined
上傳時間:
2020-05-26
上傳用戶:shancjb
-
This book addresses two aspects of network operation quality; namely, RESOURCE
management and fault management.
Network operation quality is among the functions to be fulfilled in order to offer
quality of service, QoS, to the end user. It is characterized by four parameters:
– packet loss;
– delay;
– jitter, or the variation of delay over time;
– availability.
RESOURCE management employs mechanisms that enable the first three parameters
to be guaranteed or optimized. Fault management aims to ensure continuity of service.
標簽:
Ethernet
Networks
MPLS
and
IP
上傳時間:
2020-05-27
上傳用戶:shancjb
-
Your Cisco Networking Academy Course Booklet is designed as a study RESOURCE you can easily read, high-
light, and review on the go, wherever the Internet is not available or practical:
■ The text is extracted directly, word-for-word, from the online course so you can highlight important
points and take notes in the “Your Chapter Notes” section.
■ Headings with the exact page correlations provide a quick reference to the online course for your class-
room discussions and exam preparation.
■ An icon system directs you to the online curriculum to take full advantage of the images, labs, Packet
Tracer activities, and dynamic Flash-based activities embedded within the Networking Academy online
course interface.
標簽:
Switching
Wireless
LAN
and
上傳時間:
2020-05-27
上傳用戶:shancjb
-
To meet the future demand for huge traffic volume of wireless data service, the research on the fifth generation
(5G) mobile communication systems has been undertaken in recent years. It is expected that the spectral and energy
efficiencies in 5G mobile communication systems should be ten-fold higher than the ones in the fourth generation
(4G) mobile communication systems. Therefore, it is important to further exploit the potential of spatial multiplexing
of multiple antennas. In the last twenty years, multiple-input multiple-output (MIMO) antenna techniques have been
considered as the key techniques to increase the capacity of wireless communication systems. When a large-scale
antenna array (which is also called massive MIMO) is equipped in a base-station, or a large number of distributed
antennas (which is also called large-scale distributed MIMO) are deployed, the spectral and energy efficiencies can
be further improved by using spatial domain multiple access. This paper provides an overview of massive MIMO
and large-scale distributed MIMO systems, including spectral efficiency analysis, channel state information (CSI)
acquisition, wireless transmission technology, and RESOURCE allocation.
標簽:
Large-scale
Antenna
Systems
上傳時間:
2020-05-27
上傳用戶:shancjb
-
Today, our everyday life is almost impossible to detach
from the influence of wireless mobile communication
technologies. This global trend is growing exponentially, and
the mobile-only data traffic is expected to exceed stationary
data traffic. However, for further development of mobile
communication, there is a major obstacle to overcome, which
is the RESOURCE-paucity of portable devices relative to
stationary hardware.
標簽:
LTE-Advanced
Mechanism
DRX
上傳時間:
2020-05-27
上傳用戶:shancjb
-
This book is about multipoint cooperative communication, a key technology to
overcome the long-standing problem of limited transmission rate caused by inter-
point interference. However, the multipoint cooperative communication is not an
isolated technology. Instead, it covers a vast range of research areas such as the
multiple-input multiple-outputsystem, the relay network, channel state information
issues, inter-point radio RESOURCE management operations, coordinated or joint
transmissions, etc. We suppose that any attempt trying to thoroughly analyze the
multipoint cooperative communication technology might end up working on a
cyclopedia for modern communication systems and easily get lost in discussing all
kinds of cooperative communication schemes as well as the associated models and
their variations.
標簽:
Communication
Multi-point
Cooperative
Systems
上傳時間:
2020-05-31
上傳用戶:shancjb