shfrlc3257 shfrlc3257
  • 23-08-2017
  • Computers and Technology
contestada

Write a function called printbackwards() that will work with a c++ string

Respuesta :

tonb
tonb tonb
  • 23-08-2017
There is a standard reverser that will work for this:

void printbackwards(string s)
{
   reverse(s.begin(), s.end());
   cout << s;
}


Answer Link

Otras preguntas

Explain how energy flows in a food chain. DONE
Japan also has a/an Dictator President Queen Emperor
20 characters or more
MODÈLE: une voiture et une bicyclette → Une voiture est plus confortable qu’une bicyclette, mais une bicyclette est moins chère. 1. un lave-vaisselle et un réfr
What is the crop plant that is suitable for this biofertilizer? Please elaborate.
The Underground Railroad by Raymond Bial Question: What details provided by this source could help Micah use to explain why slaves would try to escape even thou
Help!?!? Find the area of the shaded region. Round your answer to the nearest hundredth.
What are two ways in which fresh water lakes and streams can become acidic?.
Which form(s) of energy can be transmitted through a vacuum?
Macbeth Act 3 Scene 1 What is Macbeth trying to do while speaking to these men? A. He is insulting them and ordering them to kill Banquo. B. He is punishing the