User profile: JLBorges

User info
User name:JLBorges
History
Joined:
Number of posts:11244
Latest posts:

push_back is not working
To be certain that the code will compile cleanly on all conforming implementations, [tt][b]#include ...

strcpy doesn't crash despite not enough char array elements
Undefined behaviour does not necessarily result in a crash. Though, we would all be better off, if ...

Adding an interview to the beginning of a string
Using [tt]std::to_chars[/tt] with a non-allocating, non-throwing implementation would be expected to...

Deleting and Instantiating Objects Each Frame
> Will this slow down? Depends on he compiler; there is a quality of implementation issue. A good ...

Adding an interview to the beginning of a string
[code]#include <iostream> #include <string> [b]std::string binary_str( unsigned long long n ) { ...