User profile: JLBorges

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

To store a single char value
[code]#include <iostream> #include <ctime> #include <cstdlib> int main() { std::srand( std::tim...

To store a single char value
> I want to stop multiple entries > if someone puts yes or a series of yyyy it should run once and ...

forceinline outside of class definiton?
[code]#ifdef __GNUG__ // g++, clang++: [[ gnu::always_inline ]] does not also imply C++ inline ...

Error reading string with spaces
Re. mixing formatted and unformatted input, see: http://www.cplusplus.com/forum/beginner/170309/#msg...

User defined I/O operators.
[code]#include <iostream> #include <vector> #include <fstream> struct Point { int x; int y;...