PDA

View Full Version : How to make a structure in DEV C++?


k13th143
Jan23-12, 09:36 PM
guys can u help me how ta make a structure in DEV C++ ? the all information i need thanks guys :)

camel-man
Jan23-12, 10:35 PM
Do you mean in C++?

chiro
Jan24-12, 05:00 AM
guys can u help me how ta make a structure in DEV C++ ? the all information i need thanks guys :)

Hey k13th143 and welcome to the forums.

You do the same thing that you would do in any other standardized C++ development environment. As an example:


struct MyDataStructure
{
int a;
int b;
int c;
};

You can also use typedef statements but the basic idea is there.