Chunekit Pong
2009-08-24 00:59:43 UTC
how can I concatenate an integer into a string?
the following does not work
Create function takes a (const char *)
==============
for ( int i = 0; i < 8; i++) {
m_Piano[i].Create("image" + i + ".png");
}
the following does not work
Create function takes a (const char *)
==============
for ( int i = 0; i < 8; i++) {
m_Piano[i].Create("image" + i + ".png");
}