Search:

Type: Posts; User: pmacdonald

Search: Search took 0.01 seconds.

  1. Replies
    32
    Views
    15,496

    I'm going to start over with this program and...

    I'm going to start over with this program and start with writing out the pseudo code. I'll get back to you guys with my new results tomorrow (well I guess that would be later today).
  2. Replies
    32
    Views
    15,496

    What I don't understand is why in this book do...

    What I don't understand is why in this book do they not give you all the correct information before asking you a question where you need said information. Going off the examples in the book the...
  3. Replies
    32
    Views
    15,496

    I did look it up...and I know what it does. But...

    I did look it up...and I know what it does. But for some reason it wasn't working in the program. Why don't you tell me why?
  4. Replies
    32
    Views
    15,496

    EDIT: Alright so I was playing around with the...

    EDIT:

    Alright so I was playing around with the program more and decided to start eliminating lines until the program worked. When I took off the following line:

    srand(time());

    the program...
  5. Replies
    32
    Views
    15,496

    I actually appreciate you guys not giving me the...

    I actually appreciate you guys not giving me the direct answer.

    But I've run into another error and I just don't see what I'm doing wrong. I tried to simplify the program without using isdigit...
  6. Replies
    32
    Views
    15,496

    msh - mmh, the book hasn't gone over that yet so...

    msh - mmh, the book hasn't gone over that yet so there should be a way to make this program without incorporating it. I tried to add it but got the following errors:
    warning: return type defaults...
  7. Replies
    32
    Views
    15,496

    Please be more specific...around which if? I...

    Please be more specific...around which if? I added them around the isdigit function and I still got the errors. I'm also not sure that I can compare the character to the integer so how would I do...
  8. Replies
    32
    Views
    15,496

    A few more questions arose. How do I correctly...

    A few more questions arose. How do I correctly call char cResponse to see if it is equal to the integer iAnswer?

    This code turned up many error in; srand, time, and rand.

    Any ideas?

    ...
  9. Replies
    32
    Views
    15,496

    Thanks for the quick replies and clarifications. ...

    Thanks for the quick replies and clarifications. I had a hunch that I was using the isdigit function wrong.
  10. Replies
    32
    Views
    15,496

    Beginner C Question Help

    I'm currently reading C Programming for the Absolute Beginner and am stuck on one of the chapter questions. This is a really simple question but I am stuck.

    Problem:
    Build a number guessing game...
Results 1 to 10 of 10