none
Native C++ and C++ CLI RRS feed

  • Question

  • Hi,

    I want to make a training project using Visual C++.  I chose this because I want to code in C++, but at the same time I want the visual facade - I don't want to write huge code just to draw the forms and the controls.

    To avoid confusion between native C++ and C++ CLI, I have decided to put one of them as the default to code with, while only use the other when necessary necessary. Here my question.

    Do you suggest to program in native C++ and use CLI only when necessary?

    Or program with CLI and use native C++ only when necessary?

    Tuesday, July 2, 2013 8:37 AM

Answers

  • Hey BGQQ,

    I'm not sure if i understand the question properly but here we go. I think it doesnt really matter because at the end both will do the same process at the end. I suggest you to look at what is the "mainframe" of your program : Are you doing lot of window transition, interface adjustement, cli object and simple operation (CLI) OR your program will do lot of math operation and background work (native). Also you should select your program with the one you are more comfortable with.

    Have a nice day!

    • Marked as answer by BGQQ Tuesday, July 9, 2013 8:22 PM
    Wednesday, July 3, 2013 1:40 PM