Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / December 2004

Tip: Looking for answers? Try searching our database.

NewBie Doubt

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Amrro - 21 Dec 2004 17:00 GMT
Hi,

I am a C# developer but new to VC, I need some help, I need to read the
console arguments and need to convert in a array of string,

Ex:
C:> myTool -out c:\in -in c:\out#c:\out1#c:\out2

I need to read every string in -in as separate, Please help me regarding
this.

Amrro
JF JOLIN - 21 Dec 2004 21:57 GMT
For a console app. normaly the main entry point looks like this:
void main(int argc, char **argv)

argc is a count of all arguments (including the executable itself)

argv points to an array containing the original command-line arguments  
passed to main when the program starts.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.