Jump to content

C Read from .txt


scr4wl

Recommended Posts

Ok I made some progress, but it still doesn't work :(

 

I'm using this to get what I want from the file stream.

 

Using this I'm getting seg faults, and I'm not sure why. :( Once again any help would be great :)

Share this post


Link to post
Share on other sites

Taking a look. BTW, did your professor ever tell you that lines shouldn't be over 80 characters long?

 

can you post all of your code so I don't have to write the main function. Or at least enough so I can run the relevant bits.

Edited by flareback

Share this post


Link to post
Share on other sites

Taking a look. BTW, did your professor ever tell you that lines shouldn't be over 80 characters long?

 

can you post all of your code so I don't have to write the main function. Or at least enough so I can run the relevant bits.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...