2009년 11월 18일 수요일

my Status of #assignment 2.

I was supposed to do not IO_TextEdit but IO_Label but somethings that were about out group work had been changed so that now I have to do IO_TextEdit. (now i'm doing this job.)
I'm checking and reading step by step Fardad's writing about IO_TextEdit.
For doing IO_TextEdit, i should inherit IO_Field and IO_Frame into a new class called IO_TextEdit.
Now i'm making public method. (it's almost done.)
Actually hyunju So is also doing IO_TextEdit so that we guys are helping each others. it's working better.
In order to do this job, I'm reviewing the #Assignment1 and then i'm including io_edit function sequantly.

after IRC meeting.

Before IRC meeting, actually I didn't know how to deal the SVN. After 3times' IRC meeting and library meeting, i've learned how to check ,to add, to check and to commit my new files in the SVN .
And If someone has edited some files that is shared, I can receive their changes through update.
I have really thought that it's a good way in the group work.

2009년 9월 27일 일요일

challenge#1

char num_str[6], *str = num_str;
long number;
int i;

str += 5;
*str = '\0';
str--;

printf( "Enter the five-digit number.\n");
scanf( "%ld", &number );

if( number <= 99999L ){
while( number >= 10 ){
*str-- = '0' + (int)( number % 10L );
number /= 10;
}
*str = '0' + (int)number;

for( i = 0 ; i <= 5 ; i++ )
printf( "%c", str[i] );