Dear E12 Trainees,
Update the status/issues pertaining to MDC project on daily basis through this post only.
Dear E12 Trainees,
Update the status/issues pertaining to MDC project on daily basis through this post only.
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.
mdc project status : master array nd code length done…
4 bit compression done
3-bit compression completed
2-bit compression also completed….now heading for 5-bit
4 bit decompression successfully completed
I have done master array, code length and conversion of integer to character. Now proceeding for data compression……
I have done 4-bit compression…………..
while(*buff!=”)
{
for(i=0;i<strlen(mas_arr);i++)
{
if(*(mas_arr+i)==*(buff+j))
{
break;
}
}
*(mas_arr+i)=*(buff+j);
buff++;
}
After this the buff will show nothing in it or the size of buff is showing zero.What is the reason.
while(*buff!=”)
{
for(i=0;i<strlen(mas_arr);i++)
{
if(*(mas_arr+i)==*buff)
{
break;
}
}
*(mas_arr+i)=*buff;
buff++;
}
After this the buff will show nothing in it or the size of buff is showing zero.What is the reason.
started mdc project…..
making master array…………
i have done master ary and code length
master array created progressing to code length development
i have done master array……..
4bit nd 2bit compression is done…
coding for master array and code length is done……
i have done 4bit and 2bit compression….
done the master array and code length
Made the master array and looking forward to the rest of the steps……
while(*buff!=”)
{
while(*buff=”)
{
for(i=0;i<5;i++)
{
if(*(mastarray+i)==*buff)
{ goto here;
}
*(mastarray+i)=*buff
}
it is showing segmentation fault.
i was not allocating memory to the *buff and master array thats why it was showing segmentation error.
finally done the master array.
done code length …..
now moving towards 4-bit compression…
4-bit compression done now doing 2-bit compresssion…..
2 bit compression done now doing 4-bit decompression
Done Master Array successfully,and now move to further steps..
Done with code length
Done with Type Casting and facing some problems in compression.
Done 4 bit compression and now doing 2 bit compression.
Done 2 bit compression and now doing 3 bit compression.
created master array….
if(*(ch+0)!=*(r+0))
{
*(r+0)=*(ch+0));
}
am getting d correct output only if d last charecter is same.if d same charecter is repeated after 2 or 3 charectr den again its typing d charecter bcoz d last charecter in d result had changed…
master array done
proceeding further
completed master array
going further
completed master array successfully….
doing code length coding….
Done 4 bit compression successfully & now move to 2 bit compression
done till compression of 4 bits.
the resultant character is in encrypted form,is it a right doing or it should print the character in pair.
4-bit compression is done
But I was confuse about my output for string given in class is
{ and its interger value is 123
n ————————-110
g————————–103
w————————–119
y————————–121
Is this is write answer
90% of 4bit compression competed
4-bit compression done..
getting an error when ndc greater than 8
here is d code for compression
for(i=0;i<ndc;i=i+2)
{
b=(char)i;
c=(char)(i+1);
b<<=4;
c<>=4;
*(res+k)=b|c;
printf(“%d\t%p\n”,k,*(res+k));
k++;
}
done master array.working on code length.
i hv done 4bit and 2bit compression….
getting an error when ndc is greater than 8
here is d code for compression
for(i=0;i<ndc;i=i+2)
{
b=(char)i;
c=(char)(i+1);
b<<=4;
c=4;
*(res+k)=b|c;
printf(“%d\t%p\n”,k,*(res+k));
k++;
}
4 bit compression and decompression completed….
done 4 bit n 2 bit compression
4bit n 2bit compression done
I had completed 3 bit compression and now implementing decompression of it.
i had also completed 4bit & 2bit compression/decompression.
I had implemented 3bit decompression.
I had done 2,3,4,5,6,7 bit com/decompression
now i am trying to implement generlised code.
Working on CVS and generalised MDC