Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
String, Variables & Values
Print
Pages: [
1
]
Author
Topic: String, Variables & Values (Read 2345 times)
0 Members and 1 Guest are viewing this topic.
Auron
Newbie
Posts: 15
String, Variables & Values
«
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?
Logged
Laurent
Administrator
Hero Member
Posts: 32504
String, Variables & Values
«
Reply #1 on:
August 09, 2009, 12:41:14 am »
Google --> "C++ convert int to string"
Logged
Laurent Gomila - SFML developer
Auron
Newbie
Posts: 15
String, Variables & Values
«
Reply #2 on:
August 09, 2009, 01:54:28 am »
Thanks, found a lot of other useful info as well.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
String, Variables & Values
anything