Click here to Skip to main content
15,919,749 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionNeed to execute an Exe when a service starts Pin
krishnan.s3-Dec-08 20:42
krishnan.s3-Dec-08 20:42 
AnswerRe: Need to execute an Exe when a service starts Pin
YoungJin Shin3-Dec-08 23:56
YoungJin Shin3-Dec-08 23:56 
AnswerRe: Need to execute an Exe when a service starts Pin
Vincen Wang4-Dec-08 18:42
Vincen Wang4-Dec-08 18:42 
QuestionSetting Property Page edit box data Pin
koumodaki3-Dec-08 18:55
koumodaki3-Dec-08 18:55 
QuestionRe: Setting Property Page edit box data Pin
David Crow4-Dec-08 2:53
David Crow4-Dec-08 2:53 
Questionhow to calculate two's complement of two or more one byte sized hexadecimal numbers ? Pin
kapardhi3-Dec-08 18:39
kapardhi3-Dec-08 18:39 
AnswerRe: how to calculate two's complement of two or more one byte sized hexadecimal numbers ? Pin
YoungJin Shin3-Dec-08 19:12
YoungJin Shin3-Dec-08 19:12 
AnswerRe: how to calculate two's complement of two or more one byte sized hexadecimal numbers ? Pin
Cedric Moonen3-Dec-08 20:32
Cedric Moonen3-Dec-08 20:32 
kapardhi wrote:
Now what is the easiest way to caculate 2's complement of the above?


kapardhi wrote:
add all the numbers in binary fomat


Confused | :confused: I don't understand. You want to add all the numbers and then calculate 2's complement ? Or you want to calculate the 2's complement of each number ?


kapardhi wrote:
but how to add them in binary format ??


There's no such thing as a binary number. A number is a number and is independant of the way you represent it. If you have integers, then those are integers. You can display them to the user in decimal format, binary format, hexa format, ... but the integer values are still the same.

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

AnswerRe: how to calculate two's complement of two or more one byte sized hexadecimal numbers ? Pin
CPallini3-Dec-08 21:36
mveCPallini3-Dec-08 21:36 
AnswerRe: how to calculate two's complement of two or more one byte sized hexadecimal numbers ? Pin
Stuart Dootson3-Dec-08 23:46
professionalStuart Dootson3-Dec-08 23:46 
GeneralRe: how to calculate two's complement of two or more one byte sized hexadecimal numbers ? Pin
David Crow4-Dec-08 2:59
David Crow4-Dec-08 2:59 
GeneralRe: how to calculate two's complement of two or more one byte sized hexadecimal numbers ? Pin
Stuart Dootson4-Dec-08 3:10
professionalStuart Dootson4-Dec-08 3:10 
GeneralRe: how to calculate two's complement of two or more one byte sized hexadecimal numbers ? Pin
David Crow4-Dec-08 3:15
David Crow4-Dec-08 3:15 
GeneralRe: how to calculate two's complement of two or more one byte sized hexadecimal numbers ? Pin
Stuart Dootson4-Dec-08 3:41
professionalStuart Dootson4-Dec-08 3:41 
GeneralRe: how to calculate two's complement of two or more one byte sized hexadecimal numbers ? Pin
David Crow4-Dec-08 3:58
David Crow4-Dec-08 3:58 
Questioni want to integrate ms word in my asp.net web application Pin
gssdotnet3-Dec-08 18:08
gssdotnet3-Dec-08 18:08 
AnswerRe: i want to integrate ms word in my asp.net web application Pin
Hans Dietrich3-Dec-08 18:12
mentorHans Dietrich3-Dec-08 18:12 
AnswerRe: i want to integrate ms word in my asp.net web application Pin
Hamid_RT3-Dec-08 18:32
Hamid_RT3-Dec-08 18:32 
QuestionHelp in making italic a static field Pin
tasumisra3-Dec-08 17:44
tasumisra3-Dec-08 17:44 
AnswerRe: Help in making italic a static field Pin
Hamid_RT3-Dec-08 18:04
Hamid_RT3-Dec-08 18:04 
GeneralRe: Help in making italic a static field Pin
tasumisra3-Dec-08 19:26
tasumisra3-Dec-08 19:26 
GeneralRe: Help in making italic a static field Pin
Hamid_RT3-Dec-08 19:38
Hamid_RT3-Dec-08 19:38 
QuestionProgram for Active directory, compile error Pin
eth0q3-Dec-08 14:23
eth0q3-Dec-08 14:23 
QuestionA Question about Virtual Functions Pin
BobInNJ3-Dec-08 12:33
BobInNJ3-Dec-08 12:33 
AnswerRe: A Question about Virtual Functions Pin
Maximilien3-Dec-08 12:42
Maximilien3-Dec-08 12: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.