Category : computer-science

#include <iostream> using namespace std; int main() { char colour[4][7] = { {‘a’,’m’,’m’,’a’,’n’,’*’,'{$content}’},{ ‘j’,’e’,’r’,’a’,’s’,’h’,'{$content}’}, {‘a’,’q’,’a’,’b’,’a’,’#’,'{$content}’},{‘a’,’j’,’l’,’o’,’u’,’n’,'{$content}’}}; for (int i = 0; i < 4; i++) std::cout << colour[i] << "n"; return 0; } this is the array i want to covert it to upper case using do while loop any help ?? Source: Windows Que..

Read more

I have problem in process synchronization classical problems of synchronization. I know the problem is: Bounded Buffer (Producer-Consumer) Problem Dining Philosophers Problem The Readers Writers Problem Sleeping Barber problem in Process Synchronization What is the operating system in which these problems exist? and what the resources, lib, content and machines have use it in this ..

Read more

In the constructor of a class called Stamp have two vectors: vector<double> data has a size of data.size() vector<vector <double>> collectedData has a size of [nsamples][data.size()/nsamples] I need to cycle them in order to have something like this: collectedData[0][0->nsamples] has the first "nsamples" elements of data ‘collectedData[1][0->nsamples]’ has the second "nsamples" elements of data … ..

Read more

I’m beginner and learning C++ programming. I am stuck at the following code. I am not able to get strings. For example when I try to enter "123pb" as my roll number the program terminates. The values i want to store are following: Roll_Number 123pb Name Abc xyz Semester Two void Input_Student_Record() { cout<<"n Enter ..

Read more