Posts by Roger Amaro Almeida • 67 points
3 posts
-
3
votes2
answers2523
viewsQ: Removing blanks from a string
I want to remove all blank spaces from one string, but I don’t know how to do I’ve tried to use replace but it didn’t work out.
-
2
votes1
answer2561
viewsQ: How to make an array of objects?
How to make a array of objects? I am trying but am not succeeding, returns me an error: line 26 [Error] no match for 'Operator[]' (operand types are 'Time' and 'int') Code: #include <iostream>…
-
1
votes2
answers579
viewsQ: How to pass variable normally by value through reference?
I want to pass the variable tabe (who’s kind ifstream) by reference to a function (I don’t want a copy of it, just that the function changes it), well, I don’t quite understand how to do it. Code:…
c++asked Roger Amaro Almeida 67