Learn Finance C++, Lesson 18, strlen, sprintf, comma-adding algorithm, string manipulation
Andy009Duncan
Before we finally get to pointers, I thought we should explore a few string manipulation functions, such as 'strlen' and 'sprintf', to further understand how string character arrays work. To demonstrate these functions, we're going to add some commas to long numbers to make them easier to read for the human eye, in a very simple and raw algorithm, which you'll ditch later, once you've reached the standard template libraries and locales.
http://andyjamesduncan.wordpress.com
Finished code block:
http://andyjamesduncan.wordpress.com/2013/01/29/learn-finance-c-lesson-18-strlen-sprintf-comma-adding-algorithm-string-manipulation/ ... https://www.youtube.com/watch?v=Q0L40d8l-J8
2023-02-15
0.0 LBC
Copyrighted (contact publisher)
53212787 Bytes