i am having a few difficulties as i cannot extract a name from a file i am reading in
i have the following code at the moment but i am not sure why it is not working, maybe ive used the wrong function
i am not using the fread, fopen, fwrite statements.
ideally i want it to got through each character and read it to see if is the special character, if it isnt then i would like to store it in the bufferCode:infiled = open(argv[argc-1], O_RDONLY, 0); //opens the file while (infiled, buffer < "¥", infiled++) nread=read(infiled, buffer, sizeof (buffer)); //while the symbol is not reached then keep reading
all help is much welcome and appreciated