EmbLogic's Blog

Category Archives: Uncategorized

Hard Disk Partitioning.

Partitioning in hard disk is  of two types: a) MBR b) GPT MBR refers to master boot record and is knowledge of the first sector of any hard disk that identifies how and where an operating system is located so … Continue reading

Posted in Uncategorized | Leave a comment

Head Mounted Display

Head mounted display is one of the new gadget that has taken the electronic market with a surprise .A head-mounted display (or helmet-mounted display, for aviation applications), both abbreviated HMD, is a display device, worn on the head or as … Continue reading

Posted in Uncategorized | Leave a comment

Installation of GCC on Windows

To install GCC on Windows, you need to install MinGW. To install MinGW, go to the MinGW homepage, www.mingw.org, and follow the link to the MinGW download page. Download the latest version of the MinGW installation program, which should be … Continue reading

Posted in Uncategorized | Leave a comment

Creating threads

We can create threads using this function: int pthread_create(pthread_t *thread, pthread_attr_t *attr, void*(*start_routine)(void *), void *arg); *thread is a pointer to new thread, it points to a location where id of new thread will be written when the thread will … Continue reading

Posted in Uncategorized | Leave a comment

GCC compilation process

Posted in Uncategorized | Leave a comment

raspbery Pi 3 support flash player ?

As i am not able to open the www.emblogic.com , showing plugin required . i had tried installing many plugins for the browser . but not able to do . can any body knows ?

Posted in Uncategorized | Leave a comment

fork call in inter process communication

In multitasking operating systems, processes (running programs) need a way to create new processes, e.g. to run other programs. Fork and its variants are typically the only way of doing so in Unix-like systems. For a process to start the … Continue reading

Posted in Uncategorized | Leave a comment

rcs(revision control system)

The Revision Control System (RCS) is a software implementation of revision controlthat automates the storing, retrieval, logging, identification, and merging of revisions. RCS is useful for text that is revised frequently, for example programs, documentation, procedural graphics, papers, and form letters. RCS is also … Continue reading

Posted in Uncategorized | Leave a comment

write a program for selection sort

#include<stdio.h> int main() { int a[5]; int i,j,loc,smallest,temp; printf(“enter array element”); for(i=0;i<5;i++) { scanf(“%d”,&a[i]); } for(j=0;j<5;j++) { smallest=a[j]; for(i=j+1;i<5;i++) { if(a[i]<smallest) { smallest=a[i]; loc=i; temp=a[j]; a[j]=a[loc]; a[loc]=temp; } } printf(“sorted array is[%d]=%d\n”,j,a[j]); } return 0; }

Posted in Uncategorized | Leave a comment

link list basics in data c

Linked lists are among the simplest and most common data structures. They can be used to implement several other common abstract data types, including lists (the abstract data type), stacks, queues, associative arrays, and S-expressions, though it is not uncommon … Continue reading

Posted in Uncategorized | Leave a comment

c++ QNA

The copy constructor is a constructor which creates an object by initializing it with an object of the same class, which has been created previously. The copy constructor is used to: Initialize one object from another of the same type. … Continue reading

Posted in Uncategorized | Leave a comment

Introduction to IPC on Linux

Introduction to IPC on Linux Inter-Process-Communication (or IPC for short) are mechanisms provided by the kernel to allow processes to communicate with each other. On modern systems, IPCs form the web that bind together each process within a large scale … Continue reading

Posted in Uncategorized | Leave a comment

Difference Between Inline and Macro

Inline An inline function is just like any other function in C++ and is also called in the regular way. The function it performs is that it creates a copy of the compiled function definition. That is, it creates a … Continue reading

Posted in Uncategorized | Leave a comment

How to install vlc media player in fedora 20

In fedora you find a bug of gpgcheck but here is a solution of it go to your terminal and become super user using [root@localhost ~]# su – now you have type following commands link no.1:- rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm link … Continue reading

Posted in Uncategorized | Leave a comment

mdc four-bit

multiple data compression with four bit RCS file: code_length.c,v Working file: code_length.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: This is code_length(). Here we calculate the … Continue reading

Posted in Uncategorized | Leave a comment