Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
67 user(s) are online (57 user(s) are browsing Forums)

Members: 0
Guests: 67

more...

Support us!

Headlines

Report message:*
 

Re: signed char became unsigned ?

Subject: Re: signed char became unsigned ?
by salass00 on 2021/1/21 20:20:18

@kas1e

Whether char type defaults to signed or unsigned is and always has been platform dependent. If you require a specific type of char (signed or unsigned) you should specify it in the variable definition.

In this case:
signed char _direction = -1;


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project