Daniel Duffy
C++ author, trainer
- Joined
- 10/4/07
- Messages
- 10,435
- Points
- 648
Comment out EVERWHERE you have IntToString.
Then?
Then?
template<typename T>
std::string toString(const T& value)
{
std::ostringstream oss;
oss << value;
return oss.str();
}
Code:template<typename T> std::string toString(const T& value) { std::ostringstream oss; oss << value; return oss.str(); }
std::string IntToString (const int& i)
{
return toString<int>(i);
}
do you mean OpenMP?2. using cores ...// #pragma
yesdo you mean OpenMP?
Thanks!I sign up for an account here just to thank you for this excellent article, Mr. Duffy.
Thank you.This explanation was amazing and helped me very much! thanks!!