User profile: JLBorges

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

why c++11 has move semantics instead of doing the actual tricks in compiler?
Because of the separate compilation model, such optimisations are not always possible. For a trivi...

Understanding the problem
[code]#include <iostream> #include <string> struct mammal { enum hair_type { NONE, CURLY, SHOR...

Need help with Input/Output/Functions
> That's why you're getting strange numbers; those numbers are memory addresses. This is non-confo...

Gpa Analyzer need to add grade values in very much a beginner
[code]#include <iostream> struct Grades { static Grades get_id_and_scores_from_stdin() { ...

Need help with Input/Output/Functions
[code]#include <iostream> #include <string> std::string get_string( std::string prompt ) { std:...