我已经写了一个简单的代码,它应该会在500ms暂停时闪烁Android设备的相机闪光灯。但有些事情是没有做... public void flicker_500ms(){
int intern_i;
final Parameters p = camera.getParameters();
for (intern_i = 0;intern_i == 100;++inte
我需要一个函数,它接受一个字符串和一个字符,它滑动字符串,如果它发现字符返回TRUE其他错误。 这是我的起点: let rec check s a = match s with
"" -> false
| x::xs -> if x = a then true else check xs a ;;
我不能使用CAML光的库函数(如index_char) 感谢您的帮助!