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

Managed C++/CLI

 
GeneralRe: How to convert the following C# line? Pin
Wes Aday27-Apr-14 5:49
professionalWes Aday27-Apr-14 5:49 
QuestionRe: How to convert the following C# line? Pin
Richard MacCutchan28-Apr-14 22:33
mveRichard MacCutchan28-Apr-14 22:33 
AnswerRe: How to convert the following C# line? Pin
Paramu197330-Apr-14 9:48
Paramu197330-Apr-14 9:48 
AnswerRe: How to convert the following C# line? Pin
WuRunZhe19-Jun-14 5:48
WuRunZhe19-Jun-14 5:48 
QuestionNeed help.... Pin
Akandel22-Apr-14 8:56
Akandel22-Apr-14 8:56 
AnswerRe: Need help.... Pin
Akandel22-Apr-14 8:57
Akandel22-Apr-14 8:57 
GeneralRe: Need help.... Pin
Richard MacCutchan28-Apr-14 21:57
mveRichard MacCutchan28-Apr-14 21:57 
Questiondescribe this code Pin
mostafaghanei17-Apr-14 19:21
mostafaghanei17-Apr-14 19:21 
hi this code is a part of keecak function.
i do not undrastand what is "C[index(x-xOff)];" plz help me;
XML
template<class Lane>
void KeccakF::inverseTheta(vector<Lane>& A) const
{
    vector<Lane> C(5);
    for(unsigned int x=0; x<5; x++) {
        C[x] = A[index(x,0)];
        for(unsigned int y=1; y<5; y++){
            C[x] ^= A[index(x,y)];
        }
    }
    const LaneValue inversePositions64[5] = {
        0xDE26BC4D789AF134ULL,
        0x09AF135E26BC4D78ULL,
        0xEBC4D789AF135E26ULL,
        0x7135E26BC4D789AFULL,
        0xCD789AF135E26BC4ULL };
    vector<LaneValue> inversePositions(5, 0);
    for(unsigned int z=0; z<64; z+=laneSize)
        for(unsigned int x=0; x<5; x++)
            inversePositions[x] ^= inversePositions64[x] >> z;
    for(unsigned int z=0; z<laneSize; z++) {
        for(unsigned int xOff=0; xOff<5; xOff++)
           for(int x=0; x<5; x++)
               for(unsigned int y=0; y<5; y++)
                   if ((inversePositions[xOff] & 1) != 0)
                      A[index(x, y)] ^= C[index(x-xOff)];
        for(unsigned int xOff=0; xOff<5; xOff++) {
            ROL(C[xOff], 1);
            inversePositions[xOff] >>= 1;
        }
    }
}

AnswerRe: describe this code Pin
Richard MacCutchan17-Apr-14 22:19
mveRichard MacCutchan17-Apr-14 22:19 
AnswerRe: describe this code Pin
Munchies_Matt23-Apr-14 4:20
Munchies_Matt23-Apr-14 4:20 
QuestionNEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Akandel17-Apr-14 17:37
Akandel17-Apr-14 17:37 
AnswerRe: NEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Akandel17-Apr-14 17:40
Akandel17-Apr-14 17:40 
AnswerRe: NEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Richard MacCutchan17-Apr-14 22:15
mveRichard MacCutchan17-Apr-14 22:15 
GeneralRe: NEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Akandel18-Apr-14 5:55
Akandel18-Apr-14 5:55 
GeneralRe: NEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Richard MacCutchan18-Apr-14 6:14
mveRichard MacCutchan18-Apr-14 6:14 
GeneralRe: NEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Akandel18-Apr-14 6:59
Akandel18-Apr-14 6:59 
GeneralRe: NEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Richard MacCutchan18-Apr-14 8:19
mveRichard MacCutchan18-Apr-14 8:19 
GeneralRe: NEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Akandel18-Apr-14 8:43
Akandel18-Apr-14 8:43 
GeneralRe: NEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Richard MacCutchan18-Apr-14 8:51
mveRichard MacCutchan18-Apr-14 8:51 
QuestionNEED HELP ASAP!!!!!!! I ALREADY DID THE PROGRAM IN MAIN I JUST NEED HELP TO SEPERATE IN .CPP, .H AND MAIN Pin
Akandel17-Apr-14 17:28
Akandel17-Apr-14 17:28 
QuestionBuilding with Warning level 4 Pin
John Schroedl17-Apr-14 7:31
professionalJohn Schroedl17-Apr-14 7:31 
AnswerRe: Building with Warning level 4 Pin
John Schroedl18-Apr-14 6:22
professionalJohn Schroedl18-Apr-14 6:22 
Questionaccess functions in a DLL created in C # for borland c + + builder Pin
Willian Mathias9-Apr-14 8:03
Willian Mathias9-Apr-14 8:03 
AnswerRe: access functions in a DLL created in C # for borland c + + builder Pin
Richard Andrew x6417-Apr-14 8:59
professionalRichard Andrew x6417-Apr-14 8:59 
Questionretrieve words in a HTML page Pin
neterfari1-Apr-14 23:42
neterfari1-Apr-14 23:42 

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.