Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to make a structure in DEV C++?

  1. Jan 23, 2012 #1
    guys can u help me how ta make a structure in DEV C++ ? the all information i need thanks guys :)
     
  2. jcsd
  3. Jan 23, 2012 #2
    Do you mean in C++?
     
  4. Jan 24, 2012 #3

    chiro

    User Avatar
    Science Advisor

    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:

    Code (Text):

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

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

     
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: How to make a structure in DEV C++?
  1. Help for Dev-C++ (Replies: 1)

Loading...