Introduction to Computers Programming (ICP-132)

Main Page

Assignment 01
Assignment 02
Assignment 03
Assignment 04
Assignment 05
Assignment 06
Assignment 07
Assignment 08
Assignment 09
Assignment 10
Assignment 11
Assignment 12
Assignment 13

Coding rules (pdf)
Sample code
Prob: Set 1
Prob: Set 2
Compiler options
Submission

Forum
Teaching Assistants
Links
Trivia

Assignment 9

Write a function that for a given filename:

a. Prints the contents of the file.
b. Creates a file with content being its file name.
c. Appends into the file its file name.
d. Outputs "Identical" if two files, named through commandline, are identical.


PS: The program should be coded in both C and C++.