My learning thread - thanks everyone

thats how structures in C/C++ are used. it looks like you never used structure.
here is a quick reference

Defining structure
//defining structure
struct mystruct {
    int a;
    char b;
    char c[10];
    int d[10];
};

Now mystruct is name of structure. a,b,c and d are members of structure. its like grouping set of variables in a single datatype and giving your own name to it.

to use a structure, yo... Read Compelte post
Posted by ajay_bhargav on Wed Jan 12 2011, 08:18 pm

Downloads

Comments

PatrickArron
Fri Sep 20 2024, 07:24 pm
ForloveExtek
Fri Sep 20 2024, 06:01 pm
Sazrqnu
Fri Sep 20 2024, 02:22 pm
Sazrimg
Fri Sep 20 2024, 06:18 am
Cazrzdq
Thu Sep 19 2024, 10:28 pm
Cazrdmw
Thu Sep 19 2024, 10:26 pm
Cazrpmc
Thu Sep 19 2024, 10:15 pm
Cazranr
Thu Sep 19 2024, 10:13 pm