Click here to Skip to main content
14,331,865 members

Managed C++/CLI

 
GeneralRe: Is it possible to create something invisible to a human eye Pin
MCSIDevelopers20-Aug-16 12:46
memberMCSIDevelopers20-Aug-16 12:46 
GeneralRe: Is it possible to create something invisible to a human eye Pin
Richard MacCutchan20-Aug-16 20:41
protectorRichard MacCutchan20-Aug-16 20:41 
QuestionString concatenation using operator overloading Pin
kinderu4-Aug-16 0:32
memberkinderu4-Aug-16 0:32 
QuestionRe: String concatenation using operator overloading Pin
Richard MacCutchan4-Aug-16 1:17
protectorRichard MacCutchan4-Aug-16 1:17 
AnswerRe: String concatenation using operator overloading Pin
KarstenK29-Nov-16 5:58
mveKarstenK29-Nov-16 5:58 
QuestionNeed help with managed C++ dll so unmanaged C++ program can use third party c# dll Pin
garyflet18-Jul-16 10:46
membergaryflet18-Jul-16 10:46 
AnswerRe: Need help with managed C++ dll so unmanaged C++ program can use third party c# dll Pin
garyflet19-Jul-16 5:58
membergaryflet19-Jul-16 5:58 
QuestionInheritance classes Pin
kinderu16-Jul-16 10:10
memberkinderu16-Jul-16 10:10 
I have the following code.
Why does not my x is displayed.
I do not understand, X is returned by the getX() function wich is called from the derived class SecondClass() through an object of type FirstClass().
Initialization of X was done using constructor function FirstClass(int x).
I did not want to use the initialization function like setX ().


#include <iostream>
using namespace std;

class FirstClass
{
private:
    int x;
public:
    FirstClass()
    {
        cout << "\n Default constructor FirstClass()." << endl;
    }
    FirstClass(int x)
    {
        cout << "\n Constructor FirstClass()." << endl;
        this->x = x;
        cout << "\n X = " << x << endl;
    }
    int getX()
    {
        return x;
    }
};

class SecondClass:protected FirstClass
{
private:
    int y;
public:
    SecondClass(int x):FirstClass(x)
    {
        cout << "\n Constructor SecondClass()." << endl;
    }
    void printX(FirstClass& obj)
    {
        cout << "\n X = " << obj.getX() << endl;
    }
};

int main()
{
    FirstClass box1;
    SecondClass box2(100);
    box2.printX(box1);
    return 0;
}

AnswerRe: Inheritance classes Pin
Richard MacCutchan16-Jul-16 21:18
protectorRichard MacCutchan16-Jul-16 21:18 
Questionextract audio from video Pin
Member 1223658412-Jul-16 2:38
memberMember 1223658412-Jul-16 2:38 
AnswerRe: extract audio from video Pin
Richard MacCutchan12-Jul-16 5:28
protectorRichard MacCutchan12-Jul-16 5:28 
QuestionIn Microsoft Visual C++ how to use sub threads to achieve similar CListCtrl ? Pin
zhaoshan313@163.com29-Jun-16 3:50
memberzhaoshan313@163.com29-Jun-16 3:50 
QuestionI need the quick response on the AES code in C++ Pin
Member 1221638017-Jun-16 5:56
memberMember 1221638017-Jun-16 5:56 
Rant[REPOST] I need the quick response on the AES code in C++ Pin
Richard Deeming17-Jun-16 12:39
mveRichard Deeming17-Jun-16 12:39 
GeneralRe: [REPOST] I need the quick response on the AES code in C++ Pin
Member 1221638018-Jun-16 21:38
memberMember 1221638018-Jun-16 21:38 
GeneralRe: [REPOST] I need the quick response on the AES code in C++ Pin
Richard MacCutchan19-Jun-16 21:36
protectorRichard MacCutchan19-Jun-16 21:36 
GeneralRe: [REPOST] I need the quick response on the AES code in C++ Pin
Member 122163806-Jul-16 3:40
memberMember 122163806-Jul-16 3:40 
GeneralRe: [REPOST] I need the quick response on the AES code in C++ Pin
Richard MacCutchan6-Jul-16 4:00
protectorRichard MacCutchan6-Jul-16 4:00 
AnswerRe: I need the quick response on the AES code in C++ Pin
Taiming J4-Sep-16 23:11
memberTaiming J4-Sep-16 23:11 
QuestionAES code implementation in C++ Pin
Member 122163806-Jun-16 1:56
memberMember 122163806-Jun-16 1:56 
AnswerRe: AES code implementation in C++ Pin
Jochen Arndt6-Jun-16 2:10
mveJochen Arndt6-Jun-16 2:10 
GeneralRe: AES code implementation in C++ Pin
Member 122163806-Jun-16 2:33
memberMember 122163806-Jun-16 2:33 
GeneralRe: AES code implementation in C++ Pin
Jochen Arndt6-Jun-16 2:42
mveJochen Arndt6-Jun-16 2:42 
GeneralRe: AES code implementation in C++ Pin
Jochen Arndt6-Jun-16 3:41
mveJochen Arndt6-Jun-16 3:41 
QuestionHow to perform Expression Evaluation in C++ Pin
Member 1239950317-Mar-16 8:22
memberMember 1239950317-Mar-16 8: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.