C++/Read a value at location in C++
Expert: Zlatko - 3/10/2010
QuestionHello !!
Sir, I am trying to read a particular location's value and want to store it in a variable and use it further like (i displayed the number of texts, digits or special character on the screen now user will move through cursor and where he stops the cursor, I want to store that value which can be anything either text,digit or special character and then based upon that proceeding taking will take place.
How to do this.
Please help me.
Thanks.
AnswerHello Priya.
If I understand correctly, your program has a window with a text field in it and the user types something into the text field and you want your program to read what is in the text field. Is that correct ?
How to do that depends on what technology you are using. Is it Windows or Linux.
If Windows, is the program written with Microsoft Foundation Classes, Microsoft dot Net, Qt, or some Turbo C Interface library?
If Linux, is the program written with X windows and Motif?
Each technology has its own programming interface so I cannot tell you how to do it.
Also, I don't know how to do anything with Turbo C or CodeBuilder.
You can follow-up with more details.
Best regards
Zlatko