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

Kennethbycle
Sun May 12 2024, 03:12 pm
MumerMeags
Sun May 12 2024, 01:47 pm
IsaacZor
Sun May 12 2024, 11:26 am
DavidInomy
Sun May 12 2024, 09:03 am
masagnik1226.ru_gpEn
Sun May 12 2024, 06:50 am
Martinorics
Sun May 12 2024, 02:03 am
Nigarcarm
Sat May 11 2024, 11:22 pm
JefferyBrazy
Sat May 11 2024, 02:33 pm