currently, you are just opening the external binary file for reading |
|
|
|
currently, you are just opening the external binary file for reading |
|
Last edited by Ynot; 08-03-2008 at 10:04 AM.
*wonders why anyone would want to type "Programmer's Notepad" instead of just "pn"* |
|
Okay, I will look into that. Also, how do I make it so it never really ends? Most programms I van write go along a timeline, and it ends. I know how to make it stop with getchar(),but that doesn;t really help. How would I make this more like a terminal? So where it stays open and allows peope tocontinuously write commands? |
|
If you want it to be like a terminal, you can always put the getchar inside a loop... something like |
|
Errm... I was assuming the if statement, and whatever else you want to do, lives inside processCommand.... |
|
Bookmarks