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

Managed C++/CLI

 
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 
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 
When I am writing a little endian 4 byte int for the integer value 10 it writes out 5 bytes: '0D 0A 00 00', which is an extra byte in the first position.

10 should be '0A 00 00' but no matter how I try to write it out it ends up with 0D (which is the value signed byte 13).

The program creating the file is a C program using the fwrite function:

int Total_Points_Qt;
fwrite(&Total_Points_Qt, 4, 1, File);

The value is in an integer. I have tried unsigned int as well and it does not make a difference.

The extra byte problem does not occur at the values 1-9 and goes away at 11 and does not reoccur again at any other integer value except 10.

Does anyone know why this happens?

Thanks,
Steven
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 
GeneralRe: Error C2296/C2297: '&lt;&lt;' : illegal, left/right operand Pin
cdmlb4-May-04 14:35
cdmlb4-May-04 14:35 
GeneralRe: Error C2296/C2297: '&lt;&lt;' : illegal, left/right operand Pin
reznod4-May-04 17:07
reznod4-May-04 17:07 

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.