Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I want some c++ managed or mixed code. Code should be working.

What I have tried:

I searched on google but when i copy paste that code in my application it does not work.
I want some working code.
Posted
Updated 28-Dec-20 6:55am
Comments
Richard MacCutchan 28-Dec-20 9:51am    
There are thousands of examples of code to be found on the internet. Try doing your own searches.

No, we can't. We have no idea what it should do!

You want working code? Start with the official documentation: .NET programming with C++/CLI | Microsoft Docs[^] and work your way out from there - most of the link will include sample code which - it was written by MS remember - should work.

But in all honesty, you will learn nothing that way, and the sample code will be useless to you even if it does work as you will probably have no idea what it is supposed to do or why it does work when it does it.
 
Share this answer
 
This site has hundreds if not thousands of samples of working code. Wander around a bit and you should be able to find some. There is a search facility built in that can help with that. You found this site so you are almost there.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900