CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2005
    Posts
    1,828

    Command Line Application

    Can anyone give me brief idea what a command line application is? How it is build, where can i find tutorials for building an command line application??

  2. #2
    Join Date
    Dec 2004
    Location
    Paso de Robles
    Posts
    296

    Re: Command Line Application

    A command line program is a program that is run from a console like MSDOS or (if you use linux) a shell. I'm assuming you are using visual C++. If so, select new project (I no longer have Visual C++ installed, so I can't check this). There should be a project titled something like a "simple hello world program." Select it and it will generate a basic application for you. Now just select run from one of the menus and your program will be compiled and executed. Good luck.

  3. #3
    Join Date
    Oct 2002
    Location
    Germany
    Posts
    6,205

    Re: Command Line Application

    Quote Originally Posted by maverick786us
    Can anyone give me brief idea what a command line application is? How it is build, where can i find tutorials for building an command line application??
    Any application can be a command line application - or do you mean "Console Application"?

    An application that accepts parameters on the commandline can be called a "command-line application" and this could be a windows application, a console application, a unix application, etc...

    For example, notepad is a "command line application" as you can invoke it with -
    Code:
    notepad.exe SomeTextFile.txt
    ...To open a file called - "SomeTextFile.txt".

    If you need to build "Console Application" in Visual Studio, create a new project of type "Win32 Console Application".
    Last edited by Siddhartha; May 20th, 2006 at 04:03 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured