I'm getting started on an assignment that uses C and openGL to draw a mandelbrot set. It simply needs to draw 1 given set, doesnt have to zoom, or change color over time. Anyone know of any useful...
Type: Posts; User: PseudoSane
I'm getting started on an assignment that uses C and openGL to draw a mandelbrot set. It simply needs to draw 1 given set, doesnt have to zoom, or change color over time. Anyone know of any useful...
the string trick worked like a charm, thx a ton =p
it looks like this now:
for(x=0; x != n2; x++)
{
for(y=0; y < t2; y++)
{
fscanf(data,"%s", s);
the only way i can think of that would make that possible is if I did something like:
if y is greater then 0 {
fscanf(data, "%d %d %d... etc
but i cant really do that since the columns...
boy do i feel sheepish, i forgot the silly & in the fscanf line, so it now looks like:
fscanf(data,"%d", &array[x][y]);
and it works fine =)
new problem i have now tho is that now i'm...
Greetings all,
I'm trying to read in data from a .dat file and put it into a 2d array, where the user specifies the number of rows (subjects) and columns (# of trials per subject) first.
my...
ha, wow I would of never noticed that with out that illustration, thx a ton all!
Greetings all, this board has been a great help so far, and i feel kind of sheepish asking this because I've seen so many post conserning it, but none of the solotions have worked for me.
Anyway I...