StrNum::Set( int )
Set a StrNum
's value.
Virtual? |
No |
|
Class |
||
Arguments |
|
the number to store |
Returns |
|
Notes
A StrNum
always stores numbers using base ten.
Example
#include <iostream> #include <stdhdrs.h> #include <strbuf.h> int main( int argc, char **argv ) { StrNum sn; sn.Set ( 1666 ); cout << "sn.Text() returns \"" << sn.Text() << "\"\n"; }
Executing the preceding code produces the following output:
sn.Text() returns "1666"