User Profile
Collapse
-
thanks yaar but , i tried all methods which are shown above but still i am getting the same error 'segmentation fault' -
I have used it but still i am not getting.can you pls correct it in my programme because i am newer to c and i dont know how to use malloc()[where i have to use it] in my programme.Leave a comment:
-
'segmentation fault' error
This is my programme in c for solving differential equations.When i run my programme in terminal in ubuntu it it is displaying the following error 'segmentation fault'.For compling the programme gcc lorenz.c and ./a.out is the code.I think the problem with arrays in my programme but i am not able to find that mistake.I get a Segmentation fault if N=1000000 but not in case of 10000. Could anyone please help me with this.
...
No activity results to display
Show More
Leave a comment: