IPB

Welcome Guest ( Log In | Register )

> foobar2000 Development Forum Rules

This forum is for developer discussions only. If you have a problem / bug report / idea / feature request that isn't related to foobar2000 SDK, post it in an appropiate forum instead - tech support questions go to support forum, everything else goes to general forum.
All non-developer posts on this forum will be removed. Continued abuse of this forum will result in admin actions (warnings, account suspension).

 
Reply to this topicStart new topic
uStringPrintf, uPrintf, uPrintfV deprecated - in favour of what?
hymerman
post May 1 2014, 15:37
Post #1





Group: Members
Posts: 85
Joined: 1-June 05
Member No.: 22429



Simple question; uStringPrintf, uPrintf and uPrintfV are marked as #pragma deprecated - is there anything in the SDK to replace them?
Go to the top of the page
+Quote Post
kode54
post May 2 2014, 01:22
Post #2





Group: Admin
Posts: 4618
Joined: 15-December 02
Member No.: 4082



They are deprecated in favor of the pfc::string_formatter and related formatter classes, which all use a syntax similar to stringstream, except you'll be using template functions like pfc::format_int or format_float to format numbers.
Go to the top of the page
+Quote Post
hymerman
post May 2 2014, 10:17
Post #3





Group: Members
Posts: 85
Joined: 1-June 05
Member No.: 22429



Ah, didn't see that! Thanks!

I wonder why console::printf isn't deprecated?
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th September 2014 - 08:11