can some one help me why its not copying the file ?
if(choice = 2)
{
puts("please open your archive\n");
scanf("%s",&archive);
archive_pointer = fopen( archive, "r+b"); //opens the archive
puts("please select the file you want to be copied into your archive\n");
scanf("%s",&original_file);
open_pointer = fopen( original_file, "r+b"); //opens the file that needs to be copied
original_pointer = fopen(original_file,"a+b");
copy_pointer = fopen( archive,"w+b");
while (( n = fread(buffer,1,sizeof buffer, original_pointer)) > 0);
{
fwrite(buffer,1, n , copy_pointer)