C programs written in ubuntu to run on raspberry pi
Posted: Fri Feb 09, 2018 10:34 am
hello all just joined the group I have a program written in GCC C on a computer running Ubuntu it worked well it stores family data in files I am attempting to run the program on raspberry pi but when I get to the point when the file is put onto the screen I get a segmentation error message I can only assume that has something to do with the address where the file is stored ie home/pi I am using fp=fopen(filename,"r"); can anyone help I am getting lost regards Malcolm