You are here:

C++/Read a value at location in C++

Advertisement


Question
Hello !!

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.

Answer
Hello 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

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


Zlatko

Expertise

No longer taking questions.

Experience

No longer taking questions.

Education/Credentials
No longer taking questions.

©2012 About.com, a part of The New York Times Company. All rights reserved.