User profile: JLBorges

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

Variable detection help
> Can I solve the problem by extracting a specific bit of the generic variable? You can solve the p...

Polymorphism or Switch
> I admit typing the switch is a lot faster than doing polymorphism Right now, yes. But if tomorrow...

checking an int variable
> i wasnt sure of the std:cerr http://en.wikipedia.org/wiki/Standard_streams#Standard_error_.28std...

Last record is repeated two times
> what is the problem. Guess: you are doing something like: [code]while( !file.eof() ) { try ...

retrieving list of integers from file
[code]#include <list> #include <fstream> #include <iterator> std::list<int> retrieve_from( const ch...