answersLogoWhite

0

#include <iostream>

#include <string>

int main()

{

std::string myStr = "";

std::cout << std::endl << "Enter a string: ";

std::cin >> myStr;

system("PAUSE");

return 0;

}

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How do you write a power of a number on the keyboard?

That really depends where you want to write it - in what program. For example, in Microsoft Word or Microsoft Excel, you can go to character format, and select "superscript". The shortcut key (at least in Word) is Ctrl-Shift-Plus.


A program c plus plus on automorphic numbers or not?

how to write a program that counts automorphic number from 1 to 999


How do you write a C plus plus program that will display the first 10 positive prime numbers?

By learning how to program on C+.


Write a program in c plus plus to implement macro processor?

Don't write, it is already written, google for 'cpp'.


Do I need to write a program to find a substring in a given string in c plus plus?

No.


How do you write program to convert meter to kilometer in c plus plus?

Divide it by 1000.


C plus plus program needs answered dead?

Please clarify the question as it currently looks like keyboard-tourettes has taken over.


How do you write at keyboard?

26 letters on a key bord plus all keys 99 i think hunny


How do you write 100000 plus 100000 plus 1000000 plus 10 plus 1 plus 10000 plus 100000 plus 100 plus 10000 plus 1000 in standard form?

Using a pen or a keyboard


How do you write an Algorithm for a C plus plus Program?

You don't write an algorithm for a C++ program, unless you are documenting the C++ program after-the-fact. The normal procedure is to write the algorithm first, in a language independent fashion, and then translate that stated algorithm into C++ code, or into whatever language you wish.


How many classes can we write in a single c plus plus program?

Its limited only by available memory.


Write a program in c plus plus to compute first of non-terminal?

there is no solution of this problem...........that's it..........