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

Managed C++/CLI

 
GeneralRe: Delegates in Managed C++ Pin
Member 93002214-May-04 20:10
Member 93002214-May-04 20:10 
GeneralJay Nelson's addin for C++ comment doc Pin
Michael Kairys13-May-04 3:27
Michael Kairys13-May-04 3:27 
Generaljava to C++ Pin
Gra3y12-May-04 23:41
Gra3y12-May-04 23:41 
GeneralRe: java to C++ Pin
ian mariano13-May-04 10:04
ian mariano13-May-04 10:04 
GeneralRe: java to C++ Pin
Gra3y13-May-04 16:22
Gra3y13-May-04 16:22 
GeneralRe: java to C++ Pin
ian mariano13-May-04 17:54
ian mariano13-May-04 17:54 
GeneralRe: java to C++ Pin
Gra3y14-May-04 1:31
Gra3y14-May-04 1:31 
GeneralA C++ Problem, Pin
dung_niit12-May-04 21:30
dung_niit12-May-04 21:30 
Hello everybody,
I want you to help me.
This is the question :
In dynamic polymorphism , if you had a pointer point to base class , it also can point to derived classes.
Example :
class Base {};
class Derived_1 : public Base {};
class Derived_2 : public Base {};
class Derived_3 : public Base {};
int main()
{
Base *BPtr;
int choice;
cout << "Which object do you need(1,2,or 3) ?";
cin >> choice;
switch(choice)
{
case 1: BPtr = new Derived_1(); break;
case 2: BPtr = new Derived_2(); break;
case 3: BPtr = new Derived_3(); break;
default:
cout << "Error number";
} // switch

} // main

*** In the exam above , I used switch...case control , so I want to ask you : by what way , you don't use switch...case in that exam ?????

I want to become a programmer.
GeneralRe: A C++ Problem, Pin
Maxwell Chen12-May-04 23:54
Maxwell Chen12-May-04 23:54 
GeneralLittle endian 4-byte integer in C problem with int = 10 Pin
javamanpro12-May-04 12:00
javamanpro12-May-04 12:00 
QuestionHow to get HDD fabric number? Pin
george ivanov11-May-04 22:05
george ivanov11-May-04 22:05 
QuestionHow to use Amazon Web Services.. Pin
Sumit Kapoor11-May-04 2:38
Sumit Kapoor11-May-04 2:38 
QuestionHow to use put_Picture Pin
GFABBRI10-May-04 23:38
GFABBRI10-May-04 23:38 
GeneralProblem with Pointer to a COM Method Pin
Tarundeep Singh Kalra10-May-04 3:10
Tarundeep Singh Kalra10-May-04 3:10 
GeneralProblem with COM Structs Pin
Tarundeep Singh Kalra10-May-04 3:06
Tarundeep Singh Kalra10-May-04 3:06 
Generaldebugging Interop Session Pin
Tarundeep Singh Kalra10-May-04 3:05
Tarundeep Singh Kalra10-May-04 3:05 
GeneralCOM DLL in .NET Pin
Tarundeep Singh Kalra10-May-04 3:05
Tarundeep Singh Kalra10-May-04 3:05 
GeneralUsing a Managed dll in Unmanaged code Pin
Majid Shahabfar10-May-04 0:10
Majid Shahabfar10-May-04 0:10 
GeneralRe: Using a Managed dll in Unmanaged code Pin
Axiverse14-May-04 18:27
Axiverse14-May-04 18:27 
GeneralSilly Ques. :) !!! Pin
AhmedOsamaMoh8-May-04 23:17
AhmedOsamaMoh8-May-04 23:17 
GeneralCreating DLL in visual C++.NET Pin
Emiliano8-May-04 1:58
Emiliano8-May-04 1:58 
Generalsocket Pin
Anonymous5-May-04 1:08
Anonymous5-May-04 1:08 
GeneralRe: socket Pin
toxcct5-May-04 1:46
toxcct5-May-04 1:46 
GeneralError C2296/C2297: '<<' : illegal, left/right operand Pin
reznod4-May-04 5:41
reznod4-May-04 5:41 
GeneralRe: Error C2296/C2297: '&lt;&lt;' : illegal, left/right operand Pin
reznod4-May-04 14:09
reznod4-May-04 14:09 

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.