User profile: boring
User info |
User name: | boring |
History |
Joined: | Apr 25, 2018 at 9:25am |
Number of posts: | 13 |
Latest posts: |
cin.getline You have a [code]getline[/code] just after extracting an [code]int[/code], so you will read the newl...
changing variable with key input When you press enter, you type a character (newline), so maybe try using [code]std::cin.get()[/code]...
program doesnt process all vector values This is because your input is comma-separated, not space separated. So you first extract 76.5, you p...
Simplest way to concatenate String + Int? Doing this with [code]std::ostringstream[/code]:
[code]
string concatenate(const string& str, int n...
(2) simple -- for loops program: @rjphares, you probably also want to remove the local variable [code]a[/code] in [code]main[/code], ...
|
This user does not accept Private Messages