<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: confused (header files and .CPP files) in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/confused-header-files-and-cpp-files/m-p/310020#M40380</link>
    <description>Vague question, vague answer.&lt;BR /&gt;
&lt;BR /&gt;
First, in C++, you don't need more than one cpp and one .h file to write a&lt;BR /&gt;
class.  Whereas .h is used for data definition and function prototype&lt;BR /&gt;
declaration, the cpp file includes the actual implementation of those, given&lt;BR /&gt;
the header is #include(d).  Although a separate program file that uses&lt;BR /&gt;
written objects is customary, it's by no means necessary for technical&lt;BR /&gt;
reasons.  Plus, you can define and implement the entire object in one cpp&lt;BR /&gt;
file (no .h file), in which case instead of just declaring function&lt;BR /&gt;
prototypes, you also implement them in the same file.  Keep in mind that if&lt;BR /&gt;
you define/implement them Java -style (inline implementation), your member&lt;BR /&gt;
functions will be compiled as inline.  That will result in bloated size, and&lt;BR /&gt;
increased performance.  If any or much of this sounded new, you might want&lt;BR /&gt;
to brush up on C++.&lt;BR /&gt;
As far as descriptions of how the flow of execution occurs in arx dlls, I&lt;BR /&gt;
recommend a book "Programming AutoCAD2000 with ObjectARX".  You can look it&lt;BR /&gt;
up at amazon.&lt;BR /&gt;
&lt;BR /&gt;
Alex.&lt;BR /&gt;
"miyamoo" &lt;RHARRIS_JR&gt; wrote in message&lt;BR /&gt;
news:f0ecd65.-1@WebX.maYIadrTaRb...&lt;BR /&gt;
in C++ you make header files that contain the def of the object. then you do&lt;BR /&gt;
.cpp files for functions and to tie it all together another .cpp file.&lt;BR /&gt;
I am very confused with object ARX. as to how the file structure is set up.&lt;BR /&gt;
if some could explain I would reallllllllly appreciate it&lt;/RHARRIS_JR&gt;</description>
    <pubDate>Sun, 23 Jun 2002 12:10:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2002-06-23T12:10:03Z</dc:date>
    <item>
      <title>confused (header files and .CPP files)</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/confused-header-files-and-cpp-files/m-p/310019#M40379</link>
      <description>in C++ you make header files that contain the def of the object. then you do .cpp files for functions and to tie it all together another .cpp file.&lt;BR /&gt;
I am very confused with object ARX. as to how the file structure is set up. if some could explain I would reallllllllly appreciate it</description>
      <pubDate>Thu, 20 Jun 2002 10:22:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/confused-header-files-and-cpp-files/m-p/310019#M40379</guid>
      <dc:creator>rbh2024</dc:creator>
      <dc:date>2002-06-20T10:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: confused (header files and .CPP files)</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/confused-header-files-and-cpp-files/m-p/310020#M40380</link>
      <description>Vague question, vague answer.&lt;BR /&gt;
&lt;BR /&gt;
First, in C++, you don't need more than one cpp and one .h file to write a&lt;BR /&gt;
class.  Whereas .h is used for data definition and function prototype&lt;BR /&gt;
declaration, the cpp file includes the actual implementation of those, given&lt;BR /&gt;
the header is #include(d).  Although a separate program file that uses&lt;BR /&gt;
written objects is customary, it's by no means necessary for technical&lt;BR /&gt;
reasons.  Plus, you can define and implement the entire object in one cpp&lt;BR /&gt;
file (no .h file), in which case instead of just declaring function&lt;BR /&gt;
prototypes, you also implement them in the same file.  Keep in mind that if&lt;BR /&gt;
you define/implement them Java -style (inline implementation), your member&lt;BR /&gt;
functions will be compiled as inline.  That will result in bloated size, and&lt;BR /&gt;
increased performance.  If any or much of this sounded new, you might want&lt;BR /&gt;
to brush up on C++.&lt;BR /&gt;
As far as descriptions of how the flow of execution occurs in arx dlls, I&lt;BR /&gt;
recommend a book "Programming AutoCAD2000 with ObjectARX".  You can look it&lt;BR /&gt;
up at amazon.&lt;BR /&gt;
&lt;BR /&gt;
Alex.&lt;BR /&gt;
"miyamoo" &lt;RHARRIS_JR&gt; wrote in message&lt;BR /&gt;
news:f0ecd65.-1@WebX.maYIadrTaRb...&lt;BR /&gt;
in C++ you make header files that contain the def of the object. then you do&lt;BR /&gt;
.cpp files for functions and to tie it all together another .cpp file.&lt;BR /&gt;
I am very confused with object ARX. as to how the file structure is set up.&lt;BR /&gt;
if some could explain I would reallllllllly appreciate it&lt;/RHARRIS_JR&gt;</description>
      <pubDate>Sun, 23 Jun 2002 12:10:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/confused-header-files-and-cpp-files/m-p/310020#M40380</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-06-23T12:10:03Z</dc:date>
    </item>
  </channel>
</rss>

