signed variables need to be specified?

Jan 19, 2014 at 8:44pm
I'm reading a C++ book, and I'm on the part of the variables. My question is: do we need to specify a variable to signed or the compiler does it by default?

Thanks
Jan 19, 2014 at 8:48pm
have a look at the table on this page:
http://www.cplusplus.com/doc/tutorial/variables/
and the comment directly below it.
Jan 19, 2014 at 9:09pm
variables are always signed by default unless explicitly stated otherwise.
Jan 19, 2014 at 10:25pm
Thank you very much.
Topic archived. No new replies allowed.