Surely you're being a bit of a fascist douche; I created those posts and I've given you good valid reason as to why I don't think they should be kept up. The "problems all over my code" weren't...
Type: Posts; User: Bro
Surely you're being a bit of a fascist douche; I created those posts and I've given you good valid reason as to why I don't think they should be kept up. The "problems all over my code" weren't...
The only thing I needed help with was my while loop, not all of my code. I realize now that I shouldn't have posted my full code in the first place, it was pointless and unnecessary . Is there no way...
I just realized that by putting all my source code up here that I might get plagiarized. This was meant to be a final project for one of my modules at college...
Is there any way to remove the...
Yess! It works now man! Thank you so much for your help Ooga dude. And the rest of you guys for your time.
Ooga,
It still doesn't work man. Segmentation faults are killing me arghh.
Grumpy,
It may seem "trivial" to you because you have years of experience. However I'm still starting out and...
Ooga,
While that code does eliminate all the segmentation errors, I am still facing the massive problem that it does not check if the "adjacent" element horizontally and vertically, has a value...
I tried all those things, I still get this same error. The array is not null within the loop.
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
#include <time.h>
int stick(int **grid, int size, int noPars);
double seedLoc(int size, int *centrex, int *centrey);
int...
I'm still getting the error despite changing my loop to ensure that XY values are never 0 or size. I'm not accessing any memory outside the allocated memory, so I'm quite baffled :confused:. Also I...
In regards to 2), the only reason I set size = 10,000 was to provide as much memory as possible to the grid array because of all of the segmentation faults I was getting. I just assumed that the...
Hey guys, I was wondering if you had any idea about this. Basically I'm creating a program to model Diffusion Limited Aggregation and am having segmentation errors due to my array memory allocation....