No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
Re: The best way might be to use a while loop, eg: [code]char x; string input; do { cout<<"Please input the coin selection, or to terminate input a *: "; cin>>x; if (x!='*') input+=x; } while (x!='*');[/code]<< moderator edit: added [url=http://www.daniweb.com/techtalkforums/misc.php?do=bbcode#code]code tags[/url]: [inlinecode][co[u][/u]de][/co[u][/u]de][/inlinecode] >> now you have a string of inputs, … | |
Hi there people! I am trying to implement various sort methods in one program, just to practise implementing sort methods for one of my courses at varsity. However, my method works fine, the moment I use the pointer that it returned, it broke. Here is my program: [code]#include <iostream> #include … |
The End.