Results 1 to 3 of 3

Thread: What's wrong?!

  1. #1
    Join Date
    Feb 2011
    Posts
    12
    Rep Power
    0

    Default What's wrong?!

    What's wrong with my for statement?

    for (int j = 0; j < count && flag = false; j++)
    ^
    error message: unexpected type
    required: variable
    found: value

  2. #2
    Join Date
    Feb 2011
    Posts
    12
    Rep Power
    0

    Default

    The "^" is supposed to be under the first "&".

  3. #3
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

Similar Threads

  1. Replies: 4
    Last Post: 06-11-2013, 01:37 AM
  2. does anyone know what is wrong with this?
    By blueduiker in forum New To Java
    Replies: 5
    Last Post: 03-22-2010, 10:25 AM
  3. what am i doing wrong here?
    By GPB in forum New To Java
    Replies: 3
    Last Post: 03-21-2010, 04:04 PM
  4. Please help, what am I doing wrong?
    By mmac1218 in forum New To Java
    Replies: 2
    Last Post: 09-01-2009, 11:21 PM
  5. Can someone tell me what I did wrong??
    By booter4429 in forum New To Java
    Replies: 7
    Last Post: 08-13-2008, 08:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •