Search:

Type: Posts; User: Volair

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    1,986

    I got that fixed, the walked help to say the...

    I got that fixed, the walked help to say the least. Thanks btw :D

    (Yeah the fgets I looked up and it said it returned NULL. Though ssharish2005 said to use != EOF so thats half the reason I...
  2. Replies
    4
    Views
    6,563

    >< Programming lords shoot me now. Thanks...

    >< Programming lords shoot me now.

    Thanks Dave. I'll try not to be an idiot anymore, but I can't promise that o o
  3. Replies
    4
    Views
    6,563

    Sorry ^ ^; I forgot those important details o o;...

    Sorry ^ ^; I forgot those important details o o;

    dataList is:
    char dataList [5][MAX];
    passed as:
    fp = getData ( dataList, fp, &linesR);
    recieved as:
    FILE *getData ( char...
  4. Replies
    4
    Views
    6,563

    arithmetic on pointer to an incomplete type?

    I keep getting the 'arithmetic on pointer to an incomplete type' on all of the following:


    strcpy ( dataList[i], buffer2 );


    lineLen = strlen(buffer2);
    for ( j=0; j < lineLen...
  5. Replies
    12
    Views
    1,986

    I am really starting to freak out... What am...

    I am really starting to freak out...

    What am I doing wrong. I'll be back, need to take a walk. This is the thrid time I have rebuilt my adding to tree functions

    ...
  6. Replies
    12
    Views
    1,986

    How about this? Or should I do it all in main?...

    How about this? Or should I do it all in main? (Im trying to make functions that I can use later, but I guess I am not doing that to well ^ ^; )


    #include "lab05.h"

    int buildTree ( struct...
  7. Replies
    12
    Views
    1,986

    Hmmmm, well I might as well give it a shot! ...

    Hmmmm, well I might as well give it a shot! Thanks!
  8. Replies
    12
    Views
    1,986

    How would I do something like that :S ? Like...

    How would I do something like that :S ? Like have a function write to 2D arrary from the file, then send the 2D array to a function that adds the lines to the tree?
  9. Replies
    12
    Views
    1,986

    Btw, I can send you a copy of my entire program...

    Btw, I can send you a copy of my entire program zipped and with the make file if you need.
  10. Replies
    12
    Views
    1,986

    Skipping the line.

    I really hate to ask this, but I just can't stand this program any more. I have been working on it about 4-8 hours a day for last two or three days. And haven't made much progress. I am about to...
  11. Replies
    3
    Views
    1,192

    Ah I see. >< Gah, when did I take that out?! ...

    Ah I see. >< Gah, when did I take that out?!

    Thanks :D
  12. Replies
    3
    Views
    1,192

    A simple problem?

    I, for whatever reason, get a seg fault when ever I do


    soil->root = NULL


    I also find that when I try the following I get a seg fault as well.


    soil -> root = (struct entry *) malloc...
  13. Replies
    2
    Views
    1,082

    OK I have it now where it will exit, but even...

    OK I have it now where it will exit, but even when a "peg" is in the correct spot, a white peg is still added (white peg being that that you guessed a right color in the wrong spot). I checked it...
  14. Replies
    2
    Views
    1,082

    Trouble exiting do-while

    Alright I figured out my first problem, so now I can't figure out why I can't exit the 'checkGuess' function with out it adding as many "white pegs" as it pleases. Any ideas?


    ...
  15. Thread: Header Files

    by Volair
    Replies
    2
    Views
    2,561

    Header Files

    I finished a project and a got a 48/50 on it :D but the points I lost where due to it being one day late and not making a header file. So now I am going back and trying to make a header file (for...
  16. Replies
    7
    Views
    2,410

    Infinite scanf o O?

    Has anyone else had a problem where the scanf would just keep prompting? This is odd... really odd.
  17. Replies
    7
    Views
    2,410

    Alright cool, I'll see if that works : ) Thank...

    Alright cool, I'll see if that works : ) Thank you very much.
  18. Replies
    7
    Views
    2,410

    Alright, here it is. #include...

    Alright, here it is.



    #include<stdio.h>
    #include<math.h>
    #include<stdlib.h>
    #include<string.h>

    void menu(int *option);
  19. Replies
    7
    Views
    2,410

    Arithmetic on pointer...?

    When I complie my program I get this error:

    lab05.c:183: arithmetic on pointer to an incomplete type

    Line 183 is this:

    word[i]=list[x][i];

    I also get it for a few other line similar. I...
Results 1 to 19 of 20