Search:

Type: Posts; User: Enkid

Search: Search took 0.00 seconds.

  1. moreStudents = 'Y'; while(moreStudents == 'Y' ||...

    moreStudents = 'Y';
    while(moreStudents == 'Y' || moreStudents == 'y'){

    would be my suggestion. Put the brackets where you want it to repeat, then it will exit when the user doesn't press Y or...
  2. Why do you need the second if statement? If they...

    Why do you need the second if statement? If they don't say yes, why would you want to continue? Just put while before the first printf, and declare morestudents = 'Y'. Then leave the report summary...
  3. Replies
    7
    Views
    1,397

    lol, I'm working on a similar problem right now.

    lol, I'm working on a similar problem right now.
  4. Replies
    7
    Views
    1,397

    cukic?

    cukic?
  5. Replies
    7
    Views
    1,622

    You could put a while loop right after the...

    You could put a while loop right after the declarations for the code and have the if statemvent for 's' set an int to one with an else attached to it that will set the int to 0. The int can then be...
  6. Replies
    6
    Views
    12,144

    Could the data member being poorly allocated or...

    Could the data member being poorly allocated or buffer overflow cause this to get caught in an infinite loop? Here's the declaration and the allocation:


    struct listNode { /* self-referential...
  7. Replies
    6
    Views
    12,144

    I changed the 0 to NULL, and added the following:...

    I changed the 0 to NULL, and added the following:


    if(feof(fPtr))
    break;


    at the beginning of the loop and it still gets stuck in an infinite loop.
  8. Replies
    6
    Views
    12,144

    need help, fgets won't stop while loop

    I'm using the following code in order to order to split up a file into a linked list filled with words and several paragraphs. My question is that it seems that my while loop doesn't seem to be...
  9. Replies
    5
    Views
    1,432

    Thank you very very much, taht was the...

    Thank you very very much, taht was the information I was looking for.
  10. Replies
    5
    Views
    1,432

    I realize that, so, how to I fix the fact that it...

    I realize that, so, how to I fix the fact that it says I need objbase.h? Is there a different version of DirectX that I need to get or something? How do I get the objbase header?
  11. Replies
    5
    Views
    1,432

    First Graphical Game

    Hi, I'm starting to get interested in designing graphical games. I am using Visual C++ .Net 2005 Express. The problem I am having is that when I compile my code, I get an error that it can't find...
Results 1 to 11 of 11