Changes

Jump to: navigation, search

Project R0.1 20131- OOP344

102 bytes added, 16:53, 5 February 2013
Help
|I'm stuck on test 4.4 where toggling insert mode changes the *insertMode between 1 and 0. I tried assigning *insertMode to 0 in the else statement in the if(*insertMode){} clause. I'm not sure if I'm making some kind of rookie mistake please HELP!!!!|| How I did it was if (*insertMode) != true make it true else make it false. -kpersaud <hr/> this was actually very simple: http://www.noobiedev.com/oop344/oop34-r-01-insert-mode/ <hr/> Spike, left a better method in the comments
|-
|Hi, the cio_test.cpp is V '''0.94.1''' but the cio_test.o on matrix is just V '''0.94'''. Is this normal or did I copied the wrong test file on matrix?||The correct 0.94.1 cio_test.o should be up on matrix. Try $cp ~fardad.soleimanloo/cio_test.o - phuang19|-|Can anyone explain me the 4.23 and 4.24 and 5 from cio_test? 4.23: Escape when IsTextEditor=0, hit HOME key, then 'a' 'b' 'c' and then ESCAPE to test. It seems no keys should work in this test.. I am not sure 4.23 is about ReadOnly. 4.24 works fine but i do not really know why! LOL || 4.23: test to see if your '''ESC''' function works<br />4.24: this is not documented, but '''ESC''' function does not apply when '''IsTextEditor==true''', so 4.24 test that your ESC '''DOES NOT''' work when '''IsTextEditor==1'''<br />5. does nothing, let you play around with str to see if something is amiss <br />-bli64
|-
|Does ReadOnly if statement work like ESCAPE key ? (Store the string in another variable and replace it). ? And, how do you guys initialize the global variable for CIO_TABSIZE ? Do I need to specify the link in console.h file as well? (What I did was.. unsigned int CIO_TABSIZE=4 in console.cpp).: D || unsigned int CIO_TABSIZE = 4; in console.cpp and extern unsigned int CIO_TABSIZE; in console.h <hr /> ReadOnly does not work like the ESCAPE key in non text editior mode. It should prevent the user from making any modifications on str. For example: when the user presses the DEL key in Read only mode, it should not remove the character that is currently on the cursor. Instead the function should return DEL and do nothing to str. -- yhwong6

Navigation menu