User profile: JLBorges

User info
User name:JLBorges
Number of posts:4635
Latest posts:

Calling function twice in one printing statement
> I should use two printing statements? This would suffice: [code]const int first = add(result) ; s...

Is this code Right?
> Is it also possible to declare an enumeration globally and just use it like this: Yes. (Provided ...

Removing from a vector of sets
Something like this (example assumes that propagator is a string): [code]auto iter = std::find_if( c...

problem with cin and getline

Command line with sorted numbers
This should not work at all: [code]int arr[n];[/code] [code]n[/code] is not a constexpr. Use the st...