16,013,642 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Pakh (Top 7 by date)
Pakh
7-Dec-12 14:48pm
View
your wellcome
Pakh
7-Dec-12 11:25am
View
Deleted
No there is no need for break
Pakh
7-Dec-12 10:55am
View
Deleted
No there is no need for "break"
when you use "return" it returns the value then it goes to where you called your method
Pakh
7-Dec-12 10:51am
View
No there is no need for break
when you use return it will return the value then it will end the method
(for example if you have two arrays of 100 and i=0,j=0,arr1[i]>arr2[j] then it will return true and the method will end there)
For more details you can look for (in any book about java) break,continue,return,break Label,etc
Pakh
7-Dec-12 8:41am
View
No, in my code it returns false right away when *arr1[i]>arr2[j]* happens.
about the second part I don't understand what you are saying,( your arrays can have hundereds of elements)
Pakh
7-Dec-12 4:13am
View
if you find i and j so that arr1[i] > arr2[j]
you know for sure that the result is false
anything you do after that is extra
If you really need to return value after all fors you can define a bool,
and instead of returning assign the value to your bool and at the end return your boolean
Pakh
6-Dec-12 19:31pm
View
I still don't understand How the data is orginized in Excel
please , give couple of excel rows as an example and the desired SQL table
Show More