No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
Read the content, I realized that the convinence of the function getline(). I have been using the following method to process input containing number and string. [QUOTE][COLOR="Red"]#include<iostream> #include<string> using namespace std; int main() { int number; string str,remainder; cout<<"Please enter a number:"<<endl; cin>>number; getline(cin,remainder); getline(cin,str); cout<<"The string you entered is …
What's the difference between this threads and the last one???
[URL="http://www.hrbeu.edu.cn"]http://www.hrbeu.edu.cn[/URL][COLOR="Green"]Hello,everyone.I am very glad to find the place, and learn knowledge about IT. Now I am a junior in Harbin Engineering University.Eh,Though my major is math and applied mathematics, I am very interesting in computer. And now I am preparing for the ACM/ICPC, so I want to know the knowledge …
The End.
WXuan