There we go thanks!
I had it halfway right and kept getting a seg error. I changed it back to ints completely and it works.
I <3 y'all
*edit:
Kennedy, you're advice got me there, it was...
Type: Posts; User: Kitty Litter
There we go thanks!
I had it halfway right and kept getting a seg error. I changed it back to ints completely and it works.
I <3 y'all
*edit:
Kennedy, you're advice got me there, it was...
Edit, I fixed my second question!
Thanks much!
But the fscanf function is correct right? I'm trying to figure out why I'm getting a segmentation error after the value of str1 is displayed =/
Hello, I keep getting a segmentation error in this code :(
I'm trying to get two values (from two lines) in a seperate out file, set them equal to a value, and then use them for calculations. But...