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

Eugenearilk
Fri Jun 14 2024, 03:16 pm
Bennygal
Fri Jun 14 2024, 11:56 am
PeterHow
Thu Jun 13 2024, 06:00 pm
Desmondhet
Thu Jun 13 2024, 03:10 pm
Bernardhex
Thu Jun 13 2024, 02:23 pm
Jasonsnice
Thu Jun 13 2024, 02:08 pm
EdgareitWrido
Wed Jun 12 2024, 09:04 pm
ktaleteelq
Wed Jun 12 2024, 04:29 pm