586 Answered Questions for the topic C++

C++

07/04/21

slove the problem in c++

Using the new operator, allocate an integer array of user specified size (the user gives the size of the array asinput). Assign values to the array elements by taking user inputs and then print the... more

07/04/21

slove it in c++

Using the new operator, allocate a two dimensional character array. Again the number of rows and columnsare going to be provided by the user as input. All of the rows are the same size. Take... more

07/04/21

slove the problem in c++

Using the new operator, allocate a two dimensional character array. Again the number of rows and columnsare going to be provided by the user as input. All of the rows are the same size. Take... more

c++, logical operators

Write a tiny library and submit it in files AboutDog.h and AboutDog.cpp. This library has the only function:void AboutDog(const std::string & dogName, unsigned int description)The... more

07/02/21

C++ please check if it’s correct or not

The assignment is:Write a tiny library and submit it in files AboutDog.h and AboutDog.cpp.This library has the only function: void AboutDog(const std::string & dogName, unsigned int... more

C++. Collection App with structs

Introduction Write in C++ at the Linux command line a collection program that keeps track of a collection of information. You can come up with your own idea of what information to store in the... more

C++. Exercise 1: Basic Car class

Exercise 1: Basic Car class Inside your 'exercise1' directory, put all required files (the carmain1.cpp, your car.cpp and car.h files).Download the carmain1.cpp file. Use this to test your class... more
C++

07/01/21

I am having trouble with a c++ project for the loops part.

this is the project: The, code must be your OWN. Ask for hints, but write your own code! Reminder all students who copy from each other or get the same code by working together will receive... more

Write a C++ calculator program that keeps track of a subtotal like real calculators do.

Start by asking the user for an initial number. Inside a loop, asks the user for a mathematical operation and a second number. Do the operation with the first number on the second num- ber. Keep... more

06/29/21

C++ please check if it’s correct or not

The assignment is:Write a tiny library and submit it in files AboutDog.h and AboutDog.cpp.This library has the only function: void AboutDog(const std::string & dogName, unsigned int... more

Write a C++ program that takes in a set of daily average temperatures (up to a maximum of 30).

Write a program that takes in a set of daily average temperatures (up to a maximum of 30). Please include source code.Do the following algorithm: Ask the user for a temperature If the user enters a... more

Create a C++ program that uses an array of struct Contact values.

Create a program that uses an array of struct Contact values. Please include source code.What to codeThe Contact struct is defined as follows:Contact has:• name• phoneNumber• emailA PhoneNumber... more

Write in C++ at the Linux command line a collection program that keeps track of a collection of information.

Introduction Write in C++ at the Linux command line a collection program that keeps track of a collection of information. You can come up with your own idea of what information to store in the... more

06/27/21

How to make a Fractal tree in C++ using the graphics.h library

I have to make a fractal tree in Turbo C++ using the graphics.h library through an online compiler. I have certain parameters such as the coordinate of the roots, length/width of the tree trunk,... more

Write a C++ program that allows a user to choose as many sides for a meal as they want (it’s an ‘all you can eat’ special!).

Assignment 2: Restaurant Choices Please include source code. Write a program that allows a user to choose as many sides for a meal as they want (it’s an ‘all you can eat’ special!). 1. Print out a... more

Devlop a VB. Net program for booking a confrence room in a company

Q. Developop a VB.Net program for booking a conference room in a company1. Generate the form to book the conference room with the necessary details 2. Generate the form that confirms the booking... more
C++

06/06/21

Create Doubly Linked List in C++

Doubly Linked ListA doubly linked list is a type of linked list in which each node apart from storing its data has two links. The first link points to the previous node in the list and the second... more
C++

06/06/21

Create a digits application C++

Create a digits application to show the hundreds-place digit of a three-digit number. The user will always enter three digits. The application output the three-digit separately.
C++

06/06/21

C++ program has errors - fix them

The following C++ program has errors at the lines marked a,b,c,d, and e. For each answer write a single line of C++ that fixes all errors in the corresponding line. Do not change anything that is... more

RPS Enumeration. Use the given enumerations to write a function Result getResult(Choice player1, Choice player2) .

Use the given enumerations to write a function Result getResult(Choice player1, Choice player2) . It should determine the winner of a round of Rock, Paper, Scissors between two players (Rock beats... more

Suits. The starter code below has code to keep track of the suits in a card game.

The starter code below has code to keep track of the suits in a card game. They are defined in an order such that clubs are the best suit (highest number), followed by diamonds, spades and then... more

Directions. Define a enumerated type Direction to make the following code work correctly.

Define a enumerated type Direction to make the following code work correctly. It should associate EAST with the value 0, NORTH with the value 90, WEST with 180 and SOUTH with 270.Code:#include... more

C++ Design Pattern Problem

You're given 3 shapes: rectangle, triangle and circle. Your task is to find if one shape is contained in another shape. Define this function as a new operation (e.g. bool isContained()) without... more

05/21/21

C++ question Pritty’s Program

Pritty’s Program After going through the problem-solving process Pritty finally arrived at this stage; the one just before she begins to write the code. PLAN 1, Write a message politely asking the... more
C++

05/20/21

computer engineering

Write a function to output patient information that are stored in a file. One of the parameters of the function must be no. of patients to output and another one the name of the file where the... 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.