
-----------------------------------
signal_1001
Sun Jun 06, 2004 4:24 pm

displaying guessed letters
-----------------------------------
Hey there, Help right now would be really appreciated! I'm getting very frustrated with this program. I want to output all the letters that have been guessed, but the only cin variable i have is guess and it just loops through asking for guess everytime. i've triedchar blankLetters[60];
		char lettersGuessed[60]="a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z";
		for(int y=0; y=96 && lettersGuessed[y] []
		| _ -> let ch = (read_line ()).[0] in ch :: (read_chars (n - 1));;

let _ = 
	let argv_len  = (Array.length Sys.argv) in
	let char_num  = (try (int_of_string Sys.argv.(1)) with _ -> default_value) in
	let char_list = (read_chars char_num) in
		List.map print_char char_list;;
