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

Managed C++/CLI

 
GeneralRe: How to trace an unhandled exception in C++ using Visual Studio 2017 Pin
Richard MacCutchan7-Dec-18 3:22
mveRichard MacCutchan7-Dec-18 3:22 
AnswerRe: How to trace an unhandled exception in C++ using Visual Studio 2017 Pin
John Schroedl5-Nov-18 5:13
professionalJohn Schroedl5-Nov-18 5:13 
Questionmeaing of below code Pin
Member 139765087-Sep-18 22:01
Member 139765087-Sep-18 22:01 
AnswerRe: meaing of below code Pin
Richard MacCutchan7-Sep-18 22:32
mveRichard MacCutchan7-Sep-18 22:32 
AnswerRe: meaing of below code Pin
Victor Nijegorodov8-Sep-18 1:07
Victor Nijegorodov8-Sep-18 1:07 
Questionc++ sms send dll Pin
Member 139765087-Sep-18 1:07
Member 139765087-Sep-18 1:07 
AnswerRe: c++ sms send dll Pin
Richard MacCutchan7-Sep-18 2:38
mveRichard MacCutchan7-Sep-18 2:38 
AnswerRe: c++ sms send dll Pin
Victor Nijegorodov8-Sep-18 1:04
Victor Nijegorodov8-Sep-18 1:04 
AnswerRe: c++ sms send dll Pin
vidhya 360 com14-Oct-18 20:38
vidhya 360 com14-Oct-18 20:38 
QuestionSharpen filter of bmp image Pin
Jakub Bartczak27-Aug-18 21:21
Jakub Bartczak27-Aug-18 21:21 
AnswerRe: Sharpen filter of bmp image Pin
Jochen Arndt27-Aug-18 22:56
professionalJochen Arndt27-Aug-18 22:56 
Questionplease explain this lines of code Pin
Hiếu Ngô2-Aug-18 18:18
Hiếu Ngô2-Aug-18 18:18 
AnswerRe: please explain this lines of code Pin
Richard MacCutchan2-Aug-18 21:47
mveRichard MacCutchan2-Aug-18 21:47 
AnswerRe: please explain this lines of code Pin
Jochen Arndt2-Aug-18 22:29
professionalJochen Arndt2-Aug-18 22:29 
NewsC++/CLI support comes to ReSharper C++ Pin
John Schroedl23-Jul-18 6:22
professionalJohn Schroedl23-Jul-18 6:22 
QuestionTo find the angle of turn in a car racing game in C++/SFML Pin
Tarun Jha21-Jul-18 23:39
Tarun Jha21-Jul-18 23:39 
AnswerRe: To find the angle of turn in a car racing game in C++/SFML Pin
John Schroedl23-Jul-18 6:41
professionalJohn Schroedl23-Jul-18 6:41 
GeneralRe: To find the angle of turn in a car racing game in C++/SFML Pin
Tarun Jha25-Jul-18 7:36
Tarun Jha25-Jul-18 7:36 
QuestionSmall RAII-like cleanup class in C++/CLI Pin
John Schroedl15-Jun-18 9:08
professionalJohn Schroedl15-Jun-18 9:08 
QuestionInformation Edit Source code for c++ Pin
Member 1165875229-May-18 19:48
Member 1165875229-May-18 19:48 
AnswerRe: Information Edit Source code for c++ Pin
Richard MacCutchan29-May-18 21:05
mveRichard MacCutchan29-May-18 21:05 
AnswerRe: Information Edit Source code for c++ Pin
Jochen Arndt30-May-18 2:55
professionalJochen Arndt30-May-18 2:55 
I'm not going to write the complete edit function for you. But you already have most of the parts because editing can be implemented by selecting, reading, entering new data, deleting the old record, and inserting the edited data.

Quote:
Also it does not going back to main menu after adding a record.
Never call main() from within your code as done here in the record() function:
if (choice2=='n'||choice2=='N')
{
    system("cls");
    main();
}
Just return from the function (simply delete the above code block). Then execution continues after the function call in main(). Similar for the other functions where you call main() too.

To process the next operation you have to implement a loop in main() that gets and processes the next choice until the exit option is selected:
C++
do
{
    printf("\nEnter your Choice here \t");
    scanf("%i",&choice);
    fflush(stdin);
    switch (choice)
    {
        // ...
    }
    system("cls");
} while (choice != 5);

Note also that this the wrong forum because this is about Managed C++/CLI as stated in the topmost (sticky) post. Please use the C / C++ / MFC Discussion Boards[^] or Ask a Question for further C/C++ related questions where the latter is the better choice when posting larger amounts of code (which should be avoided).
QuestionError On a Project I'm Working On. (Sorry If Not descriptive enough, 1st time) Pin
CyberFaggot9-May-18 15:53
CyberFaggot9-May-18 15:53 
AnswerRe: Error On a Project I'm Working On. (Sorry If Not descriptive enough, 1st time) Pin
Richard MacCutchan11-May-18 21:19
mveRichard MacCutchan11-May-18 21:19 
QuestionPrint causes in afxtls.cpp Pin
Erich Ruth19-Apr-18 5:37
Erich Ruth19-Apr-18 5:37 

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.