strcar keep closing my program
i have made a program, i had code that said
im not online with this computer so ive just writen out a similar problem, well its the same really.
printf("please enter file name: ");
strcat(final , a); //with out this it works
strcat(final, txt ); //and this
file = fopen(a,"w");
the program ends its self when i add in the strcat statments. without its fine.
does anyone know why this is?