mybe i should ask my question in another way.
question:
we want to make a text editing program,
first of all how we can make a space for user to write in it(make an arry with a lot of space
exp:char txt[1000]; ?!!!)
secend ,this program suppose to do flowing jods:
1,by pressing F1 tells the number of letters in capital (exp:SDwe has two capital)
2.by pressing F2 tells the number of words in text (exp:s3w wed 65 ,has 3 words)
3.by pressing arrow key cursor(pointer of typing goes to an (x,y)

sorry for bad dictation
than you

What compiler/OS are you using? This sort of thing smells like a job for MFC to me