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

MichaelTak
Thu Mar 23 2023, 11:04 pm
Kamroladiugs
Thu Mar 23 2023, 04:13 pm
Sebastianskyhoma
Thu Mar 23 2023, 01:43 pm
Zakoshdymninpup
Thu Mar 23 2023, 08:31 am
zimCar
Thu Mar 23 2023, 08:21 am
eruccabe
Thu Mar 23 2023, 08:04 am
RobertNax
Wed Mar 22 2023, 10:33 am
nisCar
Wed Mar 22 2023, 07:52 am