Nibble Guru - Computing queries demystified Sunday, November 23, 2008
Home
My Account / Register
Login / Logout
Post your Problem!
Search

About Us
Contact Us



List Home > Programming / Scripting > C/C++ >   [ Post New Problem ]

Welcome back !
TrackingID : 6337
Posted : Tuesday, December 27th, 2005 06:54:43 AM
By : kapil5
Command Line ParameterConfiguration:
I wish to know how I can write a program which can be given one or more strings as command line parameters and it builds a linked list with copies of those strings. Operating System : Microsoft Windows XP Professional

Related Problems :
Comments :
Re: Command Line Parameter by Anonymous Ghost on December 27th, 2005 06:57:39 AM
Just have your main function like:

int main(int argc,char **argv)

argc will get the number of arguments whereas argv will contain the individual argument values.

Related Problems :
Post a Note :
UserName (not required in anonymous posts)
Password (not required in anonymous posts)
Post Anonymous (check this only if you wish to post anonymously.)
Subject
Comment (limited HTML allowed)



List Home > Programming / Scripting > C/C++ >   [ Post New Problem ]
Copyright © 2001-2008, Nibble Guru