The binary number $1000111$ converted in decimal is equal to $71$ or to $-71$? The binary number has $1$ as the first left number so I thought it could mean that in decimal it is negative.
Also, the two's complement of $1000111$ is $0111001$. $0111001$ is equal to $57$ or $-57$?
I hope someone can clarify this for me.
"The binary number has 1 as the first left number so I thought it could mean that in decimal it is negative. "
Why would you think that?
We can make up any rules to for what the terms in a binary string mean that we want. We can make the increasing powers of two be increasing right to left or left to right or interspersing in odd vs even places.
So it wouldn't surprise me if there is some programming convention that to represent negative numbers if the leftmost digit is $1$. If heard of conventions where the the strings $00000000$ to $01111111$ represent the numbers $0$ to $127$ whereas $10000000$ to $11111111$ represent the numbers from $-128$ to $-1$.
I have never heard of a system where $01$ represents $1$ and $1$ represents $-1$ and $011$ represents $3$ while $11$ represent $-3$ and $01000111$ represents $71$ while $1000111 but such a system could exist and would be consistent.
But as far as MATHEMATICS goes, the rule is simply that the powers of $2$ increase for right to left and $1000111=01000111$ is $71$ and there is no way to represent negatives except with a negative sign.
So, what programming convention are you using.