Click here to Skip to main content
15,868,009 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: To sort an array of integer's with recursive functions ? Pin
PIEBALDconsult18-Nov-17 3:56
mvePIEBALDconsult18-Nov-17 3:56 
SuggestionTo find hcf of n number by using only loops. Pin
Tarun Jha4-Nov-17 2:20
Tarun Jha4-Nov-17 2:20 
GeneralRe: To find hcf of n number by using only loops. Pin
Richard MacCutchan4-Nov-17 21:10
mveRichard MacCutchan4-Nov-17 21:10 
GeneralRe: To find hcf of n number by using only loops. Pin
Tarun Jha7-Nov-17 6:20
Tarun Jha7-Nov-17 6:20 
GeneralRe: To find hcf of n number by using only loops. Pin
Richard MacCutchan7-Nov-17 7:00
mveRichard MacCutchan7-Nov-17 7:00 
QuestionIs every C# feature available in C++/Managed ? Pin
Maximilien11-Oct-17 7:26
Maximilien11-Oct-17 7:26 
AnswerRe: Is every C# feature available in C++/Managed ? Pin
Richard MacCutchan11-Oct-17 9:50
mveRichard MacCutchan11-Oct-17 9:50 
AnswerRe: Is every C# feature available in C++/Managed ? Pin
John Schroedl28-Nov-17 2:03
professionalJohn Schroedl28-Nov-17 2:03 
Since Linq was designed as a C# language feature, many uses of it don't include a C++/CLI example in my experience. I have used it from C++/CLI however but it takes a bit of tinkering. Here's one example from a simple utility I had where I used ToList() which is probably similar to ToDictionary().

C++
List<String^>^ files = Linq::Enumerable::ToList<String^>(Directory::EnumerateFiles(dataDir, "*.dat"));
int count = Linq::Enumerable::Count(files);


I've not yet encountered something managed which just could not be done from C++/CLI. But, the C# syntax is often more direct.
Questionc++ Pin
Member 1340521911-Sep-17 21:51
Member 1340521911-Sep-17 21:51 
AnswerRe: c++ Pin
Jochen Arndt11-Sep-17 22:41
professionalJochen Arndt11-Sep-17 22:41 
QuestionGet USB drive letter Pin
Member 101933363-Aug-17 0:22
Member 101933363-Aug-17 0:22 
SuggestionRe: Get USB drive letter Pin
Jochen Arndt3-Aug-17 1:10
professionalJochen Arndt3-Aug-17 1:10 
GeneralRe: Get USB drive letter Pin
Member 101933363-Aug-17 2:31
Member 101933363-Aug-17 2:31 
GeneralRe: Get USB drive letter Pin
Jochen Arndt3-Aug-17 2:34
professionalJochen Arndt3-Aug-17 2:34 
GeneralRe: Get USB drive letter Pin
Member 101933363-Aug-17 2:32
Member 101933363-Aug-17 2:32 
GeneralRe: Get USB drive letter Pin
Richard MacCutchan3-Aug-17 2:38
mveRichard MacCutchan3-Aug-17 2:38 
GeneralRe: Get USB drive letter Pin
Member 101933363-Aug-17 2:43
Member 101933363-Aug-17 2:43 
GeneralRe: Get USB drive letter Pin
Jochen Arndt3-Aug-17 2:43
professionalJochen Arndt3-Aug-17 2:43 
Questionsingly linked list Pin
Member 1306030217-Jul-17 23:27
Member 1306030217-Jul-17 23:27 
AnswerRe: singly linked list Pin
Richard MacCutchan18-Jul-17 2:10
mveRichard MacCutchan18-Jul-17 2:10 
GeneralRe: singly linked list Pin
Member 1306030218-Jul-17 15:14
Member 1306030218-Jul-17 15:14 
GeneralRe: singly linked list Pin
Richard MacCutchan18-Jul-17 20:43
mveRichard MacCutchan18-Jul-17 20:43 
GeneralRe: singly linked list Pin
Member 1306030218-Jul-17 21:13
Member 1306030218-Jul-17 21:13 
GeneralRe: singly linked list Pin
Richard MacCutchan18-Jul-17 21:41
mveRichard MacCutchan18-Jul-17 21:41 
GeneralRe: singly linked list Pin
Member 1306030218-Jul-17 21:45
Member 1306030218-Jul-17 21:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.