April 24, 2016
/* Write a program for Matrix Multiplication using multicore programming. */ #include<iostream> #include<pthread.h> using namespace std; int MAT1[10][10],MAT2[10][10],MAT3[10][10]; int r1=3,c1=3,r2=3,c2=3;... View Article
April 24, 2016
Write object oriented program using C++ for passing command line arguement to
thread functions and using command line arguement to determine number of threads
to be created. Use multicore programming.
April 24, 2016
#include <iostream> #include <stdlib.h> #include <pthread.h> #include <semaphore.h> using namespace std; pthread_mutex_t status; sem_t empty,full; int buffer[50],x,item; void initialization() {... View Article
April 24, 2016
/* Using multicore programming implement posix_spawn() function to create a process. */ /*Execution: oct@CCOMPL08-10:~$ g++ templ.cpp -o mat.o oct@CCOMPL08-10:~$ g++... View Article
April 24, 2016
Google standard template library to use list container and using C++ implement following member functions of list class: empty, insert,merge,reverse,sort
April 24, 2016
<span data-mce-type="bookmark" style="display: inline-block; width: 0px; overflow: hidden; line-height: 0;" class="mce_SELRES_start"></span>/* Implement C++/Java/Python program for bubble sort using function template... View Article
April 24, 2016
/* Create a c++ class named Television that has data members to hold the model no., screen size and... View Article
April 24, 2016
Design a C++ base class consisting of the data members. The derived class consists of the data members. Construct a virtual base
class. The program should have
the facilities. i) Build a master table ii) List a table iii) Insert a new entry
iv) Delete old entry v) Edit an entry vi) Search for a record
April 24, 2016
Write a program in C++ using function template to read two matrices of different
data types such as integers and floating point values and perform simple
arithmetic operations on these matrices separately and display it.
April 24, 2016
String operations include: equality, copy, reverse, display, substrings and palindrome check using operator overloading.