i have tried this way but it compiles but just hangs
update
i have got it working as such but the output file is blank
Type: Posts; User: Boogyman
i have tried this way but it compiles but just hangs
update
i have got it working as such but the output file is blank
sorry i have a file that is stored in a stream from a text file hope this helps
thing is i need to remove !#"£$%^&*()_+¬ as well would this work by the way my programming is at the lowest level some syntax would be really really helpful
How do you remove a character from a string please could anyone tell me how to do it?
no im in the uk, i havent got anything else sorted yet as i am still researching how to do the rest, i was just concentrating on the file open and copy as i dididnt want to get to confused
I shouldn't see why i cant he never said anything about not using more than one function
Thankyou i will get some sleep again the help is most appreciated im just glad i found a site that has such helpful people
Thankyou guys for all your help I really appreciate it, lets just say My lecturer is blind to the fact that none of the students in his class apart from two know how to programme C, hes the one who...
Hi sorry... it was indented when i started because i do it with the editor i use but whenever i copy and paste in here it screws up will try my best next time I post... my fault for being lazy and...
hi sorry for being a pain but im still really stuck
so far i have
#include <stdio.h>
FILE * fte; // points to a file called fte (file to edit)
FILE * cfte; ...
is there a way to use fprintf to take the data from the file pointer to a new file? im going around in circles and have been told i need to use fprintf but i really dont know how to do it
#include <stdio.h>
FILE * fte; // points to a file called fte (file to edit)
main(void)
{
char name[50];
printf("Enter the name of file to open "); // issues the command to enter...
Hi, im hoping someone will take pity on me, for my uni course i have to pass a C Programming assessment but im failing at the first hurdle... I know nothing about C but I will fail my full course
...