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
ch8_23.cpp
Package: C.zip [view]
Upload User: gzy2011
Upload Date: 2021-02-09
Package Size: 20k
Code Size: 0k
Category:
Compress-Decompress algrithms
Development Platform:
Visual C++
- //file ch8_23.cpp
- //编写程序输出命令行中的所有参数(包括可执行程序名)
- #include"iostream.h"
- void main(int argc,char* argv[])
- {
- int i=0;
- while(*argv) //开始时,*argv指向第一个参数,*argv++后指向第二个参数...
- //NULL指针是否是自动加上去的
- cout<<"arg["<<i++<<"]:"<<*argv++<<endl;
- }