You are here:

C++/.Net Programing

Advertisement


Question
Hello there,
First of all I hope you have a good day.

How to develope a solution with multiple projects using multiple languages such as C# and C++ at .Net environment.
Any help will be appreciate it.

best regards,
John

Answer
Hello John, thank you for the question.

This isn't so bad. The way I do it is to:

Open the compiler.

Create a new solution with ctrl+shift+n

This spawns a project automatically.

Add source files to the project.

Right click on the solution in the solution browser.

Select create a new project.

Add source files.

As far as the languages go, just make sure you name your files with the appropriate extenstions. Like main.cpp and main.cs. The compiler should implicitly do the hard part for you.

I hope this information was helpful.

- Eddie

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


Eddie

Expertise

I can answer questions about the C++ language, object oriented design and architecture. I am knowledgable in a lot of the math that goes into programming, and am certified by ExpertRating.com. I also know a good deal about graphics via OpenGL, and GUIs.

Experience

I have completed numerous games and demos created with the C++ programming language. Currently employed as a software engineer in the modeling and simulation field. I have about 7 years experience.

©2016 About.com. All rights reserved.