command line input in c - TechRepublic
General discussion
August 29, 2002 at 10:23 PM
mmmova

command line input in c

by mmmova . Updated 23 years, 10 months ago

How can command line input be obtained in c?
please give your answer in the following scenario ….

You are given a program that has to accept input from an input1.txt file. This file contains some strings that U have to reverse….

Once u r done U make an exe file of your program and it is executed in this fashion…

c:\tc\bin>program1 input1.txt

Please give me a suitable answer
Thanx

This discussion is locked

All Comments