| | |
user input into a string
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
C++ Syntax (Toggle Plain Text)
#include <iostream> #include <string> int main() { std::string input; std::cout << "Enter a string: "; if ( getline(std::cin, input) ) { std::cout << "You entered " << input << std::endl; } return 0; }
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
•
•
Join Date: Nov 2009
Posts: 2
Reputation:
Solved Threads: 0
-5
#3 10 Days Ago
elo i would like to knw a few thing so that i could complete my projet can you help me plz.
the question is:
Write a program that performs the following :
1) Input a string( sets of caracters)
2) Convert the string into capital letters
3) Convert the number if vowels and consonent
4) Reverse the string order
Can u reply me plz my email address is ally.arshad@hotmil.com
the question is:
Write a program that performs the following :
1) Input a string( sets of caracters)
2) Convert the string into capital letters
3) Convert the number if vowels and consonent
4) Reverse the string order
Can u reply me plz my email address is ally.arshad@hotmil.com
![]() |
Similar Threads
- Tutorial: User Input: Strings and Numbers [C++] (C++)
- Tutorial: User Input: Strings and Numbers [C] (C)
- Handling Invalid User Input? (C)
- Error Checking for user input (Java)
- user input random amount display average. little problem i have run into (Java)
- error checking of user input (C++)
- Creating a GUI that accepts user input help (Java)
- Need Help With Error Checking User Input (C)
- filtering bad user input (Java)
Other Threads in the C++ Forum
- Previous Thread: C++ Fraction Calculator Output Problem...
- Next Thread: passing matrixes and vectors
| Thread Tools | Search this Thread |
api array based beginner binary c++ c/c++ calculator char char* class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news node numbertoword output parameter pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






