Click here to Skip to main content
16,004,854 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
Generalwondering for some help Pin
Anonymous10-Sep-04 4:26
Anonymous10-Sep-04 4:26 
GeneralRe: wondering for some help Pin
Christian Graus15-Sep-04 14:35
protectorChristian Graus15-Sep-04 14:35 
GeneralC# to managed C++ Pin
sreejith ss nair9-Sep-04 22:50
sreejith ss nair9-Sep-04 22:50 
GeneralRe: C# to managed C++ Pin
BAIJUMAX9-Sep-04 23:54
professionalBAIJUMAX9-Sep-04 23:54 
Generalaccess control in a derived class Pin
void()9-Sep-04 13:33
void()9-Sep-04 13:33 
GeneralAn unhandled exception has occurred in your application Pin
Waleed Eissa9-Sep-04 9:46
Waleed Eissa9-Sep-04 9:46 
Generalhelp!!!!! fork program Pin
nivsah7-Sep-04 14:33
nivsah7-Sep-04 14:33 
GeneralHELP!!I code due tomorrow Pin
benibo7-Sep-04 13:52
benibo7-Sep-04 13:52 
Alright i have to write this code that is supposed to calculate the gardes of 10 students and output the highest average abd the student Identification number of the person with the highest average.I am stuck and so is my whole class so please help this is what i ahve so far.Please someone save my life

// This is the main project file for VC++ application project
// generated using an Application Wizard.

#include "stdafx.h"

#using <mscorlib.dll>
#include <tchar.h>

using namespace System;
char grade(int id, int t1, int t2);//function prototype
// This is the entry point for this application
int _tmain(void)
{
//declaration
char grade;
int t1,t2,tot,avg,max,high_avg_id,id,i;
max=0;
//Processing phase
for (i=1;i<=10;i++)
{
Console::WriteLine(S"Please enter your Student Id: ");
id = Int32::Parse(Console::Readline());

Console::WriteLine(S"Please enter Test one score: ");
t1 = Int32::Parse(Console::ReadLine());

Console::WriteLine(S"Please enter Test two score: ");
t2 = Int32::Parse(Console::ReadLine());

tot = t1 + t2;
avg = tot/2;

if (max < avg)
{
max = avg;
high_avg_id = id;
}
if (avg >= 90)
grade = 'A';
else
if (avg >= 80)
grade = 'B';
else
if (avg >= 70)
grade = 'C';
else
if (avg >= 60)
grade = 'D';
else
grade = 'F';
}
return 0
}
char grade
GeneralRe: HELP!!I code due tomorrow Pin
BAIJUMAX7-Sep-04 19:32
professionalBAIJUMAX7-Sep-04 19:32 
GeneralRe: HELP!!I code due tomorrow Pin
benibo12-Sep-04 10:35
benibo12-Sep-04 10:35 
GeneralRe: HELP!!I code due tomorrow Pin
BAIJUMAX12-Sep-04 19:35
professionalBAIJUMAX12-Sep-04 19:35 
GeneralRe: HELP!!I code due tomorrow Pin
benibo13-Sep-04 5:04
benibo13-Sep-04 5:04 
GeneralRe: HELP!!I code due tomorrow Pin
Christian Graus15-Sep-04 14:25
protectorChristian Graus15-Sep-04 14:25 
GeneralRe: HELP!!I code due tomorrow Pin
BAIJUMAX16-Sep-04 4:28
professionalBAIJUMAX16-Sep-04 4:28 
Question&amp;#12298;c++ template&amp;#12299;&amp;#65292;what means the following text? Pin
lzh086-Sep-04 17:20
lzh086-Sep-04 17:20 
AnswerRe: &amp;#12298;c++ template&amp;#12299;&amp;#65292;what means the following text? Pin
Christian Graus15-Sep-04 14:26
protectorChristian Graus15-Sep-04 14:26 
GeneralC++ Problem please respond Pin
jonny55555-Sep-04 22:52
jonny55555-Sep-04 22:52 
GeneralControlling services Pin
Its due when5-Sep-04 21:28
Its due when5-Sep-04 21:28 
Generalopen file Pin
kikicat4-Sep-04 20:33
kikicat4-Sep-04 20:33 
GeneralRe: open file Pin
Christian Graus15-Sep-04 14:28
protectorChristian Graus15-Sep-04 14:28 
QuestionHow to use CreateRemoteThread on every process in every windowstation ? Pin
n4_t14-Sep-04 17:41
n4_t14-Sep-04 17:41 
Generalpseudocode Pin
rapchick3-Sep-04 11:29
rapchick3-Sep-04 11:29 
QuestionHow to add a reference in VC++ Pin
kayhustle3-Sep-04 7:07
kayhustle3-Sep-04 7:07 
AnswerRe: How to add a reference in VC++ Pin
BAIJUMAX7-Sep-04 0:37
professionalBAIJUMAX7-Sep-04 0:37 
GeneralRe: How to add a reference in VC++ Pin
kayhustle7-Sep-04 16:22
kayhustle7-Sep-04 16:22 

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.