EmbLogic's Blog

Plz Explain how to solve this question?

int main(){
    int a[]={10,20,30,40};
    int i=3,x;
    x=1*a[--i]+2*a[--i]+3*a[--i];
    printf(“%d”,x);
}
Posted in Data Structures with C | Tagged | 1 Comment

Project_3 Assignment

1. WAP to convert lowercase latter in uppercase without calling the toupper().
2. WAP to execute the above program .
3. WAP to obtain the process id and parent id of the process.
4. Duplicate a process using fork() system call .Parent and the child must execute there own respective statements with in code segmemnt .
5.Create a resource allocator.
6.WAP tht demonstrates the creation Zombie and Orphan process.

Posted in Linux Internals and System Programming, Uncategorized | Tagged | Leave a comment

2d array

Hello Sir / ma’am

How to create 2d array using double pointer..??

Thanks & Regards

Posted in Uncategorized | Leave a comment

project 1 session 10

Hello sr,

Got the desired output of file compression, my rlog file and the output are given below.

output:- size=11
i=10
she laonr

file: ./fileio1.c,v
Working file: fileio1.c
head: 1.15
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 15; selected revisions: 15
description:
there area some syntax error
—————————-
revision 1.15
date: 2013/05/14 16:10:35; author: ritesh; state: Exp; lines: +2 -2
make j=0 for every iteration
—————————-
revision 1.14
date: 2013/05/14 16:07:31; author: ritesh; state: Exp; lines: +2 -2
decleared flag outside the for loop
—————————-
revision 1.13
date: 2013/05/14 16:01:58; author: ritesh; state: Exp; lines: +1 -1
defined masterarray in realloc
—————————-
revision 1.12
date: 2013/05/14 16:00:11; author: ritesh; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.11
date: 2013/05/14 15:51:21; author: ritesh; state: Exp; lines: +2 -2
define size,j
—————————-
revision 1.10
date: 2013/05/14 15:49:14; author: ritesh; state: Exp; lines: +32 -7
using realloc function
—————————-
revision 1.9
date: 2013/05/14 11:03:25; author: ritesh; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.8
date: 2013/05/14 11:01:04; author: ritesh; state: Exp; lines: +1 -1
decreased the size of masterarray.
—————————-
revision 1.7
date: 2013/05/14 10:58:45; author: ritesh; state: Exp; lines: +7 -3
use malloc function
—————————-
revision 1.6
date: 2013/05/14 10:13:04; author: ritesh; state: Exp; lines: +1 -1
removed syntex error.
—————————-
revision 1.5
date: 2013/05/14 10:03:52; author: ritesh; state: Exp; lines: +1 -1
forget to use the close command
—————————-
revision 1.4
date: 2013/05/14 09:59:13; author: ritesh; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.3
date: 2013/05/14 09:58:13; author: ritesh; state: Exp; lines: +15 -11
*** empty log message ***
—————————-
revision 1.2
date: 2013/05/14 09:55:31; author: ritesh; state: Exp; lines: +1 -1
syntax error
—————————-
revision 1.1
date: 2013/05/14 09:54:47; author: ritesh; state: Exp;
Initial revision

Posted in Uncategorized | Tagged | Leave a comment

Character Driver Function Write & Read Successfully Implemented.

Posted in Character Driver | Tagged | Leave a comment

Project 1

Did successfully queue and stack.
Performed each and evey operation successfully like
1.first check queue/stack is created or not.
2.enetr new element after checing the queue/stack is full or not.
3.delete element after checking the queue/stack is empty or not.
4 display the queue/stack.
5. delete the queue/stcak after checking the queue the status of the queue/stack

Posted in Data Structures with C | Tagged | Leave a comment

Paraller port driver

Implement the compatibility mode.

Posted in Uncategorized | Leave a comment

Project 00:

Configured TELNET and SSH server …

Posted in Uncategorized | Leave a comment

project 10: successfully bring up the olinuxino board

I have successfully bring up the olinuxino board and i’m try to bring up the giu on the same board

Posted in Uncategorized | Tagged , | Leave a comment

successfully bring up olinuxino A13 board

complete the bring up process…………..attach more storage device like pendrive,mouse etc.
easily copy data from pendrive to card home directory……………..

Posted in Uncategorized | Tagged , | Leave a comment

sucessfully bringup the olinuxino board

i have successfully bring up the olinuxino board.
i did the two partition of sd card successfully.

Posted in Uncategorized | Tagged , | Leave a comment

Project 10

Successfully finished the bring up of OLINUXINO A13 Board.
Now time for porting of GUI on the same board.

Posted in Uncategorized | Tagged , | Leave a comment

Project 10:Bring up OLINUXINO A 13 Board

Completed the bring up of OLINUXINO A13 Board…. Successfully logged in as root and performed simple commands like ls , cd  , poweroff , etc…..

Posted in Uncategorized | Tagged , | Leave a comment

successfully bring up the beagleboard_xm

did successfully the bring up of beagleboard_xm
did the two partiotions of sd card and format first partition with fat32 format and second partition with ext3.
Move MLO,u-boot.bin and uImage to the first partition.
Move file system to second partition.

Posted in Uncategorized | Tagged , | Leave a comment

MDC

Completed Compression/ Decompression for 4 bit code length.
Running properly.
It creats a compress file and a key file(contaning masterarray).
For decompression it uses compress file and key file.
trying for any code length.

Posted in Uncategorized | Leave a comment