Could anyone guide on how to create console app (c++) that use ArcObjects?

I've searched Google a lot on this topic but can't find any tutorial on how to do this.

You may wonder why would I use C++ instead of .Net since there are more examples in .Net. Recently I've read about performance of ArcObject on .Net vs Managed c++ in this article

And noticed that in my application. Using managed C++ as class library (dll) to loop layer and do somethings with it may improve the performance of my app.

So I started to search on this topic a lot, but unfortunately I can't figure out how to do this.

Could anyone familar with using ArcObject in C++ guide me on how to create one? Maybe a simple project that open layer in filegdb and loop?

closed as off-topic by Vince, whyzar, tinlyx, mgri, MaryBeth Sep 22 '17 at 15:26

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – Vince, whyzar, tinlyx, mgri, MaryBeth
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Welcome to GIS SE. As a new user, please take the Tour. Unfortunately, GIS SE is not a tutorial site, and recommendations are too opinion-based for the "Focused question / Best answer" model used here. Thete ate probably ways to improve performance within your app, unrelated to the language, but that's a very different question. – Vince Sep 22 '17 at 10:21
  • Very sorry for that, you can close it. Since what I actually want is quick start guide on writing ArcObject in C++ but not performance-related. I'll leave my question as it is. Maybe someone want to ask somethings like me will see it. Thank you anyway :) – N. Wigi Sep 25 '17 at 6:18
  • A good place to start is resources.arcgis.com/en/help/arcobjects-cpp/componenthelp but as for the samples they were installed with the SDK for C++. There isn't much interest that I have seen evidence of for ArcObject programming with C++, personally even though I'm OK with C++ I write all my ArcObjects code with C#. What are you trying to do that would require the slight difference in speed between C# and C++? Not that there would be much difference as managed C++ is compiled via CLR and would be nearly identical to C#. – Michael Stimson Sep 26 '17 at 22:28

Browse other questions tagged or ask your own question.