Signed integer representation in memory

I know three ways of representing integers in memory: sign magnitude representation, one's complement representation and two's compliment representation. But which method is used in c++ to represent integers? Thanks in advance for your help.
C++ uses the way used by the machine on which the program is running on ( on modern computers is likely to be 2's complement )
Thanks bazzy
In other words, C++ does not doesn't have a standard way to do that, it's up to the compiler and machine.
Topic archived. No new replies allowed.