Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Sleepking

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    2,106

    Re: Help with java (null pointer exception)

    I can't find your main also use [code] tags ['/'code] (clearly - the 's )
  2. Re: My if in java not doing what i expect it to do

    Never mind this works very well.
    Thanks for your help.
  3. Re: My if in java not doing what i expect it to do

    I'm sorry I am very new to Java. Thus, I don't understand how it should be formatted for people to understand it.
    Now I have a problem where it returns.
    #DOCUME
    When it should return #DOCUMENT...
  4. Re: My if in java not doing what i expect it to do

    it seems that my problem is || (OR) but i can't understand. why?


    if((TOKEN.indexOf("BEGIN")==-1)||(TOKEN.indexOf("END")==-1)||(TOKEN.indexOf("NAME")==-1)||(TOKEN.indexOf("VALUE")==-1))

    DOES...
  5. Re: My if in java not doing what i expect it to do

    if(TOKEN.indexOf("BEGIN")==-1)

    Will this work?
  6. Re: My if in java not doing what i expect it to do

    the == true in my code was a test it's taken out now i'm not sure if i need them.
    I code mostly in c++ my understanding is that this should work.
    I just checking to see if TOKEN which should be...
  7. My if in java not doing what i expect it to do

    I do not understand why Java does not end when my TOKEN string has BEGIN in the last five spots like the if says


    ...
Results 1 to 7 of 7


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center