Search:

Type: Posts; User: PseudoSane

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    4,760

    Mandelbrot tutorial?

    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...
  2. Replies
    6
    Views
    6,563

    the string trick worked like a charm, thx a ton...

    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);
  3. Replies
    6
    Views
    6,563

    the only way i can think of that would make that...

    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...
  4. Replies
    6
    Views
    6,563

    boy do i feel sheepish, i forgot the silly & in...

    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...
  5. Replies
    6
    Views
    6,563

    2d arrays and fscanf

    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...
  6. Replies
    4
    Views
    1,289

    ha, wow I would of never noticed that with out...

    ha, wow I would of never noticed that with out that illustration, thx a ton all!
  7. Replies
    4
    Views
    1,289

    Opening a file with stdin?

    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...
Results 1 to 7 of 7