Thread: What is wrong with my code "else missing if" THANK YOU

  1. #1
    Registered User
    Join Date
    Mar 2015
    Posts
    1

    What is wrong with my code "else missing if" THANK YOU

    code
    Last edited by SMR05; 03-05-2015 at 02:30 PM.

  2. #2
    Registered User rstanley's Avatar
    Join Date
    Jun 2014
    Location
    New York, NY
    Posts
    844
    Don't just delete the message if you see what your problem was. Tell the others so they can learn.

    I was in the process of answering your question.

  3. #3
    Registered User rstanley's Avatar
    Join Date
    Jun 2014
    Location
    New York, NY
    Posts
    844
    Don't just delete the message if you see what your problem was. Tell the others so they can learn.

    I was in the process of answering your question.

  4. #4
    Registered User
    Join Date
    Jun 2011
    Posts
    4,508
    Indeed - deleting your original post is considered bad form. Regardless, I was able to find your original post, and am almost tempted to re-post your code myself.

    You could improve your program greatly by putting the input and number-checking in a loop.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 01-15-2013, 10:31 AM
  2. Replies: 4
    Last Post: 10-18-2012, 08:43 AM
  3. An interesting code about "struct" in "union"
    By meili100 in forum C++ Programming
    Replies: 3
    Last Post: 04-08-2008, 04:37 AM
  4. "itoa"-"_itoa" , "inp"-"_inp", Why some functions have "
    By L.O.K. in forum Windows Programming
    Replies: 5
    Last Post: 12-08-2002, 08:25 AM
  5. "CWnd"-"HWnd","CBitmap"-"HBitmap"...., What is mean by "
    By L.O.K. in forum Windows Programming
    Replies: 2
    Last Post: 12-04-2002, 07:59 AM

Tags for this Thread