simulation command "Type" by C

i need simulation command "Type" by C .Can you help me?
Thank you
You'll have to give a lot more details.
Write algorithms and simulation programs for the command "TYPE" of the operating system
ex
C:\>type testing.doc
Last edited on
1) write a prgram that does "algorithms and simulation programs" (whatever that is)

2) name it "type.exe"

3) put it in a recognized directory (system32?)
I think he's supposed to write a program that prints the type of a file, e.g. if it's a .doc file, it prints the file type, e.g. "Document."
That's easy...
I believe type is Windows' cat (when used for printing).
Topic archived. No new replies allowed.