No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi I was just looking up the difference between cin.get() and cin.getline(). It seems they can both function the same way except cin.get() keeps the delimiter in the buffer while cin.getline() throws it out. My question is with this code: char name[200]; char name1[200]; char name2[200]; string hi; cin >> … | |
Hi I am new to C++ and I just need some advice on declaring dynamic arrays. Take for example this code block: int a=0; cout << "Enter Arr size: "; cin >> a; int arr[a]; My compiler gives no error doing this but looking around the web I see many … | |
Hello I am learning templates and at the moment I have created a templated QuickSort function. It's rather short and self explanatory. However during the call to the QuickSort Driver function I get a No matching call error. I have detailed the error message in full at the bottom of … |