Hello,
I have bmp images in image folder on my computer.I named it from 1.bmp to 100.bmp .
I want to read one by one these hundered images.And I wrote this code:
int i;
System::String^s;
for(i=1;i<=100;i++)
{
s=("C:\\images\\%d.bmp",i);
System::Drawing::Bitmap^ image;
image= gcnew System::Drawing::Bitmap(s,true );
}
And VS 2008 gave error in s=("C:\\images\\%d.bmp",i);
error C2440: '=' : cannot convert from 'int' to 'System::String ^'
Could you help me please?