User profile: JLBorges

User info
User name:JLBorges
History
Joined:
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
See: http://www.cplusplus.com/forum/general/69685/#msg372532

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...