Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
demoII2_2.cpp
Package: Source.rar [view]
Upload User: husern
Upload Date: 2018-01-20
Package Size: 42486k
Code Size: 1k
Category:
Game Program
Development Platform:
Visual C++
- // DEMOII2_2.CPP - a simple message box
- #define WIN32_LEAN_AND_MEAN
- #include <windows.h> // the main windows headers
- #include <windowsx.h> // a lot of cool macros
- // main entry point for all windows programs
- int WINAPI WinMain(HINSTANCE hinstance,
- HINSTANCE hprevinstance,
- LPSTR lpcmdline,
- int ncmdshow)
- {
- // call message box api with NULL for parent window handle
- MessageBox(NULL, "THERE CAN BE ONLY ONE!!!",
- "MY FIRST WINDOWS PROGRAM",
- MB_OK | MB_ICONEXCLAMATION);
- // exit program
- return(0);
- } // end WinMain