Search:

Type: Posts; User: Improvolone

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    2,087

    More stuff. I'm trying to just expand my if...

    More stuff. I'm trying to just expand my if statement to enclude everything.



    if (((myStr[i] < '0') || (myStr[i] > '9')) //allows only digits 0-9 in the string
    && ((myStr[i] != '-') &&...
  2. Replies
    8
    Views
    2,087

    I've been going through my book (unfortunatly the...

    I've been going through my book (unfortunatly the lectures have a habbit of not covering everything you need for the assignments, I guess that's one way to challenge you), and one example shows the...
  3. Replies
    8
    Views
    2,087

    That does work, thank you. However, this is a...

    That does work, thank you. However, this is a homework assignment that requires the use of strings so I don't think I can use yours.
  4. Replies
    8
    Views
    2,087

    By bad on the wrong forum, duly noted for any...

    By bad on the wrong forum, duly noted for any future problems.
    Thanks for the quick reply.
  5. Replies
    8
    Views
    2,087

    Reading errors in floats

    The goal is to write program asking for the user for a float, and to put in safety nets against in-proper entries.
    The following code allows the user to enter both positive and negative integers and...
Results 1 to 5 of 6