Input/output file???

Program reads arguments from the command line.The user shall give the names of input and output files, and the selected operation.The program then depending on the operation of the input data converts and writes to the output file.

I have to achieve to read the input text file

Can please somone send me any usefull link, telling wha tto do atually?

MANY THANKS!

For what in specific? Interpreting command line arguments? Reading from files? Writing to files?

Sounds like this is for some sort of task or assignment. You'd be much better having a go and then showing whatever code you're stuck with.
This might be a decent starting point for you:
http://www.cprogramming.com/tutorial/lesson14.html

Hello!

let's suppose I have a file containt next text:

"Hello!
My name is enemy!
I am making my first file input!"

Main question before all: is there any trick to do it online and if, where to save the file then?

p.s. there are online compilers with input posibilities, like ideone, but I am ttaly fresh here....worked on codepad till now!


MANY THANKS!!!
Topic archived. No new replies allowed.