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

Eugenehew
Sat Dec 10 2022, 02:26 pm
RoscoeFut
Sat Dec 10 2022, 01:50 am
XeErafe
Fri Dec 09 2022, 09:42 am
lnCar
Thu Dec 08 2022, 12:03 am
JordanPruff
Wed Dec 07 2022, 06:13 pm
Tomnuabs
Wed Dec 07 2022, 07:51 am
Charleshek
Tue Dec 06 2022, 09:28 pm
TicePex
Sun Dec 04 2022, 02:02 pm