In this post, we will see a chat program using named pipes (fifo). Pipes are used for communication between processes. The named pipes are fifos. They enable two way communication unlike ordinary pipes. But they are half duplex, i.e. communication can take place only in one direction at a time. The program is in 3 parts: pipe_creation.c, leftTerminal.c and rightTerminal.c.
pipe_creation.c
#include<stdio.h>
void main()
Information about resetting and configuring Mobile phones (Java, Android, Symbian etc), educational articles especially for programming in C, C++ and Java and more about Computers and operating systems
Creating A Process in Linux (UNIX) - fork() Example Program
The system call fork() is used to create a new process in UNIX based operating systems and Linux systems. The fork() system call creates a child process when called from a parent process. Unix will make an exact copy of the parent's address space and give it
to the child. Therefore, the parent and child processes have separate
address spaces. Here is a C program which uses the fork() system call to create a process during execution. The program is commented well for better understanding.
Program
/*The program (parent process) reads an array from the user.
It sorts it in descending order.
Program
/*The program (parent process) reads an array from the user.
It sorts it in descending order.
TATA DocoMo Balance theft - Balance deduction for no reason
TATA Docomo is one of the telecom operators in India which steals customers' money by activating unwanted (and unknown) services automatically. I just had heard some such news from Internet forums. But when i bought a TATA DoCoMo Sim and began to use it, i experienced it.
On 09/02/2015, i got an SMS. the message was as follows:
Unlimited at 49 is activated at Rs29.41 for 10days.Bal:Rs1.01 at 09-Feb-15 09:02.To stop, Dial or SMS STOP to 155223(Free)
On 09/02/2015, i got an SMS. the message was as follows:
Unlimited at 49 is activated at Rs29.41 for 10days.Bal:Rs1.01 at 09-Feb-15 09:02.To stop, Dial or SMS STOP to 155223(Free)
How to Fix Internal Errors 2501, 2502 or 2503 While Installing from .msi files in Windows
In Windows 8, you can see an error 2501, 2502 or 2503 when you try to install any application program or game from some .msi (Microsoft Installer) files. You can see the same error when you try uninstall some applications or games. The error message is like the one shown below:
Internal error 2502 |
Labels:
.msi
,
2501
,
2502
,
2503
,
compatibility
,
error
,
fix
,
How to
,
incomplete
,
installation
,
internal
,
microsoft installer
,
msi
,
package
,
problem
,
solution
,
solve
,
terminated
,
unexpected
,
Windows 8
Data Structures and Algorithms Previous Year Question Paper For BTech Computer Science and IT
Here i have uploaded the previous year (2014 MAY) question paper of DATA STRUCTURES AND ALGORITHMS (DS) for Fourth semester for Computer Science and Engineering (CS or CSE) and Information Technology (IT) branches under MG university BTech course.
Course : B.Tech Engineering (degree)
University: MG university (Mahatma Gandhi university) Kottayam, Kerala
Department or branch: Computer Science and Engineering (CS or CSE) and Information Technology (IT)
Course : B.Tech Engineering (degree)
University: MG university (Mahatma Gandhi university) Kottayam, Kerala
Department or branch: Computer Science and Engineering (CS or CSE) and Information Technology (IT)
Labels:
$studymat
,
algorithms
,
BTech
,
Computer Science
,
Data structures
,
download
,
DS
,
Fourth Semester
,
free
,
information
,
IT
,
MG University
,
paper
,
pdf
,
previous
,
question
,
technology
Previous Year Question Paper of Design of Concrete Structures (DCS) for BTech Civil Engineering
Here i have uploaded the previous year (2014 November) question paper of Design of Concrete Structures-I (DCS) for Fifth semester for Civil Engineering (CE) branch under MG university BTech course.
Course : B.Tech Engineering (degree)
University: MG university (Mahatma Gandhi university) Kottayam, Kerala
Department or branch: Civil Engineering (CE)
Semester: Fifth Semester (5th or s5)
Subject: CE 010 503 – Design of Concrete Structures-I (DCS)
Course : B.Tech Engineering (degree)
University: MG university (Mahatma Gandhi university) Kottayam, Kerala
Department or branch: Civil Engineering (CE)
Semester: Fifth Semester (5th or s5)
Subject: CE 010 503 – Design of Concrete Structures-I (DCS)
Labels:
$studymat
,
BTech
,
civil
,
concrete
,
DCS
,
design
,
download
,
engineering
,
Fifth semester
,
first
,
format
,
free
,
MG University
,
one
,
paper
,
pdf
,
previous
,
question
,
s5
,
structures
DBMS Previous Year Question Paper for Fifth Semester BTech Computer Science and IT
Here i have uploaded the previous year (2014 November) question paper of Database management systems (C S, IT) for Fifth semester for Computer science and engineering (CS or CSE) and information technology (IT) branches under MG university BTech course.
Course : B.Tech Engineering (degree)
University: MG university (Mahatma Gandhi university) Kottayam, Kerala
Department or branch: Computer science and engineering (CS or CSE) and Information Technology (IT)
Course : B.Tech Engineering (degree)
University: MG university (Mahatma Gandhi university) Kottayam, Kerala
Department or branch: Computer science and engineering (CS or CSE) and Information Technology (IT)
Labels:
$studymat
,
2014
,
B TEch
,
B.Tech
,
BTech
,
Computer Science
,
database
,
DBMS
,
download
,
free
,
information
,
IT
,
management
,
MG University
,
paper
,
pdf
,
previous
,
question
,
systems
,
technology
Computer Programming Fifth semester previous year Question Paper for Civil
Free download Computer Programming (CP) 2014 Previous Year Question Paper as pdf for B.Tech Civil engineering.
Course : BTech Engineering course (degree)
University: MG University (Mahatma Gandhi University)
Semester: Fifth Semester (5th) (s5)
Subject: CE 010 502- Computer programming (CP) (C programming)
Course : BTech Engineering course (degree)
University: MG University (Mahatma Gandhi University)
Semester: Fifth Semester (5th) (s5)
Subject: CE 010 502- Computer programming (CP) (C programming)
Labels:
$studymat
,
2014
,
BTech
,
computer programming
,
CP
,
download
,
engineering
,
Fifth semester
,
free
,
MG University
,
paper
,
pdf
,
previous
,
question
,
s5
,
sem
Advanced Mechanics of Materials (AMM) 2012 Previous Year Question Paper
Free download pdf B.Tech Advanced Mechanics of Materials (AMM) 2012 Previous Year Question Paper (2012 December) for Production engineering and Mechanical engineering.
Course : BTech Engineering course (degree)
University: MG University (Mahatma Gandhi University)
Semester: Fifth Semester (5th) (s5)
Subject: PE 010 503/ME 010 503- Advanced Mechanics of Materials (PE, ME)
Department or Branch : Mechanical engineering (Mech (ME)) and Production Engineering (PE)
Course : BTech Engineering course (degree)
University: MG University (Mahatma Gandhi University)
Semester: Fifth Semester (5th) (s5)
Subject: PE 010 503/ME 010 503- Advanced Mechanics of Materials (PE, ME)
Department or Branch : Mechanical engineering (Mech (ME)) and Production Engineering (PE)
Labels:
$studymat
,
Advanced
,
AMM
,
BTech
,
download
,
engineering
,
Fifth semester
,
free
,
Materials
,
mechanical
,
Mechanics
,
MG University
,
paper
,
pdf
,
previous
,
production
,
question
,
s5
Subscribe to:
Posts
(
Atom
)