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??
Printable View
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??
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.
Any application can be a command line application - or do you mean "Console Application"?Quote:
Originally Posted by maverick786us
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 -
...To open a file called - "SomeTextFile.txt".Code:notepad.exe SomeTextFile.txt
If you need to build "Console Application" in Visual Studio, create a new project of type "Win32 Console Application".