Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualKhatharr

Posted 21 December 2012 - 04:41 AM

Thanks Boss. I've been using a downloaded version of http://en.cppreference.com/w/ along with VS integrated MSDN and a really old book in the vein of "C++ for people who like picture books".

 

With stringstream my concern is the signedness of the members. It's more or less what I want except for that one issue. The first thing I tried was just digging into the STL headers and trying to find out how to make a stringstream based on unsigned int, but it's buried in such an long and inheritance chain that I gave up after my third "flub<char>diggle::bigarb&". When I get home I'll mess with it a bit and see if it mangles my output.

 

Ah, so ostream is a parent of both. That should work nicely. Thanks.

 

As for the book, it looks like what I'm after, but sheesh - $50.

 

Guess I'll look into it next time I get paid or see if I can get a second-hand copy somewhere. Thanks again. biggrin.png

 

Edit - Now that I'm looking at cppreference it would appear that my offline version is criminally out-of-date. wacko.png


#2Khatharr

Posted 21 December 2012 - 04:31 AM

Thanks Boss. I've been using a downloaded version of http://en.cppreference.com/w/ along with VS integrated MSDN and a really old book in the vein of "C++ for people who like picture books".

 

With stringstream my concern is the signedness of the members. It's more or less what I want except for that one issue. The first thing I tried was just digging into the STL headers and trying to find out how to make a stringstream based on unsigned int, but it's buried in such an long and inheritance chain that I gave up after my third "flub<char>diggle::bigarb&". When I get home I'll mess with it a bit and see if it mangles my output.

 

Ah, so ostream is a parent of both. That should work nicely. Thanks.

 

As for the book, it looks like what I'm after, but sheesh - $50.

 

Guess I'll look into it next time I get paid or see if I can get a second-hand copy somewhere. Thanks again. biggrin.png


#1Khatharr

Posted 21 December 2012 - 04:30 AM

Thanks Boss. I've been using a downloaded version of http://en.cppreference.com/w/ along with VS integrated MSDN and a really old book in the vein of "C++ for people who like picture books".

 

With stringstream my concern is the signedness of the members. It's more or less what I want except for that one issue. The first thing I tried was ajust digging into the STL headers and trying to find out how to make a stringstream based on unsigned int, but it's buried in such an long and inheritance chain that I gave up after my third "flub<char>diggle::bigarb&".

 

As for the book, it looks like what I'm after, but sheesh - $$$.

 

Guess I'll look into it next time I get paid or see if I can get a second-hand copy somewhere. Thanks again. :D


PARTNERS