599 Answered Questions for the topic C++
07/06/21
C++. Define a function RemoveUpper() that takes a string parameter and returns a string. The returned string is the parameter with all characters except the uppercase letters removed.
Define a function RemoveUpper() that takes a string parameter and returns a string. The returned string is the parameter with all characters except the uppercase letters removed.Ex:...
more
07/06/21
C++. Write a function ComputeNum that takes two integer parameters and returns the first parameter minus 5 times the second parameter.
Write a function ComputeNum that takes two integer parameters and returns the first parameter minus 5 times the second parameter.Ex: ComputeNum(4, 9) returns -41.Code:#include <iostream>using...
more
07/06/21
C++. Write a function CalculateVal that takes one integer parameter and returns the parameter plus 2.
Write a function CalculateVal that takes one integer parameter and returns the parameter plus 2.Ex: CalculateVal(3) returns 5.Code:#include <iostream>using namespace std;/* Your code goes...
more
07/06/21
C++. Define a function RemoveUpper() that takes a string parameter and returns a string. The returned string is the parameter with all characters except the uppercase letters removed.
Define a function RemoveUpper() that takes a string parameter and returns a string. The returned string is the parameter with all characters except the uppercase letters removed.Ex:...
more
07/06/21
C++. Define a function ParseStr() that takes a string parameter and returns "Good" if the character at index 3 in the string parameter is a space. Otherwise, the function returns "Bad".
C++. Define a function ParseStr() that takes a string parameter and returns "Good" if the character at index 3 in the string parameter is a space. Otherwise, the function returns "Bad".Ex:...
more
07/06/21
C++. Write a function ComputeVal that takes two integer parameters and returns the product of the two parameters minus 8. Ex: ComputeVal(5, 9) returns 37.
C++. Write a function ComputeVal that takes two integer parameters and returns the product of the two parameters minus 8.Ex: ComputeVal(5, 9) returns 37.Code:#include <iostream>using...
more
07/06/21
Slove the task 03 in c++
dynarr.h#ifndef DYNARR_H_INCLUDED#define DYNARR_H_INCLUDEDclass dynArr { private: int *data;int size;public:dynArr();dynArr(int);~dynArr();void setValue(int, int);int getValue(int); };#endif //...
more
07/06/21
Please slove it in C++.Task 02.
dynarr.h#ifndef DYNARR_H_INCLUDED#define DYNARR_H_INCLUDEDclass dynArr { private: int *data;int size;public:dynArr();dynArr(int);~dynArr();void setValue(int, int);int getValue(int); };#endif //...
more
07/06/21
Slove the problem in c++.slove task01.So that i can copy & paste
dynarr.h #ifndef DYNARR_H_INCLUDED #define DYNARR_H_INCLUDED class dynArr { private: int *data; int size; public: dynArr(); dynArr(int); ~dynArr(); void setValue(int, int); int...
more
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
07/04/21
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
C++ Computer Science
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
07/01/21
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
07/01/21
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
06/30/21
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
C++ Computer Science
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
06/28/21
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
06/28/21
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
06/28/21
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
C++ Computer Science
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
06/23/21
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
06/08/21
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
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.