forked from nus-cs2103-AY1920S1/duke
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented saving to saving to/reading from disk + Level-7
- Loading branch information
1 parent
6c96a18
commit cb85e8d
Showing
6 changed files
with
226 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
import java.io.FileNotFoundException; | ||
|
||
public class Duke { | ||
public static void main(String[] args) { | ||
System.out.println(" ____________________________________________________________\n" + | ||
" Hello! I'm Duke\n" + | ||
" What can I do for you?\n" + | ||
" ____________________________________________________________\n"); | ||
System.out.println(" ____________________________________________________________\n" + | ||
" Hello! I'm Duke\n" + | ||
" What can I do for you?\n" + | ||
" ____________________________________________________________\n"); | ||
|
||
MainManager mm = new MainManager(); | ||
mm.run(); | ||
MainManager mm = new MainManager(); | ||
try { | ||
mm.readFromFile(); | ||
} catch (FileNotFoundException fE) { | ||
System.out.println(fE); | ||
} | ||
mm.run(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.