17 Answered Questions for the topic C++ Program

10/08/18

if else confusing problem?

In this program no matter how many times i run it it wont print out the statement in bold. shouldnt it print evert statement after else? it will only print "HI-6"     #include... more

07/31/18

Write a C++ if statement

Write a C++ if statement that displays the message “The score is invalid.” if the variable score is outside the range 0 through 100.*Assume the variable score has already been declared and... more

06/21/18

Write a loop that displays the following set of numbers: 5, 10, 15, 20, 25, 30, ….., 995, 1000

fj hjvb hv bnvjb jbv bb jhbvnm hjb bvhj bnvhj bhj hj n

02/21/18

If you declare an integer pointer as int *pt; and you declare an integer variable as int num; , then which of the following is legal?

A. num = &pt; B. pt = # C. *num = *pt; D. &num = pt; Please do not mention C. 

12/03/17

a. Create the vector via an initialization list.b. Provide the length of the vector using the sizeof() function.c. Create a function printVector() to visualize

 This is how you will display the results: a. Create a second vector identical to the original,b. Print either vector,c. Execute MaRe on the original vector,d. Print the sorted original vector,e.... more

09/23/17

solve the conversion of time in c++

Contains a class “time24”. The class contains hr, mn and sec integer data members. The class should have a constructor to assign initial values, a function to input time from user in 24 Hour format... more

04/11/17

random monoalphabet cipher

Random monoalphabet cipher.The caeser cipher, which shifts all letters by a certain amount, is easy to decipher. Try this, instead of numbers use letters. Consider this, the word is FEATHER. Remove... more

09/24/16

Write C++ code that collects user input and creates output

Our program will create a brief musical phrase just 6 notes long. For simplicity, the notes will be in the C-Major scale, meaning no sharps or flats, just the base notes C, D, E, F, G, A, and B.... more

09/22/16

How to get a job without degree?

I am pursuing core java.after that i will do android.i did c++.so plz tell me can i get good job through thease certificates? If yes How?

08/02/16

File Handling C++

type cast string in TEXT file?  

04/05/16

create a program c++

My program doesn't open the file and it gives me some errors the name of the file is Numbers.txt   here the code;           #include <iostream>#include <fstream>#include... more

12/14/15

how can i solve this problem?

write a program to simulate the popular traditional Malaysian game “Congkak”. In order to do this, you should first understand the rules of the game. You may use additional capabilities of the C++... more

11/07/15

c++ program that is complicated i barely know anything in c++

how to create a program in c++ that reads html code text file and checks if tags are correct and at the same time showing all errors if file exists or the tags are not correct and writes all of the... more

10/02/15

C++ Programming Homework Due Tonight :(

I'm pretty sure this assignment is really easy but I haven't learned anything in the class. Basically he wants us to rewrite part of a program as a module. #include <iostream> using... more

09/23/15

C++ open a file to get data in a format other than ASCII text

If you open up a .png file, there are characters in there which fall outside the ASCII scheme. I am looking for a way to open a file (using c++) in some binary type of format. Basically, looking to... more

02/02/15

how to write a loop that fills a vector V with ten random numbers between 1 and 100

programming in C++.  the above question is all the info tha tI have

02/25/14

can anyone tell me why this has errors?

For your assignment you are writing a number guessing game; with a twist. In your game, they are calculations where the user must guess the missing number(s). The Computer guesses a random... 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.