Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7825101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T08:50:09+00:00 2026-06-02T08:50:09+00:00

this problem cannot be solved this time, due to major errors in the code

  • 0

this problem cannot be solved this time, due to major errors in the code which need to be corrected first before submitting the question.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T08:50:10+00:00Added an answer on June 2, 2026 at 8:50 am

    Instead of:

    if (result = true)
    

    do

    if (result)
    

    Also, instead of:

    for (int index = 0; index < lineList.size() - 1; index =+2)
    

    do

    for (int index = 0; index < lineList.size(); index +=2)
    

    Edited: Two issues on your for statement:

    1. index < lineList.size() - 1 will not hit the last item. Either remove - 1 or change < for <=
    2. Index does not increment its value. Change index =+2 for index +=2.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this little problem, that I cannot figure out which arguments to pass
i have a small problem here which i cannot fix,This post goes through but
I have this problem since a long time and I cannot find anything to
I've been trying to solve this problem for hours now and i cannot figure
I cannot find the solution for this problem, here is the simplified example: On
I have this problem and i just cannot find a solution to it. I
I've been searching on Google for a resolution to this problem, but cannot find
Well, maybe it is a stupid question, but I cannot resolve this problem. In
My example is similar to this - The only problem is I cannot rewrite
This is a very old problem, but I cannot seem to get my head

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.