Because atoi takes a pointer to a C style null terminated string as an argument, and that's what c_str returns.
difftime would be pretty useless if you couldn't specify the times you were interested in.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 11 of 11
Threaded View
|
Click Here to Expand Forum to Full Width |