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

RobertFar
Sun May 28 2023, 01:07 pm
DustinRar
Sat May 27 2023, 09:39 pm
JesusBix
Sat May 27 2023, 08:16 pm
JosephTrods
Sat May 27 2023, 05:15 pm
Charlestrato
Fri May 26 2023, 07:33 pm
Jerrykem
Thu May 25 2023, 02:43 am
Histenets
Thu May 25 2023, 12:54 am
RivaboDroke
Wed May 24 2023, 05:47 pm