Friday, October 30, 2009

Well the last group meeting went well. There were lots of "lol" which created a relax atmosphere to get work done. The importance of purpose was maintained and we were able to touch on some necessary points.

To this point, I am not so clear as to how everything is going to work with assignment2 but I don't think anybody is either. Maybe if we get a clear understanding of the USER VIEW, that might help faster.

Next group meeting is scheduled for Friday 30th October 2009 at 7pm.

Tuesday, October 20, 2009

I was trying to allocate memory dynamically in C using the C++ method of
char* ptr;
ptr=new char[len];

However the solution was

char* ptr=NULL;
ptr=(char*)mallock(len);

The latter actually worked. That was basically used to store the string temporarily just incase escape key was pressed to revert to original state.

Let me know of a better way.

Tuesday, October 6, 2009

I was able to solve the problem by including ncourses on the command line.
eg. cc ciol.c main.c -lcourses