hey guys, i was wondering if you could help me with my problem!
i made a program that uses 3 arguments as inline commands:
argv is the name of the program)
argv  is the name of the first file
argv is the name of the second file
The purpose of the program is to write an inline command with these 3 arguments in the form <program_name.exe file1.txt file2.txt> and the program copies the content of file1.txt in file2.txt and then deletes file1.txt (similar to cut command). The thing is that everytime a different name is used and i cant use remove command that takes the destination of the file as an argument. what do you suggest?thanks for your time!
i hope i was clear.