Jump to content
Sign in to follow this  
scr4wl

C Read from .txt

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...