Feb 21, 2010 at 5:23am UTC
i need simulation command "Type" by C .Can you help me?
Thank you
Feb 21, 2010 at 6:26am UTC
You'll have to give a lot more details.
Feb 21, 2010 at 10:02am UTC
Write algorithms and simulation programs for the command "TYPE" of the operating system
ex
C:\>type testing.doc
Last edited on Feb 21, 2010 at 10:24am UTC
Feb 21, 2010 at 7:02pm UTC
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?)
Feb 21, 2010 at 7:10pm UTC
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...
Feb 22, 2010 at 12:28am UTC
I believe type is Windows' cat (when used for printing).