Click here to Skip to main content
13,598,868 members
Rate this:
Please Sign up or sign in to vote.
See more:
I want to compile code of c++ in c#, the user of my program has rich text box that he has to write there a struct in c. and I want to compile this code to see if he has error. I tryd a lot of ways that I find
Posted 3-Mar-13 1:14am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You will need to supply or write a C++ compiler, and (probably) package the struct in a simple file before passing it over. Supplying may be a problem since you will need to be careful of copyright problems - you cannot just "hand out" compilers like sweeties! :laugh:

The other solution is to use one of the internet C++ compilation services - google may be of help here:[^] but I've never tried any of them so I have no idea how complex it would be.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web02 | 2.8.180621.3 | Last Updated 3 Mar 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100