I made a application which takes input entries of different products
and store them in file using ios library.. Now I want to show the
complete information of all products one by one using scrolling. Could
u help me to do so.
The C language itself only knows as much about user interfaces as
can be fit into the "write some characters out, read some characters in"
model. C itself has no Graphical User Interface (GUI) and so no
notion of a graphical window that might be scrolled up or down.
C itself also has no notion about terminal control sequences that might
allow the same sort of thing in a pure text context (e.g., as is
done by the 'less' program.)
So, about all you can do in C itself is write some data out for the
user, then write out a "Press return to continue" prompt, and then
read a character from input. (Be sure to through through the input
until you find a newline, or whatever the user typed before they
pressed return will still be in the buffer.)
If you need scroll bars and so on, then you should ask in the programming
newsgroup dedicated to your particular operating system, as such things
are not portable.