Difference between revisions of "Assignment 1: Q & A"

From CDOT Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
== Q & A ==
 +
 
'''Q:''' What is the difference between terminating and aborting editing?<br>
 
'''Q:''' What is the difference between terminating and aborting editing?<br>
 
'''A:''' Terminating editing allows for the edited text to be saved, aborting it reverts the string to the original version.<br>
 
'''A:''' Terminating editing allows for the edited text to be saved, aborting it reverts the string to the original version.<br>
Line 10: Line 12:
 
'''A:''' Since you're the one using your insertMode variable in your 'other letters' default case, you can set it to whatever you want and treat it as such, simply make sure you're being consistent in your code. Submitted by Team42.<br>
 
'''A:''' Since you're the one using your insertMode variable in your 'other letters' default case, you can set it to whatever you want and treat it as such, simply make sure you're being consistent in your code. Submitted by Team42.<br>
 
'''Submitted by:''' Daniel Perrone and Michael LaMonaca <br><br>
 
'''Submitted by:''' Daniel Perrone and Michael LaMonaca <br><br>
 +
 +
 +
== Possible Additional Features: ==
 +
 +
 +
1 - Dumb word wrapping - cut off string at the end of line and wrap it (Proposed by Team42)
 +
 +
2 - Smart word wrapping - words are not cut off mid-word while wrapping (Proposed by Team42)
 +
 +
3 - Optimization - the 'test' compiled .exe has efficiency issues when scrolling around the string (Proposed by Team42)

Revision as of 13:05, 17 September 2012

Q & A

Q: What is the difference between terminating and aborting editing?
A: Terminating editing allows for the edited text to be saved, aborting it reverts the string to the original version.
Submitted by: Wes Hamilton & Joe Higginson

Q: Do we use consoleplus.cpp/.h or consolelineedit.cpp/.h for our A1 file compiling?
A: Your consolelineedit.cpp uses the consoleplus.h header file. There is no file named consoleplus.cpp or consolelineedit.h. Submitted by Team42.
Submitted by: Daniel Vescio & Alexandre Kostikov

Q: The parameter insertMode points to a bool variable that holds the current insert mode of the string. Do you want bool==true to be insert or overwrite? It isn't specified anywhere.
A: Since you're the one using your insertMode variable in your 'other letters' default case, you can set it to whatever you want and treat it as such, simply make sure you're being consistent in your code. Submitted by Team42.
Submitted by: Daniel Perrone and Michael LaMonaca


Possible Additional Features:

1 - Dumb word wrapping - cut off string at the end of line and wrap it (Proposed by Team42)

2 - Smart word wrapping - words are not cut off mid-word while wrapping (Proposed by Team42)

3 - Optimization - the 'test' compiled .exe has efficiency issues when scrolling around the string (Proposed by Team42)