529 Answered Questions for the topic C++

C++

15d

Computer Science I

#include <iostream> using namespace std; // This function RECEIVES the lower and upper boundaries of a range of whole numbers, and a divisor. // It counts all the numbers within the... more

Why is signed char 0xff = -1?

I don't understand it very well.

program that counts from 1 through 100, and prints “D3” if the number is evenly divisible by 3

Write a C++ program that counts from 1 through 100, and prints “D3” if the number is evenly divisible by 3, “D5” if it’s evenly divisible by 5, “D3&5” if it’s even divisible by three and five,... more

10/18/21

Determine if the following problems exhibit task or data parallelism

Determine if the following problems exhibit task or data parallelism: 1. Using a separate thread to generate a thumbnail for each photo in a collection 2. Transposing a matrix in parallel 3. A... more

10/18/21

Please code in c++. I need help on this one.

 Write a program that prompts users to enter:  o A character to use (any character besides *)o The width of the displayo The height of the display to produce an E shape. The middle horizontal line... more

10/07/21

Please help with Java code

How can I define a for loop for the following output:1+2 = 32+3 = 54+5 = 98+9 = 1716+17 = 3332+33 = 6564+65 = 129any help would be very appreciated

C++. Create a program that helps keeping track of song lists. Include code.

This program is an exercise in building, traversing, and destroying linear linked lists. The use of recursion should be included at least once in each assignment to better prepare us for future... more
C++ Coding

09/24/21

Help with do while loop

generate a random number between 5 and 250. This will be the number of values in the third set. Display a label such as "3rd set of random numbers" and the number of values in the set.Using a do... more
C++ Coding

09/24/21

How do I make this while loop display 7 integers per line

const double MAXIMUM2 = 50; i = 0; while (i < MAXIMUM2) { RandNum = rand(); cout << RandNum << ' '; i++; } { cout << endl <<... more

Basic C++ Question

Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90) go east/west. Auxiliary highways are numbered 100-999, and service... more

09/12/21

complete the member function ( fdeviation(….)) of class Stats :

#include <iostream>#include <cmath>using namespace std;class Stats{ double mean, deviation; public: /** Function for computing mean of an array of double values */ double... more

Slove the code in C++ .Do not copy paste from net please.

#include <iostream> using namespace std; struct TreeNode { int data; TreeNode *left; TreeNode *right; }; class BinarySearchTree{ private: TreeNode* root; void insertNode(TreeNode *&tree,... more

08/23/21

Complete the C++

Answer must be in C++ format and using #include<iostream>a)Create a class called Student b)Declare a private data member: string name, int age, char genderc)Define a mutator and accessor... more

Memory Operations and Arrays in ARM Assembly

Open the find_min_array.s file, and open it up in a text editor of your choice. Note that word processors (e.g., Microsoft Word, Pages, Google Docs) will probably not work for this purpose, as you... more

Given a function prototype ( void findtotal (int[ ]) ), write a full program with a main() that :

The answer must be in C++ and use #include<iostream>Given a function prototype ( void findtotal (int[ ]) ), write a full program with a main() that :-Gets user input for 5 numbers. The... more

08/12/21

Binary search in c++,please slove the code so i can copy paste.I also mentioned the code in the comment.

#include <iostream> using namespace std; struct TreeNode { int data; TreeNode *left; TreeNode *right; }; class BinarySearchTree{ private: TreeNode* root; ... more

08/12/21

Our whole class cannot slovingit,please help sir,Use Application of Stack and Queue .

Question: Write a code in C++ [using object oriented approach] that will take a mathematical expression as input and output whether the parentheses are balanced or not in the... more

08/11/21

Our whole class cannot slovingit,please help sir,Use Application of Stack and Queue .

Write a code in C++ [using object oriented approach] that will take a mathematical expression as input and output whether the parentheses are balanced or not in the... more

08/11/21

Our whole class cannot slovingit,please help sir,Use Application of Stack and Queue .

Write a code in C++ [using object oriented approach] that will take a mathematical expression as input and output whether the parentheses are balanced or not in the... more

08/11/21

Use Application of Stack and Queue for the code.

2. Write a code in C++ [using object oriented approach] that will take a mathematical expression as input and output whether the parentheses are balanced or not in the... more
C++

08/10/21

last time yout code was not run.This time slove it

Create a Calculator class that will be able to add, subtract, multiply, divide, find the remainder, percentage.You need to use header file and source file for the class and create objects and call... more

08/10/21

Thw code did not run.It is not a valid function declaration. You have to specify a return type like.please help.

Create a Calculator class that will be able to add, subtract, multiply, divide, find the remainder, percentage.You need to use header file and source file for the class and create objects and call... more

08/10/21

Slove the problem and also mention the file name so that i understand the files and code.Stack Implementation using Linked List in C++

You have to write code to implement Stack data structure using Linked List. The Stack operations IsEmpty, Push, and Pop must need to be implemented. Your program will allow user to add item in the... more

08/10/21

I tried but can not slove.Help.

Create a Calculator class that will be able to add, subtract, multiply, divide, find the remainder, percentage.You need to use header file and source file for the class and create objects and call... more

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.