Returning String (Structure)
Code:
Currently it prints: Code:
[Test] Health: 100.000000, name: hIt also terminates the string and after the "h" nothing else is written. |
Re: Returning String (Structure)
Strings cannot be returned. They have to be passed by reference.
|
Re: Returning String (Structure)
Strings can be returned, though sometimes it may tricky or impossible, like with an enum.
Simple exemple : Code:
|
| All times are GMT -4. The time now is 11:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.