sprintf构造字符富

	char key = waitKey(5);
		if (key == 's' || key == 's')
		{
			for (int i = 0; i < CamNumber; i++)
			{
				char savePath[200];
				sprintf_s(savePath, "../CalibConfig/config/images/%04d.jpg", i);
				imwrite(savePath, undistortImg[i]);
				cout << "success to write image in " << savePath << endl;
			}
		}
		if (key == 'q' || key == 'Q')
			break;

  

猜你喜欢

转载自www.cnblogs.com/kekeoutlook/p/13369852.html
今日推荐