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

Managed C++/CLI

 
GeneralRe: simplifying code Pin
Ghazi Warrior22-Mar-22 19:46
Ghazi Warrior22-Mar-22 19:46 
GeneralRe: simplifying code Pin
hshan_19-Apr-22 3:35
hshan_19-Apr-22 3:35 
AnswerRe: simplifying code Pin
Craig Robbins15-Mar-22 9:25
Craig Robbins15-Mar-22 9:25 
If you were going to give descriptions of many cars then the switch/case logic is not a good choice. Each time you add another car you need to change / compile / redistribute your application. Your descriptions of cars and their features should be outside the program.

Look at the different kinds of ways that data can be stored, including but not limited to: tables, files, arrays and lists.

You want to choose one that works long term. How many different types of cars will you include? How often will you make changes including corrections, additions and deletions? How do you want to make those updates? All these ideas need to be considered before you can choose the best solution.
QuestionConvert From C# To Visual C++ 2015 Pin
Paramu197313-Dec-21 20:21
Paramu197313-Dec-21 20:21 
Rant[REPOST] Convert From C# To Visual C++ 2015 Pin
Richard Deeming13-Dec-21 21:56
mveRichard Deeming13-Dec-21 21:56 
GeneralRe: [REPOST] Convert From C# To Visual C++ 2015 Pin
Paramu197316-Dec-21 21:14
Paramu197316-Dec-21 21:14 
AnswerRe: Convert From C# To Visual C++ 2015 Pin
Richard MacCutchan13-Dec-21 21:58
mveRichard MacCutchan13-Dec-21 21:58 
GeneralRe: Convert From C# To Visual C++ 2015 Pin
Paramu197316-Dec-21 21:35
Paramu197316-Dec-21 21:35 
AnswerRe: Convert From C# To Visual C++ 2015 Pin
Dave Kreskowiak14-Dec-21 5:05
mveDave Kreskowiak14-Dec-21 5:05 
QuestionopenFileDialog - AccessViolationException was unhandled Pin
Paramu19734-Oct-21 12:28
Paramu19734-Oct-21 12:28 
AnswerRe: openFileDialog - AccessViolationException was unhandled Pin
Victor Nijegorodov5-Oct-21 21:26
Victor Nijegorodov5-Oct-21 21:26 
GeneralRe: openFileDialog - AccessViolationException was unhandled Pin
Paramu19736-Oct-21 3:17
Paramu19736-Oct-21 3:17 
QuestionConvert/cast System::Array class to List Pin
yehiga146710-Jun-21 17:51
yehiga146710-Jun-21 17:51 
AnswerRe: Convert/cast System::Array class to List Pin
Victor Nijegorodov10-Jun-21 20:27
Victor Nijegorodov10-Jun-21 20:27 
AnswerRe: Convert/cast System::Array class to List Pin
Richard Andrew x6427-Jun-21 6:52
professionalRichard Andrew x6427-Jun-21 6:52 
QuestionC# and c++/cli problem on x86 OS Pin
Duc Axenn30-May-21 10:25
Duc Axenn30-May-21 10:25 
AnswerRe: C# and c++/cli problem on x86 OS Pin
Dave Kreskowiak10-Jun-21 18:51
mveDave Kreskowiak10-Jun-21 18:51 
QuestionManaged c++ how to memcpy a handle reference Pin
yehiga146727-May-21 23:25
yehiga146727-May-21 23:25 
AnswerRe: Managed c++ how to memcpy a handle reference Pin
Victor Nijegorodov28-May-21 0:25
Victor Nijegorodov28-May-21 0:25 
GeneralRe: Managed c++ how to memcpy a handle reference Pin
yehiga146728-May-21 0:55
yehiga146728-May-21 0:55 
GeneralRe: Managed c++ how to memcpy a handle reference Pin
Victor Nijegorodov28-May-21 1:45
Victor Nijegorodov28-May-21 1:45 
GeneralRe: Managed c++ how to memcpy a handle reference Pin
Richard MacCutchan28-May-21 2:01
mveRichard MacCutchan28-May-21 2:01 
GeneralRe: Managed c++ how to memcpy a handle reference Pin
yehiga146728-May-21 2:26
yehiga146728-May-21 2:26 
AnswerRe: Managed c++ how to memcpy a handle reference Pin
Fly Gheorghe25-Jan-22 9:15
Fly Gheorghe25-Jan-22 9:15 
QuestionHow to make Serial Port static from the designer? Pin
yehiga146726-May-21 17:11
yehiga146726-May-21 17:11 

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.