SFML community forums

Help => Graphics => Topic started by: Auron on August 08, 2009, 11:04:05 pm

Title: String, Variables & Values
Post by: Auron on August 08, 2009, 11:04:05 pm
Hello,

How would I display the value of a variable in a string?

IE.

int Health = 100;

How would I use a string to display "100" in the string have it shown on the window?
Title: String, Variables & Values
Post by: Laurent on August 09, 2009, 12:41:14 am
Google --> "C++ convert int to string"
Title: String, Variables & Values
Post by: Auron on August 09, 2009, 01:54:28 am
Thanks, found a lot of other useful info as well.