Click here to Skip to main content
14,085,522 members

Managed C++/CLI

 
QuestionRe: create c++ dll gui and call it on c# Pin
Gerry Schmitz12-May-17 8:51
mveGerry Schmitz12-May-17 8:51 
Questionmultithread Pin
Member 1306030229-Mar-17 22:42
memberMember 1306030229-Mar-17 22:42 
AnswerRe: multithread Pin
Jochen Arndt29-Mar-17 23:55
mveJochen Arndt29-Mar-17 23:55 
GeneralRe: multithread Pin
Member 1306030229-Mar-17 23:57
memberMember 1306030229-Mar-17 23:57 
AnswerRe: multithread Pin
Munchies_Matt2-Apr-17 23:34
memberMunchies_Matt2-Apr-17 23:34 
QuestionI have OCX created in VC++ that has many functions. OCX has got some GUI. I want to use those functions in C# web application without loading OCX. i.e. I want to extract only functions from OCX. Can anyone please suggest how this can be done? Pin
Member 109266063-Mar-17 1:10
memberMember 109266063-Mar-17 1:10 
AnswerRe: I have OCX created in VC++ that has many functions. OCX has got some GUI. I want to use those functions in C# web application without loading OCX. i.e. I want to extract only functions from OCX. Can anyone please suggest how this can be done? Pin
Richard Andrew x645-Mar-17 6:06
professionalRichard Andrew x645-Mar-17 6:06 
Questionhow do I fix this Pin
girl74326-Feb-17 19:02
membergirl74326-Feb-17 19:02 
i have been trying to make create this program, it's kinda hard for me to get help in real life because I'm the only computer science student in my second semester. 

this is c++. I have to use arrays 
I have to make a program that shows grades, based on marks. The number of students depends on the user input. 

grade A >=90
grade B >=80
grade C >=70
grade D >=60
grade F <=59

based on the homework my lecturer has given me, the output has to be like this

Enter the number of students: 4
Enter 4 marks: 40 55 70 58
student 0 mark is 40 and grade is C
student 1 mark is 55 and grade is B 
student 2 mark is 70 and grade is A
student 3 mark is 58 and grade is B 

This is my code: 

#include<iostream>
using namespace std;
int main(){
int students;
int mark;
int x;
char grade[6]={'A','B','C','D','F','\0'};
cout<<"enter the number of students"<<endl;
cin>>students;
cout<<"enter "<<students<<" marks "<<endl;
for(x=0;x<students;x++){
cin>>mark;
if(mark>=90)
grade[0];
else if(mark>=80)
grade[1];
else if(mark>=70)
grade[2];
else if(mark>=60)
grade[3];
else
grade[4];

cout<<"student "<<students<<" mark is "<<mark<<" and grade is "<<grade[x];
}
}

I don't know what to do anymore. Help me

AnswerRe: how do I fix this Pin
Jochen Arndt6-Feb-17 21:18
mveJochen Arndt6-Feb-17 21:18 
AnswerRe: how do I fix this Pin
Richard MacCutchan6-Feb-17 21:35
protectorRichard MacCutchan6-Feb-17 21:35 
AnswerRe: how do I fix this Pin
Patrice T18-Feb-17 15:26
mvePatrice T18-Feb-17 15:26 
AnswerRe: how do I fix this Pin
Member 131123846-Apr-17 22:15
memberMember 131123846-Apr-17 22:15 
QuestionVC++ solution Klocwork code analysis is getting stuck Pin
Amrit Agr25-Jan-17 0:55
memberAmrit Agr25-Jan-17 0:55 
AnswerRe: VC++ solution Klocwork code analysis is getting stuck Pin
Jochen Arndt25-Jan-17 1:37
mveJochen Arndt25-Jan-17 1:37 
QuestionChannelFactory create exception Pin
Moby20-Jan-17 22:16
memberMoby20-Jan-17 22:16 
AnswerRe: ChannelFactory create exception Pin
Richard MacCutchan20-Jan-17 22:32
protectorRichard MacCutchan20-Jan-17 22:32 
GeneralRe: ChannelFactory create exception Pin
Moby26-Jan-17 6:27
memberMoby26-Jan-17 6:27 
GeneralRe: ChannelFactory create exception Pin
Richard MacCutchan26-Jan-17 6:55
protectorRichard MacCutchan26-Jan-17 6:55 
Questionc++ toolTip windowsforms graphics Pin
SuchitraAB17-Jan-17 19:53
memberSuchitraAB17-Jan-17 19:53 
AnswerRe: c++ toolTip windowsforms graphics Pin
Richard MacCutchan17-Jan-17 22:21
protectorRichard MacCutchan17-Jan-17 22:21 
GeneralRe: c++ toolTip windowsforms graphics Pin
SuchitraAB20-Jan-17 19:23
memberSuchitraAB20-Jan-17 19:23 
GeneralRe: c++ toolTip windowsforms graphics Pin
Richard MacCutchan20-Jan-17 22:20
protectorRichard MacCutchan20-Jan-17 22:20 
Questionquery Pin
Member 1291798422-Dec-16 4:51
memberMember 1291798422-Dec-16 4:51 
AnswerRe: query Pin
Jon McKee22-Dec-16 5:42
professionalJon McKee22-Dec-16 5:42 
AnswerRe: query Pin
Patrice T13-Jan-17 0:10
mvePatrice T13-Jan-17 0:10 

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.


Advertise | Privacy | Cookies | Terms of Service
Web02 | 2.8.190518.1 | Last Updated 2 May 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid