Search:

Type: Posts; User: JoshLalonde

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    3,070

    Oh, so that's what the problem is. I should store...

    Oh, so that's what the problem is. I should store the return value of isFoundDb into a variable and then check the variable rather than running the function each time and determining its return....
  2. Replies
    15
    Views
    3,070

    Sorry for the double post, but it's for emphasis....

    Sorry for the double post, but it's for emphasis. I determined that there's a problem with the if/else in isFoundDb. I created a test file removing the embedded loops and it repeats infinitely. The...
  3. Replies
    15
    Views
    3,070

    Thank you so very much for your help :) I knew...

    Thank you so very much for your help :) I knew there was something wrong with the loop, but I couldn't quite figure that out. And oh, lol. Thanks again, guys! :D I haven't checked it yet, but I'm...
  4. Replies
    15
    Views
    3,070

    I heard you're supposed to flush the buffer...

    I heard you're supposed to flush the buffer before running getch();. Also, the main.c is below the isFoundDb.c. I run and if-else sort of thing to see what the return value of isFoundDb() is. I think...
  5. Replies
    15
    Views
    3,070

    Oh, wow! Thanks. I tried compiling it with the...

    Oh, wow! Thanks.
    I tried compiling it with the i=0 corrected to i==0, but then it still doesn't work. :( Thanks though.
  6. Replies
    16
    Views
    1,672

    Oh, didn't catch that XD

    Oh, didn't catch that XD
  7. Replies
    15
    Views
    3,070

    Couldn't indent it since tab doesn't work, but I...

    Couldn't indent it since tab doesn't work, but I tried making it more blocky to help.
    Thanks :)
    And regarding goto, meh. It has its benefits, depends. Like, a quick way to exit a program in the...
  8. Replies
    16
    Views
    1,672

    I could be mistaken but perhaps the & symbol...

    I could be mistaken but perhaps the & symbol needs some space. Otherwise it'll consider it as an address... Might be wrong.
    So try:
    x==0 && y == 0, etc. instead of x==0&&y==0

    Oh, and since...
  9. Replies
    15
    Views
    3,070

    Unknown error with Y/N type system.

    For school (voluntary, not a required project), I'm creating a bonuscalc for the teachers to use. Everything is coming along smoothly, except for a portion of code that handles whether or not a file...
Results 1 to 9 of 9