0xFFu

Gast #148234
Lesenswert?

Programmcode für was? AVR-GCC? Dann würde ich drauf tippen, daß da
jemanden die Hand ausgerutscht ist :-)

Bei einer anderen Ziel Hardware will ich mich auf nichts festlegen ...
sieht aber merkwürdig aus ... hmmm unsigned ... na wohl eher nicht. Ich
denke es ist ein Tippfehler.

Cpt
Gast #148236
Lesenswert?

EIn Zitat, zwar nicht aus der GCC-Dokumentation, sondern aus der
Dokumentation eines bösen 32-Bit-Compilers aus Redmond, aber dennoch:

  "Every integer constant is given a type based on its value
  and the way it is expressed. You can force any integer
  constant to type long by appending the letter l or L
  to the end of the constant;
  you can force it to be type unsigned by appending u or U
  to the value.
  The lowercase letter l can be confused with the digit 1
  and should be avoided."

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren