--- In [email protected], "vananh1337" <[EMAIL PROTECTED]> wrote:
>
> i have reached to these for few days. please, explain more
> why we use these and how to use them useful in C.

About command-line programs: have you ever tried to automate programs
using a graphical user interface (GUI)? Have you ever tried to feed
one such program with the output of another one?
Imagine how this may work, then you will eventually recognise why
standard input and standard output are still in heavy use nowadays. In
other words: the graphical paradigm looks easier to understand for us
human beings, but it's nothing too useful for automatic data
processing systems.

About structures: a "struct" is one common way of grouping data of
distinct data types into one logical block of data, such as the name
of a person, her/his sex, birth date, size, weight, social security
number, employer, current job, since when he/she is working there,
address details (which are a "struct" on their own), and so on. All
those pieces of data can be stored and used independently from one
another, but it's easier to handle for us humans to think of all those
pieces of data as one logical block of information. That's where a
"struct" comes in handy.

To get more specific replies from us you will first have to tell us
more about your actual requirements or what you're currently working on.

Regards,
Nico

Reply via email to