Seems normal, the printf() is printing s and r, which have both been initialised to 0.
if you want to return those from the function, you'll need to change them from by-value to by-reference.
If...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: OReubens Search: Search took 0.12 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |