views:

52

answers:

1

Ok so im having a bit of an issue here. basically Im reading shared memory but thats not the problem. I have a change.c function that lets me change a struct studentdata shared memory if I enter their "ID" number.

ISSUE WAS SOLVED

+1  A: 

I believe the strings really aren't the same. Try using strncmp ?

nc3b
this worked, they must've not been null terminated :(
Mercfh