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

Managed C++/CLI

 
AnswerRe: JPEG to Grayscale conversion Pin
Christian Graus2-Nov-07 19:18
protectorChristian Graus2-Nov-07 19:18 
Questionhow to use code using C++ for splash screen display Pin
yolmo1-Nov-07 3:04
yolmo1-Nov-07 3:04 
AnswerRe: how to use code using C++ for splash screen display Pin
Mark Salsbery1-Nov-07 11:21
Mark Salsbery1-Nov-07 11:21 
QuestionNoob help in c programming need!! Pin
cue_ball30-Oct-07 21:23
cue_ball30-Oct-07 21:23 
AnswerRe: Noob help in c programming need!! Pin
Luc Pattyn31-Oct-07 0:21
sitebuilderLuc Pattyn31-Oct-07 0:21 
QuestionInherited forms troubles [modified] Pin
Xpnctoc30-Oct-07 9:29
Xpnctoc30-Oct-07 9:29 
Questionlate binding Pin
Sonia Gupta29-Oct-07 19:32
Sonia Gupta29-Oct-07 19:32 
AnswerRe: late binding Pin
Mark Salsbery30-Oct-07 8:18
Mark Salsbery30-Oct-07 8:18 
Sonia Gupta wrote:
i was trying to call the functio of class a though the object of class b.
the above syntax is right?


No.

It shouldn't even compile.

You cannnot do this:
bb *ptr;

bb is not a type, it's a variable of a type.  You can declare and initialize a
b pointer, however:

b *ptr;
ptr = &bb;


There is no association between your a class and your b class so
you cannot assign the address of an a object to a pointer to a b object.
This will NOT work:

a aa;
b bb;
b *ptr;
ptr = &bb;
ptr = &aa;  <-- Wrong!  Won't compile!


Please post your Non-managed C++ questions on the correct board!
(that would be the Visual C++/MFC Board[^])

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

Questionhow to read an PNG file using c and Process it Pin
googlejumbo29-Oct-07 18:05
googlejumbo29-Oct-07 18:05 
AnswerRe: how to read an PNG file using c and Process it Pin
Christian Graus29-Oct-07 23:38
protectorChristian Graus29-Oct-07 23:38 
QuestionReading/displaying Image in raw format Pin
Raza568029-Oct-07 12:50
Raza568029-Oct-07 12:50 
AnswerRe: Reading/displaying Image in raw format Pin
Mark Salsbery29-Oct-07 13:37
Mark Salsbery29-Oct-07 13:37 
GeneralRe: Reading/displaying Image in raw format Pin
Raza568029-Oct-07 13:49
Raza568029-Oct-07 13:49 
QuestionRunning Managed Code Pin
CodeWolf)29-Oct-07 4:43
CodeWolf)29-Oct-07 4:43 
GeneralRe: Running Managed Code Pin
TJoe29-Oct-07 5:31
TJoe29-Oct-07 5:31 
QuestionNamed pipes drive me crazy... [modified] Pin
Andrewfx29-Oct-07 1:01
Andrewfx29-Oct-07 1:01 
AnswerRe: Named pipes drive me crazy... Pin
Andrewfx29-Oct-07 22:45
Andrewfx29-Oct-07 22:45 
QuestionAbout global namespace in cwchar.h Pin
minihotto28-Oct-07 22:35
minihotto28-Oct-07 22:35 
AnswerRe: About global namespace in cwchar.h [modified] Pin
George L. Jackson29-Oct-07 1:21
George L. Jackson29-Oct-07 1:21 
GeneralRe: About global namespace in cwchar.h Pin
minihotto5-Nov-07 22:52
minihotto5-Nov-07 22:52 
QuestionCreation of class Objects Pin
achichandu28-Oct-07 22:30
achichandu28-Oct-07 22:30 
AnswerRe: Creation of class Objects Pin
George L. Jackson29-Oct-07 1:28
George L. Jackson29-Oct-07 1:28 
Questionboyer-moore alogritim for seraching hex values Pin
aamir ali28-Oct-07 22:27
aamir ali28-Oct-07 22:27 
AnswerRe: boyer-moore alogritim for seraching hex values Pin
George L. Jackson29-Oct-07 1:31
George L. Jackson29-Oct-07 1:31 
QuestionRegarding TreeView Control Pin
achichandu28-Oct-07 22:16
achichandu28-Oct-07 22:16 

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.