Daniel Duffy
C++ author, trainer
- Joined
- 10/4/07
- Messages
- 10,469
- Points
- 648
Comment out EVERWHERE you have IntToString.
Then?
Then?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!!