Let's say you were working on a secure system transaction. How would you extract any information for say a display which, for instance users have put in data.
:-Lets say your users have put in information about logging in and the system inventory setings. How would you use C to extract those data WITHOUT using a variable before hand to store the input. One way maybe to access the display/input buffer and extract from there, but I don't know how...
Friends told me that this was posible using JAVA and the System class. Regardless, I would like to find out about a solution.
I DON'T mean:- cin, printf, getline i.e ones which specify the input AND prepare a variable before hand. Example:-
1)lets say we use printf("name");
2)so in the screen you would se 'name', right?
3)How do I extract that data (name) without knowing what was typed OR having it stored in a variable before printing.