Hello! I was following a tutorial on YouTube from a guy called 'Thenewboston'. I finished his tutorials about a week ago and thought I knew all I needed to know about C++. But the other day I saw on the SFML website (I want to get into game development using SFML and OpenGL and C++) the were talking about signed and unsigned. What does this mean? Should 'Thenewboston' have covered it? It is a fundamental part of C++? Thanks for any help at all!
Signed variables allow for signed (negative) numbers. They do this by marking the highest bit as "negative".
Unsigned variables use all available bits for positive number representation, which means they cannot contain negative numbers, but can contain a higher maximum than their signed counter parts.
Examples... some variable types, and their minimum..maximum