Re: Open command in wxEuphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi

fn = open(file, "r"), is returning -1 for fn (hence the bad file number - its
an error indicator

This means open() can't find the file

this means that the file sequence being passed to open_file is nor correct

put a puts(1, file) in the, at the beginning of open_file(), see whats being
passed to it.

Chris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu