User profile: JLBorges

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

Is it possible to overload object so that it does something if passed as an argument?
> When the foo object is passed as an argument, I want it to be able to detect that it was passed W...

Vectors
[code]#include <iostream> #include <vector> #include <iomanip> const int MAX_NAMESIZE = 24; struct...

Palindrome
[code]#include <iostream> #include <string> #include <cctype> // Write a class Pstring that is deri...

putback line
> I still don't think you need to read any line from the file twice. Yes. Nevertheless, just for ...

validating different input types
[code]#include <iostream> #include <string> #include <cctype> template < typename TYPE > TYPE get_v...