Open main menu

CDOT Wiki β

Changes

Assignment 1: Q & A

1,809 bytes added, 21:02, 25 September 2013
no edit summary
<br>'''Submitted by:''' Team 6 <br><br>
== Bug Report ==
* A1test.cpp sets const int ROW_ERRORS = 22. All the error message code using ROW_ERRORS makes the program crash if your console has less than ~30 rows (depending on number of errors you trigger)<br>
'''Q:''' Do i always assume that the field length given is not more than the width of the whole screen from the given column for display function?<br>'''A:''' No, program your function in a way that it does follow the given instructions but it does not print any character passed the screen size and It should NOT print the rest on next line. (Answered by Team 1)<br>'''Submitted by:''' Team 61 <br><br>
'''Q:''' Can I create 64-bit executable using borland compiler? <br>
'''A:''' No you cannot create 64-bit executable. With Borland compiler you can only create 32-bit executable. <br>
'''Submitted by:''' Shajinth Pathmakulaseelan and Auquib Rasul, Team 2 <br><br>
* A1testborland.exe on A1 page has an error in its programming logic <br>[http'''Q://oi45.tinypic.com/dx03g4.jpg Before] <br>[http://oi50.tinypic.com/e7xxxe.jpg After]<br>When in edit mode and when the cursor is over the second character, and the backspace key is used, the character not only gets deleted but the cursor moves right 4 characters. This is obviously not intentional.''' Can ncurses package capture mouse events ? <br>'''Submitted byA:''' Danny Perrone and Michael LaMonaca<br><br>*A1testborland.exe Yes ncurses library in linux can capture events from mouse but in some environments, xterm is inefficient when it comes to key presses. It calls the display function even if the string offset has not changed, causing used under the cursor-flicker when using left/right keys in quick successionX window system. <br>'''Submitted by: '''Team42.Shajinth Pathmakulaseelan and Auquib Rasul, Team 2 <br><br>
* A1testborland.exe has another error in its programming logic <br>
When the string is at max length, if you press the left key and then right, the offset changes instead of the cursor position.
*Steps to recreate error
**type until max length is reached
**press left key
**press right key
'''Submitted by: '''Shayan Vaghei & Mohamed Baig Team4.<br><br>
== Possible Additional Features: ==
== Bug Reports ==
# A1test.cpp sets const int ROW_ERRORS = 22. All the error message code using ROW_ERRORS makes the program crash if your console has less than ~30 rows (depending on number of errors you trigger)<br>'''Submitted by:''' Team 6<br>
# A1testborland.exe on A1 page has an error in its programming logic.
#*[http://oi45.tinypic.com/dx03g4.jpg Before]
#*[http://oi50.tinypic.com/e7xxxe.jpg After]<br> When in edit mode and when the cursor is over the second character, and the backspace key is used, the character not only gets deleted but the cursor moves right 4 characters. This is obviously not intentional. <br>'''Submitted by:''' Danny Perrone and Michael LaMonaca
# A1testborland.exe is inefficient when it comes to key presses. It calls the display function even if the string offset has not changed, causing the cursor-flicker when using left/right keys in quick succession. <br>'''Submitted by: '''Team42.
# A1testborland.exe has another error in its programming logic. When the string is at max length, if you press the left key and then right, the offset changes instead of the cursor position.
#*Steps to recreate error
#**type until max length is reached
#**press left key
#**press right key <br>'''Submitted by: '''Shayan Vaghei & Mohamed Baig Team4.
# Another bug in a1testBORLAND.exe
#*When trying to backspace all characters, and then typing, the characters won't show off till you have typed as long as fieldLength's size. <br>'''Submitted by: '''Shayan Vaghei & Mohamed Baig Team4.
# *On the a1test, once you've reached the part where you have to make A & Z lowercase again then pressing ESCAPE, the change in Z is retained. The specifications says that pressing ESCAPE shouldn't affect the current string.<br>'''Submitted by: '''Rubinder Singh & Radney Alquiza, Team11.
 
== Possible Additional Features/Challenging & Interesting Enhancements ==
 
=== Features Proposed by Team 42 ===
#[[:File:Dumb_word_wrapping.jpg|Dumb word wrapping]] - Cut off string at the end of line and wrap it (Proposed by Team42)
#[[:File:Smart_word_wrapping.jpg|Smart word wrapping]] - Smart word wrapping - words are not cut off mid-word while wrapping (Proposed by Team42)
#Optimization - the 'test' compiled .exe has efficiency issues when scrolling around the string (Proposed by Team42)
#Colors - you can add color to the test program if you're making your own main
#Timer - to keep track of how long the user has been running your custom main
#Files - Read string from file, use that string for editing, then write the result string to that file, overwriting original