This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Hi , I am trying to implement lock and unlock methods. I have db.db file that has flight information. The instructions say that I may move this(db.db) file but I may not modify it. I don't understand why db.db should not be modified, then where does the new airline flight bookings go?
my second question is which way is better to get the "word" out of a sentence. Should i first get the "String of data" line by line and then substring them or should i just use StringToken? and I find it hard to use StringToken....please enlighten me!
friso dejonge
Ranch Hand
Joined: Jul 11, 2002
Posts: 162
posted
0
Hi , I don't understand why db.db should not be modified, then where does the new airline flight bookings go?
You are not allowed to change columnames, etc, but you are allowed to modify (substract) the reserved seats field. Also you do not have to save any information on who booked what, when etc.
my second question is which way is better to get the "word" out of a sentence. Should i first get the "String of data" line by line and then substring them or should i just use StringToken? and I find it hard to use StringToken....please enlighten me!
If you are using it for your criteria find method, then the answer is StingToken. (although it may still be a matter of preference) Otherwise i cannot see the use for it, and cannot give a valid answer. sorry again, but hope this helps, friso
swimming certificate (A & B), shoelaces diploma, and some useless java ones.
John Smith
Ranch Hand
Joined: Oct 08, 2001
Posts: 2937
posted
0
The instructions say that I may move this(db.db) file but I may not modify it. I don't understand why db.db should not be modified, then where does the new airline flight bookings go?
All it says that you should include the original db.db file with your submission. Your program definitely should modify the db.db, just make a copy. Eugene.
"if"- Welcome to the JavaRanch! Please adjust your displayed name to meet the JavaRanch Naming Policy. You can change it here. Thanks! and welcome to the JavaRanch! Mark