User Profile

Collapse

Profile Sidebar

Collapse
nik35
nik35
Last Activity: Dec 3 '11, 08:03 AM
Joined: Oct 11 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thank you for your reply.
    I did the changes (except: assign kinisi[2] to it, and compare it to characters '1' through '8'-I don't know how)
    The program doesn't find error now, but still it doesn't show the message "white move ok" propably the while condition is not right.
    Yes I want an error message when user types more than 3 characters and when he doesn't type the permitted characters. Should I use strlen()?
    ...
    See more | Go to post

    Leave a comment:


  • How can I check input characters one by one as part of an array

    A move in chess (http://en.wikipedia.or g/wiki/Algebraic_notat ion_(chess)) can be written entering three characters:
    like: Ka1
    The first letter can be K, Q, R, N, B, P
    The second letter can be a, b, c, d, e, f, g, h,
    The third letter can be 1, 2, 3, 4,, 5, 6, 7, 8
    User can input 3 characters using the above rules
    If something is wrong with input characters the program must show error message (for example...
    See more | Go to post
No activity results to display
Show More
Working...