Search Results

Showing results 1 to 12 of 12
Search took 0.01 seconds.
Search: Posts Made By: nam5a
Forum: Java Jul 2nd, 2009
Replies: 11
Views: 388
Posted By nam5a
Actually that was only a quick fix. The real problem was that I forgot to account for the base case in the searchForFile() method (when the array "files" is null). Thanks again though.
Forum: Java Jul 1st, 2009
Replies: 11
Views: 388
Posted By nam5a
Forum: Java Jul 1st, 2009
Replies: 11
Views: 388
Posted By nam5a
I think I may be a little confused, I thought I was doing that.
Forum: Java Jul 1st, 2009
Replies: 11
Views: 388
Posted By nam5a
When the method searchForFile() is ran, it prints out that the file is found (if you created it), once this happens the method should terminate but it does not. I don't understand why the method...
Forum: Java Jul 1st, 2009
Replies: 11
Views: 388
Posted By nam5a
I replaced the old line numbers with the actual line of code

Exception in thread "main" java.lang.NullPointerException
at Check.containsFile --> for (int i = 0; i < files.length; i++) {
at...
Forum: Java Jul 1st, 2009
Replies: 11
Views: 388
Posted By nam5a
Exception in thread "main" java.lang.NullPointerException
at Check.containsFile(Check.java:70)
at Check.searchForFile(Check.java:55)
at Check.searchForFile(Check.java:61)
at...
Forum: Java Jul 1st, 2009
Replies: 11
Views: 388
Posted By nam5a
I've created my own recursive file search. When the file is found it is printed that it is found, but the method searchForFile() does not terminate once the file is found, it continues to iterate and...
Forum: Python May 3rd, 2007
Replies: 3
Views: 1,158
Posted By nam5a
Begin:

The <expression>s are evaluated sequentially from left to right, and the value of the last <expression> is returned. This expression type is used to sequence side effects such as input and...
Forum: Python May 2nd, 2007
Replies: 3
Views: 1,158
Posted By nam5a
I was wondering if there is something in python similar to the begin expression in Scheme, and if not how would you write something in python to simulate it.
Forum: Computer Science May 1st, 2007
Replies: 2
Views: 1,021
Posted By nam5a
What is it??
Forum: Computer Science May 1st, 2007
Replies: 2
Views: 1,021
Posted By nam5a
How would you write a begin procedure in python that would be analogous to the scheme expression.
Forum: Computer Science May 1st, 2007
Replies: 1
Views: 1,133
Posted By nam5a
How would you write your own begin expression, that would be analogous to the built in procedure in scheme?
Showing results 1 to 12 of 12

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC