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

Managed C++/CLI

 
GeneralRe: __gc* equivalent in VC++ 2005 Pin
Nish Nishant28-Jan-06 2:22
sitebuilderNish Nishant28-Jan-06 2:22 
GeneralRe: __gc* equivalent in VC++ 2005 Pin
George L. Jackson3-Feb-06 8:55
George L. Jackson3-Feb-06 8:55 
GeneralRe: __gc* equivalent in VC++ 2005 Pin
engsrini3-Feb-06 19:36
engsrini3-Feb-06 19:36 
QuestionShare permissions Pin
kelprinc23-Jan-06 21:10
kelprinc23-Jan-06 21:10 
QuestionConvert Binary File to Text File in C++ Pin
PremalathaP23-Jan-06 19:12
PremalathaP23-Jan-06 19:12 
AnswerRe: Convert Binary File to Text File in C++ Pin
Cedric Moonen23-Jan-06 20:54
Cedric Moonen23-Jan-06 20:54 
AnswerRe: Convert Binary File to Text File in C++ Pin
gecool30-Jan-06 23:44
gecool30-Jan-06 23:44 
Questionsome help with a simple project Pin
vertig073023-Jan-06 6:16
vertig073023-Jan-06 6:16 
This program converts a .bin to a readable file but it also increase the overall size(not good) any help or ideas.


#include "stdafx.h"

#using <mscorlib.dll>

using namespace System;

int _tmain()

{


unsigned char a1[16];
unsigned char a2[16];
unsigned int tempWRITE;
//FILE *in = fopen("c:/test.bin","r");
FILE *in = fopen("c:/test.bin","rb");
FILE *out = fopen("c:/new.txt","w");
while(!feof(in)) {
fread(a1,1,16,in);
a2[0] = a1[3];
a2[1] = a1[2];
a2[2] = a1[1];
a2[3] = a1[0];
a2[4] = a1[5];
a2[5] = a1[6];
a2[6] = a1[4];
a2[7] = a1[7];
a2[8] = a1[9];
a2[9] = a1[11];
a2[10] = a1[8];
a2[11] = a1[10];
a2[12] = a1[14];
a2[13] = a1[12];
a2[14] = a1[15];
a2[15] = a1[13];
fwrite(a2,1,16,out);
}

fclose(in);
fclose(out);
return 0;
}





1. Out of clutter, find simplicity.
2. From discord, find harmony.
3. In the middle of difficulty lies opportunity.

Albert Einstein
three rules of work
QuestionSet default namespace Pin
Ariston Darmayuda23-Jan-06 3:58
Ariston Darmayuda23-Jan-06 3:58 
AnswerRe: Set default namespace Pin
Michael Dunn23-Jan-06 7:40
sitebuilderMichael Dunn23-Jan-06 7:40 
AnswerRe: Set default namespace Pin
Saksida Bojan23-Jan-06 11:01
Saksida Bojan23-Jan-06 11:01 
AnswerRe: Set default namespace Pin
Ariston Darmayuda23-Jan-06 17:06
Ariston Darmayuda23-Jan-06 17:06 
GeneralRe: Set default namespace Pin
Saksida Bojan23-Jan-06 20:49
Saksida Bojan23-Jan-06 20:49 
QuestionManaged extensions on the LAN? Pin
IlanTal23-Jan-06 1:20
IlanTal23-Jan-06 1:20 
AnswerRe: Managed extensions on the LAN? Pin
S Douglas24-Jan-06 22:11
professionalS Douglas24-Jan-06 22:11 
GeneralRe: Managed extensions on the LAN? Pin
IlanTal24-Jan-06 22:24
IlanTal24-Jan-06 22:24 
GeneralRe: Managed extensions on the LAN? Pin
S Douglas24-Jan-06 22:34
professionalS Douglas24-Jan-06 22:34 
AnswerRe: Managed extensions on the LAN? Pin
S Douglas24-Jan-06 22:16
professionalS Douglas24-Jan-06 22:16 
GeneralRe: Managed extensions on the LAN? Pin
IlanTal24-Jan-06 22:52
IlanTal24-Jan-06 22:52 
GeneralRe: Managed extensions on the LAN? Pin
S Douglas24-Jan-06 23:04
professionalS Douglas24-Jan-06 23:04 
QuestionCompiled help via the LAN? Pin
IlanTal23-Jan-06 1:19
IlanTal23-Jan-06 1:19 
AnswerRe: Compiled help via the LAN? Pin
S Douglas24-Jan-06 20:28
professionalS Douglas24-Jan-06 20:28 
GeneralRe: Compiled help via the LAN? Pin
IlanTal24-Jan-06 21:10
IlanTal24-Jan-06 21:10 
GeneralRe: Compiled help via the LAN? Pin
S Douglas24-Jan-06 21:38
professionalS Douglas24-Jan-06 21:38 
GeneralRe: Compiled help via the LAN? Pin
IlanTal24-Jan-06 21:58
IlanTal24-Jan-06 21:58 

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.