case DEL_KEY:
for(i= *offset + *curpos; str[i];i++) {
str[i] = str[i+1];
}
break;
wow... lol.
How to look at this assignment:
I've been looking at it through a normal text.editor based program. Whereas, if I were to look at it as manipulating the strings (eg. DEL_KEY is just chomping up the string one at a time depending on what value your cursor position is... hope that made sense) then it becomes a lot easier to work
Wednesday, September 30, 2009
Monday, September 28, 2009
Saturday, September 19, 2009
Subscribe to:
Posts (Atom)