I want to know the use of command-ine arguments in a program.Also can anyone tell me ,if the command-line arguments can be invoked in windkows systems or only in the command-oriented systems?Please help........

It depends really on what language you're using for developmen of software.
But most of them do support the use of command-line arguments.
And no. Those are not limited to command-oriented systems, but can be used in Windows programs as well.

This is how it's done in C++

int main(char* argv[]) {
}

or the more conventional way

int main(int argc, char* argv[]) {
}

This is how it's done in C#:

static void Main(string[] args)
{
}

And this is how it's done in VB:

Sub Main()
    Dim args() As String = Split(Command$, " ")
End Sub

And this is how it's done in VB.NET:

Module Module1
    Sub Main()
        Dim args() As String = My.Application.CommandLineArgs
    End Sub
End Module

Was this an answer to your question?

How can we invoke commandline arguments in windows 7 using c language as a programming language

yes oxi that is true but i wanna know how can i invoke my c++ command-line arguments using turbo c++ compiler ????Please give a brief account......

This question has already been answered. Start a new discussion instead.